[Mono-list] Running profiler with mono-service

Rodrigo Kumpera kumpera at gmail.com
Wed Nov 18 06:51:36 UTC 2015


You say it's crashing, how exactly? Any logs, stacktraces?

On Tue, Nov 17, 2015 at 3:41 AM, john jacob <john.kj1984 at gmail.com> wrote:

> 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
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20151118/46aaf309/attachment.html>


More information about the Mono-list mailing list