[mapguide-users] excessive slowness in server response (on linux)

Bruce Dechant bruce.dechant at autodesk.com
Mon Nov 12 12:38:16 EST 2007


The excessive error messages are because you have built the "Debug" server which does run slower and those messages are helpful for developers.
The "Release" build of the code doesn't do that and is much quicker.

To do a release build use the following:

./configure --enable-optimized

instead of just

./configure

Thanks,
Bruce



-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of François Van Der Biest
Sent: November 12, 2007 2:35 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] excessive slowness in server response (on linux)

By launching mgserver.sh in the console, all error and debug messages
were displayed in it.
This was the reason for the observed excessive slowness.

The solution was to pipe all output to /dev/null, like that :
./mgserver.sh > /dev/null 2>&1

I just edited the ubuntu 7.04 compilation guide on the wiki.
Thank's for the anonymous helping hand ;-)

F.


François Van Der Biest wrote:
> Hi all,
>
> Having successfully built Mg on a minimal Ubuntu system, I'm now
> trying to add some basic data using the webstudio app, but I find
> everything operates very slowly.
>
> For instance, it took at least 20 seconds for the server to respond to
> this basic request :
> http://localhost:8008/mapguide/mapagent/mapagent.fcgi?OPERATION=ENUMERATERESOURCES&VERSION=1.0.0&LOCALE=en&RESOURCEID=Library://&TYPE=&DEPTH=-1
>
>
> During that time, the console in which I launched the server process
> showed many lines like this one :
>
> (6985|3022325456) MgClientHandler::handle_input()
>
> and finished with :
>
>  (6985|2701351824) MgOperationThread::ProcessMessage
>  (6985|2701351824) OPERATION PACKET
>  (6985|2701351824) MgOperationThread::ProcessOperation
>  (2701351824) MgServiceOperation::Init()
>  (2701351824) MgOpEnumerateResources::Execute()
>  (2701351824) MgServiceOperation::EndExecution()
> (6985|2701351824) MgOperationThread::svc() Ready
> (6985|2810456976) Found Expired Connection!
> (6985|2810456976) Found Expired Connection!
> (6985|2810456976) Removing connection handler!
> (6985|2810456976) MgClientHandler::handle_close()
> Ended connection.  Operations processed: 2/2, Connect Time:
> 163918.529000 msec
> (6985|2810456976) Removing connection handler!
> (6985|2810456976) MgClientHandler::handle_close()
> Ended connection.  Operations processed: 1/1, Connect Time:
> 151787.688000 msec
>
>
> I don't think this is normal on a rather decent machine (INTEL
> Centrino 1,6GHz, 1Gb RAM).
> Does anyone have any clue of what's happening here ?
>
> F.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list