WMS Performance degrades after >20000 requests served
-----------------------------------------------------
Key: GEOS-3600
URL: http://jira.codehaus.org/browse/GEOS-3600
Project: GeoServer
Issue Type: Bug
Affects Versions: 2.0-RC2
Environment: tomcat6, ubuntu, java 1.6, AMD 2 core, 6GB ram, postgisng and also on macosx budle, postgisng (macports),
Reporter: Thomas
Assignee: Andrea Aime
I tested tile generation on maxosx and tomcat6/LINUX (2GB java heap) in both cases I used the system to generate 300000 tiles sequentially from postgis over the whole map in different zooms. Somehow GeoServer leaks memory and fills up the 2GB heap. If that happens, WMS tile generation speed drops slowly down from, for example, 100 per minute to 5 per minute but still uses 100% CPU. At that point most of the java memory is full.
Speed can be reclaimed temporarily (about 20000 more tiles) by going to the Status page and clearing the Resource Cache followed by several clicks on Free Memory. If memory congestion is too bad, the Status page takes forever to open and resetting memory becomes difficult. Geoserver needs intervention about every 30 minutes to 1h depending on available memory.
A workaround would be an automated way to invoke these cleanup functions after a specific number of requests.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira