Hi,
I've seen this kind of error in the past, it's a weird case of OOM,
normally caused by
object waiting in the finalization queue to be released, and taking their
time to run
the "finalize" method.

It's hard to say what might be the cause, for me last time it was a lot of
concurrent requests
hitting source rasters that were internally jpeg compressed.
That particular issue has been since then fixed, and the fix is already in
GeoServer 2.9.2...
or at least it should be, can you check in geoserver/web-inf/lib what
imageio-ext jars
you have, what is their version number?

Anyawys, in order to debug that issue the best approach is normally to let
geoserver
hang, and then take a snapshot of the heap using jmap, see here:
http://docs.geoserver.org/latest/en/user/production/troubleshooting.html#using-jdk-tools-to-get-stack-and-memory-dumps

And then, put the file somewhere it can be downloaded from (it's going to
be a large file) and provide a link
here, hopefully someone will have time to look at its contents.

Cheers
Andrea


On Fri, Feb 3, 2017 at 10:31 AM, user154654 <[email protected]> wrote:

> Hello. I have Tomcat 8.5.6 + Java 8 running with a geoserver and a couple
> more applications. Problem is that server keeps crashing. When inspecting
> catalina.out logs I see:
>
> *1)* Exception in thread "ajp-nio-8011-ClientPoller-1"
> java.lang.OutOfMemoryError: GC overhead limit exceeded
>         at
> java.util.Collections$UnmodifiableCollection.iterator(Collections.java:
> 1038)
>         at
> org.apache.tomcat.util.net.NioEndpoint$Poller.timeout(
> NioEndpoint.java:1004)
>         at org.apache.tomcat.util.net.NioEndpoint$Poller.run(
> NioEndpoint.java:830)
>         at java.lang.Thread.run(Thread.java:745)
>
> *2)* SEVERE [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run
> Unexpected death of background thread
> ContainerBackgroundProcessor[StandardEngine[Catalina]]
>  java.lang.OutOfMemoryError: GC overhead limit exceeded
>         at java.nio.charset.CharsetEncoder.<init>(CharsetEncoder.java:233)
>         at sun.nio.cs.US_ASCII$Encoder.<init>(US_ASCII.java:155)
>         at sun.nio.cs.US_ASCII$Encoder.<init>(US_ASCII.java:151)
>         at sun.nio.cs.US_ASCII.newEncoder(US_ASCII.java:58)
>         at java.lang.StringCoding$StringEncoder.<init>(
> StringCoding.java:282)
>
> *3)* WARN [geoserver.security] - Strong cryptography is NOT available
> Download and installation the of unlimted length policy files is
> recommended
> Exception in thread "ajp-nio-8011-AsyncTimeout" java.lang.OutOfMemoryError:
> GC overhead limit exceeded
> java.lang.RuntimeException: Failed to offer the quota diff to the updates
> queue within the configured timeout of 300 seconds
>         at
> org.geowebcache.diskquota.QueuedQuotaUpdatesProducer.quotaUpdate(
> QueuedQuotaUpdatesProducer.java:176)
> /(and a long stack of "java.lang.RuntimeException: Failed to offer the
> quota
> diff to the updates queue within the configured timeout of 300 seconds")/
>
> *---------------------------*
> As I understand the crashes are because of shortage of memmory but
> increasing the heap size is something like last resort. So my *questions *
> are:
> /1) Am I right that geoserver problems mentioned above are behind the
> crashes or do you think it might be somewhere else (I understand you don't
> know the details of the applications but still...)
> 2) Is there a way to prevent exceptions mentioned above from occuring
> without increasing heap size?
> 3) Any other suggestion/ideas?/
>
> Thank you.
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.
> nabble.com/Geoserver-2-9-2-GC-overhead-limit-exceeded-tp5306122.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
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.

-------------------------------------------------------
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to