Mono 100% CPU Usage

Having problems with the panel? Have questions? Post here!
Masher
Site Admin
Posts: 3612
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: Mono 100% CPU Usage

Post by Masher »

Ok, still looking into this...
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.

NEW Join our Discord!
AccelerateServers
Posts: 74
Joined: Mon Mar 02, 2015 4:21 pm

Re: Mono 100% CPU Usage

Post by AccelerateServers »

What changed from my last version to this one?
Masher
Site Admin
Posts: 3612
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: Mono 100% CPU Usage

Post by Masher »

Haven't forgotten about this, haven't had a chance to, but will tonight.
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.

NEW Join our Discord!
Masher
Site Admin
Posts: 3612
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: Mono 100% CPU Usage

Post by Masher »

OK, edit your start.sh script for the monitor.

Change your mono-service ugccmonsvc.exe line to

Code: Select all

MONO_OPITONS="--debug --profile=log" mono-service ugccmonsvc.exe
Restart the monitor, let it run until you hit 100% CPU usage (profiling will increase CPU usage, so if you can't tell just let it for a couple of minutes). Stop monitor. Run

Code: Select all

mprof-report output.mlpd > accmon.log 
Email or PM me the accmon.log file.

I haven't been able to reproduce this. But I did run into multiple copies of TF2 starting and believe I have a fix. Will get an update for that out you soon.
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.

NEW Join our Discord!
AccelerateServers
Posts: 74
Joined: Mon Mar 02, 2015 4:21 pm

Re: Mono 100% CPU Usage

Post by AccelerateServers »

I followed your instructions but it did not produce the output.mlpd file. Here is what is in the accmon.log: Cannot open file: output.mlpd
Masher
Site Admin
Posts: 3612
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: Mono 100% CPU Usage

Post by Masher »

Did you stop the monitor before trying the mprof-report command?
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.

NEW Join our Discord!
AccelerateServers
Posts: 74
Joined: Mon Mar 02, 2015 4:21 pm

Re: Mono 100% CPU Usage

Post by AccelerateServers »

Yes.

I thought output.mlpd was generated when the script was started? Either way, it isn't. Ive tried the following two scripts in my start.sh:

Code: Select all

#!/bin/sh
LD_LIBRARY_PATH=".:bin:$LD_LIBRARY_PATH"
MONO_OPITONS="--debug --profile=log" mono-service2 ugccmonsvc.exe

Code: Select all

#!/bin/sh
LD_LIBRARY_PATH=".:bin:$LD_LIBRARY_PATH"
MONO_OPITONS="--debug --profile=log" mono-service ugccmonsvc.exe
(note one has mono-service and the other has mono-service2 which neither produce output.mlpd)
AccelerateServers
Posts: 74
Joined: Mon Mar 02, 2015 4:21 pm

Re: Mono 100% CPU Usage

Post by AccelerateServers »

We noticed the OPTIONS was spelled wrong-- I have fixed it and it is working now. I PM'd you my accmon.log output.
Masher
Site Admin
Posts: 3612
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: Mono 100% CPU Usage

Post by Masher »

Sorry, I was half asleep when I posted.
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.

NEW Join our Discord!
Masher
Site Admin
Posts: 3612
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: Mono 100% CPU Usage

Post by Masher »

I don't see a PM from you. If you're having trouble attaching it you can email it to me: http://www.brainless.us/contact.aspx
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.

NEW Join our Discord!
Post Reply