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