Running profiler with mono-service
john jacob <[email protected]>
| Newsgroups | gmane.comp.gnome.mono.general |
|---|---|
| Message-ID | <CAOoFbVc_a+_KKjLaGGpga61x=MkAQT51vtk=C9es5mN8BDZacw@mail.gmail.com> |
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