[mapguide-users] Page Faults

BenoitBegin bbegin at geomapgis.ca
Tue Mar 11 08:55:30 EDT 2008


Well I'm replying to my own thread to add some details about this issue. I've
attached an image of the production server we are using and the windows
processes that are running. As you can see, Mapguide is well into the 500
million page faults. It's been running the little program for a little over
8 hours. The MGOSClient.exe process (bad name, I know) is doing nothing but
calling MgTileService.GetTile() in a loop in a Background Worker Thread and
reporting its progress. Yet that too has a ton of page faults. Simply
commenting out the GetTile() call to Mapguide will stop this.

Is there a problem with the .NET API in general for mapguide? Should we be
using either C++ or PHP when developing against mapguide?


BenoitBegin wrote:
> 
> I was wondering if there was anything special that needs to be done when
> using Mapguide 1.2 with base layers and tiling? Under that setup, I
> consistently get over 40 million page faults for the mgserver.exe process
> over a 4 hour period of usage.
> 
> While a page fault might not be catastrophic, Mapguide is also painfully
> slow. The machine running Mapguide has 2 Gigs of RAM and a dual core CPU.
> There is no reason for Mapguide to generate so many page faults. Is there
> anything in the Mapguide settings that needs to be set so that I can
> improve its memory management perfomance and stop getting so many page
> faults?
> 
> In addition, I have developed a small application that pre-builds the
> tilecache by just using the Rendering Service and getting the tiles at the
> proper Row/Col index. This application has been running on our production
> servers for the last 16 hours and the mgserver.exe is now at a huge 750
> million Page Faults. The memory usage has also been steadily climbing and
> it went from 75 megs to 200 megs over those 16 hours. The server has been
> doing nothing but serve tiles. So I very likely leaked a little more than
> 100 megs in 16 hours. That seems a bit excessive.
> 
http://www.nabble.com/file/p15976492/mgos_pagefaults.gif 
-- 
View this message in context: http://www.nabble.com/Page-Faults-tp15836139s16610p15976492.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list