Hi there!

I have a memory leak issue with Geoserver. The setup includes a Geoserver 2.7.2 
war file deployed on an Ubuntu 14 server with Oracle Java 7 and Tomcat 7. 
Another java web app (let's call it "GeoApp"), that uses the Geoserver's 
WMS/WFS services, is also deployed on that Tomcat installation.

Java so configured with   -Xmx1535m

-- During the deployment of Geoserver the follow warnings appear in the 
catalina.log:

WARNING: Extension lookup 'XStreamPersisterInitializer' but ApplicationContext 
is unset.
WARN [geoserver.logging] - log4jConfigFile 'DEFAULT_LOGGIN.properties' couldn't 
be found in the data dir, so Geoserver will install the various logging config 
file into the data dir, and then try to find it again.
log4j:WARN File option not set for appender [geoserverlogfile]
log4j:WARN Are you using FileAppender instead of ConsoleAppender?
WARNING: Extension lookup 'GeoServerSecurityProvider' but ApplicationContext is 
unset.

-- When GeoApp uses Geoserver WMS/WFS services, the following messages appear 
in the catalina.log:

17 Sept 13:47:07 INFO [geoserver.wms] -
Request: getServiceInfo
Exception in thread "http-bio-8080-exec-11"
Exception: java.lang.OutOfMemory thrown from the UncaughtExceptionHandler in 
thread "http-bio-8080-exec-11"
Exception in thread "http-bio-8080-exec-10"
Exception in thread "http-bio-8080-exec-12"
Exception: java.lang.OutOfMemory thrown from the UncaughtExceptionHandler in 
thread "http-bio-8080-exec-10"
Exception: java.lang.OutOfMemory thrown from the UncaughtExceptionHandler in 
thread "http-bio-8080-exec-12"

-- In the catalina.2015-09-17.log I can find the following messages:

SEVERE: The web application [/geoserver] appears to have started a thread named 
[GuavaAuthCache-0-1] but has failed to stop it. This is very likely to create a 
memory leak.
Sep 17, 2015 9:11:12 AM org.apache.catalina.loader.WebappClassLoader 
clearReferencesTheards

SEVERE: The web application [/geoserver] appears to have started a thread named 
[FileSystemWatcher-1] but has failed to stop it. This is very likely to create 
a memory leak.
Sep 17, 2015 9:11:12 AM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks

SEVERE: The web application [/geoserver] created a ThreadLocal with key of type 
[org.geotools.renderer.lite.RendererUtilities$1]  (value 
[org.geotools.renderer.lite.RendererUtilities$1@4b912453]) and a value of type 
[org.geotools.referencing.operation.builder.GridToEnvelopeMapper]] (Value 
[org.geotools.referencing.operation.builder.GridToEnvelopeMapper@25e7ebe7]) but 
failed to remove it when the web application was stopped. Threads are going to 
be renewed over time to try and avoid a probable memory leak.
Sep 17, 2015 9:11:12 AM org.apache.catalina.loader.WebappClassLoader 
clearReferencesTheards

Is anyone aware of such a problem? Do I miss something in the installation?

Alexandros Gougousis
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to