Sorry should have included this before:
JVM original options:
* -Xmx1024M
* -Xms48
* -XX:SoftRefLRUPolicyMSPerMB=36000
* -XX:MaxPermSize=128m
* -XX:+UseParallelGC
JVM new options:
* -Xmx2048M
* -Xms48
* -XX:SoftRefLRUPolicyMSPerMB=36000
* -XX:MaxPermSize=256m
* -XX:+UseParallelGC
Jonathan - not sure on the logs, always struggle to get to grips with them.
The tomcat7-stderr.2014-05-16.log contains a few "[...]This is very likely to
create a memory leak." entries even after the memory bump.
Rob
From: Jonathan Moules [mailto:[email protected]]
Sent: 16 May 2014 09:40
To: Langford, Robert
Cc: [email protected]
Subject: Re: [Geoserver-users] Out Of Memory Error / Memory Leak
Hi Rob,
How much memory are you giving to your instance and what was it before?
My own 2.5-snapshot and 2.4.3 instances both show this line in a few places
(and it's in my 2.3.2 logs too):
2014-05-12 14:26:05,020 ERROR [geotools.map] - Call MapContent dispose() to
prevent memory leaks
Any indications as to anything else with the word "memory" in the logs
anywhere? (just guessing as to it being possibly culpable; I'm not a dev so
don't know).
Cheers,
Jonathan
On 16 May 2014 09:19, Langford, Robert
<[email protected]<mailto:[email protected]>> wrote:
All,
Wondering if anyone can point us in the right direction to solve this
java/memory issue. Yesterday afternoon our Tomcat went down, wasn't picked up
until this morning. Stop/started Tomcat and appeared to work again. Looking
at the logs appeared to be a "java.lang.OutOfMemoryError: PermGen space"
problem. We have spare memory on the server so we upped the JVM container
settings (-Xmx & -XX:MaxPermSize), we then restarted Tomcat again.
Looking at the logs in more detail we found a few things that seemed worrying
such as:
* IOException while loading persisted sessions: java.io.EOFException
* The web application [/geoserver] appears to have started a thread
named [pool-2-thread-1] but has failed to stop it. This is very likely to
create a memory leak.
* CSSEngine: exception
property.syntax.error:org.w3c.css.sac.CSSParseException: Unexpected token: 0
(see LexicalUnits)
System details
* GeoServer: 2.3.3
* Apache Tomcat: 7.0.41
* JVM Version: 1.6.0_45-b06
* Windows Server 2008 R2; 64-bit; 4GB RAM; virtual
I've attached some logs (I've edited some for brevity); the 2014-05-15 logs
relate to the initial OutOfMemoryError and the 2014-05-16 one includes info on
other errors listed above on restarts. Brief timeline to help navigate the logs:
* Initial problems: 2014-05-15 15:45
* Stopped Tomcat: 2014-05-16 07:44
* Started Tomcat: 2014-05-16 07:50
* Stopped Tomcat: 2014-05-16 08:07
* Increase JVM memory options
* Started Tomcat: 2014-05-16 08:08
System has been working great for some time, recently has started to be
accessed more, but no major changes that we're aware of. Any pointers greatly
appreciated.
Many thanks,
Rob
DISCLAIMER: The information contained in this communication/message from
[email protected]<mailto:[email protected]> sent on
Fri May 16 09:19:08 2014 is confidential. It is intended solely for the
addressee(s)
[email protected]<mailto:[email protected]>
Access to this message by anyone else is unauthorised. If you are not the
intended recipient, any disclosure, copying, or distribution of the message, or
any action or omission taken by you in reliance on it, is prohibited and may be
unlawful.
As a public body, Salford City Council may be required to disclose this email
[or any response to it] under the Freedom of Information Act 2000, unless the
information in it is covered by one of the exemptions in the Act.
Please immediately contact the sender,
[email protected]<mailto:[email protected]> if you
have received this message in error.
For the full disclaimer please access http://www.salford.gov.uk/e-mail. Thank
you.
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Geoserver-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
This transmission is intended for the named addressee(s) only and may contain
confidential, sensitive or personal information and should be handled
accordingly. Unless you are the named addressee (or authorised to receive it
for the addressee) you may not copy or use it, or disclose it to anyone else.
If you have received this transmission in error please notify the sender
immediately. All email traffic sent to or from us, including without limitation
all GCSX traffic, may be subject to recording and/or monitoring in accordance
with relevant legislation.
DISCLAIMER: The information contained in this communication/message from
[email protected] sent on Fri May 16 09:51:06 2014 is
confidential. It is intended solely for the addressee(s)
[email protected];[email protected]
Access to this message by anyone else is unauthorised. If you are not the
intended recipient, any disclosure, copying, or distribution of the message, or
any action or omission taken by you in reliance on it, is prohibited and may be
unlawful.
As a public body, Salford City Council may be required to disclose this email
[or any response to it] under the Freedom of Information Act 2000, unless the
information in it is covered by one of the exemptions in the Act.
Please immediately contact the sender, [email protected] if you
have received this message in error.
For the full disclaimer please access http://www.salford.gov.uk/e-mail. Thank
you.
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users