Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#699 closed defect (fixed)

MapGuide Maestro gets CPU usage to 100%

Reported by: kalxas Owned by: jng
Priority: major Milestone:
Component: OSGeoLive Keywords: 4.5 RC1
Cc: live-demo@…

Description

MapGuide Maestro gets CPU usage to 100% even after closing the application.

Change history (8)

comment:1 by jng, 13 years ago

Owner: changed from live-demo@… to jng

comment:2 by jng, 13 years ago

I've made an umbrella ticket under the mapguide trac:

http://trac.osgeo.org/mapguide/ticket/1624

If you have any additional info, please add here or under the umbrella ticket

comment:3 by jng, 13 years ago

Cross post from the umbrella ticket:

The CPU usage is most likely due to the limited thread pool size in Mono's implementation

See: http://www.mono-project.com/ThreadPool_DeadLocks

I fired up a shell on the Live DVD and ran:

export MONO_THREADS_PER_CPU=2000

and then

mono Maestro.exe

Upon exiting, the 100% CPU usage was no longer observable and top does not show zombie mono processes eating up the CPU.

So the solution would be to modify the shortcut to export MONO_THREADS_PER_CPU=2000

comment:4 by kalxas, 13 years ago

I tried this solution and works in general. But then, when I pressed Cancel on the login screen, it happens again.

comment:5 by jng, 13 years ago

Ok, I think I figured it out. Mono doesn't like the fact that I am closing the main form as it is loading.

I've uploaded an updated deb package with the attached fixes applied:

http://trac.osgeo.org/mapguide/ticket/1624

here:

http://download.osgeo.org/mapguide/releases/2.2.0/Beta/mapguideopensource-maestro_2.0.0-4650_i386.deb

From what I gather this is where the LiveDVD build scripts will download from this location when building the VM. Is this the case?

comment:6 by jng, 13 years ago

Ok I got confirmation that this is indeed the download location the LiveDVD build scripts will fetch from.

This deb should resolve this issue and the one in #687. The MONO_THREADS_PER_CPU fix may or may not be required.

comment:7 by kalxas, 13 years ago

Resolution: fixed
Status: newclosed

I reinstalled Maestro and the problem in fixed. Thank you jng for this fix.

comment:8 by hamish, 11 years ago

Cc: live-demo@… added

please move the ML email addr from the owner field if you take ownership of a ticket

Note: See TracTickets for help on using tickets.