Re: Running profiler with mono-service

Rodrigo Kumpera <[email protected]>
Newsgroups gmane.comp.gnome.mono.general
Message-ID <CACmR+BA6+KK00CoFgXxrELh=XK3bBjjBQbDo+DnEJ=jKkZ8d2Q@mail.gmail.com>
You say it's crashing, how exactly? Any logs, stacktraces?

On Tue, Nov 17, 2015 at 3:41 AM, john jacob <[email protected]> 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  -  [email protected]
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.