On Thu, Dec 22, 2011 at 2:56 PM, Jesse Eichar
<jesse.eic...@camptocamp.com>wrote:
> Hi,
>
> We are having to restart Geoserver once a week because of OutOfMemory
> errors. I wanted to see if anyone knows of particular configurations that
> can cause this. Rough statistics of our server:
>
>
> - 6GM RAM
> - 71 Stores
> - 381 Layers
> - 45 Workspaces
> - Most raster data is ECW and most of those are ImageMosaics
> - 27-30 of the Vector Stores are postgis (We are not yet using JNDI
> but I am trying to find time to set that up). We have set the connections
> perstore to 2 for most of them and have 200 permitted connections so we are
> not running out of connections
> - We have at least one JP2ECW Stores
> - We have a couple proxied WMS Stores
> - Some raster stores are published multiple times in different
> workspaces
> - We heavily use "virtual" workspaces
>
>
> Any ideas where I should look for the memory leak?
>
Once you get close to the OOM you should try running jmap -histo as
suggested here:
http://docs.geoserver.org/latest/en/user/production/troubleshooting.html#jmap
And of course run a recent version of GeoServer, some memory leaks were
fixed at the beginning
of the 2.1.x series
Cheers
Andrea
--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 339 8844549
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
Please take note that GeoSolutions will be closed for Christmas holidays
from 27/12 to 30/12
-------------------------------------------------------
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users