[Mono-list] Running profiler with mono-service

john jacob john.kj1984 at gmail.com
Tue Nov 17 08:41:47 UTC 2015


Hi,
I have a mono-service which is taking a lot of CPU cycles (almost 100%)
when ran under load. I am trying to run the mono log profiler to corner the
issue, but couldn't do that successfully. What should be the exact command
I should use?

i tried setting the MONO_OPTIONS=--profile=log:sample in the environment
settings , but didn't take effect and no output.mlpd file is created.

My service is started with a shell script and if I export
MONO_OPTIONS=--profile=log:sample from the shell script , then the file
output.mlpd is created but the mono-service is crashing.

mono-service -l:lock MyService.exe 1> /dev/null

Mono Version : 4.0.5
OS: CentOS 7, 64 bit

Any help is appreciated.

Thanks in Advance,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20151117/59ad11e8/attachment.html>


More information about the Mono-list mailing list