[mapserver-users] Mapscript taking too long on my production server

2009-09-21 Thread Nelson Correia
Hi all, I'm doing an application in C# that uses mapscript to generate images. The features come from a postgis database. On my development machine all goes well and the image is always generated in less than 1 second. When I deployed the application to my two production servers

Re: [mapserver-users] Mapscript taking too long on my production server

2009-09-21 Thread Andy Colson
Nelson Correia wrote: Hi all, I'm doing an application in C# that uses mapscript to generate images. The features come from a postgis database. On my development machine all goes well and the image is always generated in less than 1 second. When I deployed the application to my two

Re: [mapserver-users] Mapscript taking too long on my production server

2009-09-21 Thread Tamas Szekeres
Nelson, Depending on your MapSever version you could set up the debug options in your mapfile in order to see the timings when the layers are drawn. like: CONFIG MS_ERRORFILE /ms4w/tmp/ms_error.txt DEBUG 5 For more info about the debugging options see: http://mapserver.org/mapfile/map.html