On Fri, Apr 10, 2015 at 1:28 PM, Christoph Kleih <christoph.kleih@anonymised.com>
wrote:
Dear Geoserver Users,
I have deployed a new geoserver.war in a new tomcat instance. Currently I
cannot work with it, because my http/ajp mapping isn't configured correctly.
Besides that, I get the following output in the catalina.out log. (see the
log below)
There seems to be a problem with a memory leak and the Threadpool.
Can you give me a hint what is going wrong and if that is a problem.
It's a known issue without an easy solution, GeoServer is a complex, large
web applications
that uses a set of technologies which weren't exactly meant to be used in a
webapp context (emf, jai).
I've tried to fix those errors spending a few days some years ago, without
any luck, and in time,
more of them piled up (since nobody managed to solve them all, and it does
not make a difference
if you get 1 or 100 of them, you still end up with a permgen leak).
The usual approach is to deploy GeoServer in its own private Tomcat, and
shut it down when
you need to redeploy. Not as bad as it sounds, considering that GeoServer
will force you to
increase the permgen settings anyways (at least 128m) and under load it
ends up eating a
good portion of your heap (each WMS request allocates a few megabytes of
heap for the
drawing surface, large ones can reach the tens of MB, by the time you have
some concurrent load
using a couple GB of memory is not uncommon)
Cheers
Andrea
--
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
-------------------------------------------------------