[Mono-dev] CPU usage is higher when i kill my user service (Used Mono-Service2 to run service as a background service))
srinivas.nangunoori at ironmountain.com
Tue Mar 8 02:18:15 EST 2011
I am writing a simple windows service and want to run in mac using
Mono-Service. Following steps i am doing in mac to run service
>> mono-service2 MyServiceName.exe
// i am able to see my service in activity monitor
>> kill -USR1 `cat /tmp/MyServiceName.exe.lock`
>> kill -USR2 `cat /tmp/MyServiceName.exe.lock`
>> kill `cat /tmp/MyServiceName.exe.lock` // Want end my service
But here i am observing % CPU time is more than 99%.
Can any one help me in solve this problem.
View this message in context: http://mono.1490590.n4.nabble.com/How-to-run-C-DotNet-2-x-windows-service-on-Mac-OS-X-tp1536073p3340761.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list