[Mono-dev] CPU usage is higher when i kill my user service (Used Mono-Service2 to run service as a background service))

srinin srinivas.nangunoori at ironmountain.com
Tue Mar 8 02:19:58 EST 2011


I am writing a simple windows service and want to run in mac using
Mono-Service2. Following steps i am doing in mac to run service(Service
developed in windows using .net 3.5)

>> 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.

Regards
Srini

--
View this message in context: http://mono.1490590.n4.nabble.com/CPU-usage-is-higher-when-i-kill-my-user-service-Used-Mono-Service2-to-run-service-as-a-background-se-tp3340766p3340766.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list