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

François Van Der Biest francois.vanderbiest at camptocamp.com
Mon Nov 12 04:34:40 EST 2007


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.


More information about the mapguide-users mailing list