[mapserver-users] performance problem

Jeff McKenna jmckenna at gatewaygeomatics.com
Fri Jun 11 20:58:31 EDT 2010


fedesan wrote:
> I' having performance problems using postgreSQL 8.4 and mapserver 5.0.0 on a
> 4 cpu's sever with 16 GB RAM
> 
> I was using a mapfile with 10 layers but in order to find out the problem
> now i'm using just one layer in a really basic mapfile. 
> gis.states_g table has only 24 records, one for each state in my country, so
> is not a heavy query and i'm starting to think that is a mapserver
> problem...is this a 5.0.0 known issue?
> When i load the map (using openlayers) i notice that the 4 cpu's goes to
> 100% for a couple of seconds, and the same happens when i pan or when i zoom
> in (this is even worse)
> Can anyone give some tips about this? can somebody see an error that i'm
> missing?
> I'm not using fast-CGI, should i ??

Some hints and examples for using shp2img to see layer drawing speeds 
are described in the MapServer Debugging document: see 
http://www.mapserver.org/optimization/debugging.html#step-5-test-your-mapfile

-jeff


-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/




More information about the mapserver-users mailing list