Problem with tomcat hanging on Shib 2.4
John Kamminga
jkamminga at ucmerced.edu
Fri Aug 29 14:10:02 EDT 2014
Thank you everyone for the responses. (very much!)
Scott, our traffic has increased and I'd like to explore the 'caching attribute resolution results for too long'. Where is this configured? In multiple places? And, what is the default that is shipped with Shibboleth Idp?
Unfortunately we are still running one node, but with the increase in traffic are wanting to add another node but we need to prioritize that project with the many other projects:(
Thanks,
John Kamminga
Web Application Development
Information Technology Department
University of California, Merced
T: 209.228.2965
E: jkamminga at ucmerced.edu
W: it.ucmerced.edu
-----Original Message-----
From: users-bounces at shibboleth.net [mailto:users-bounces at shibboleth.net] On Behalf Of Cantor, Scott
Sent: Friday, August 29, 2014 10:16 AM
To: Shib Users
Subject: Re: Problem with tomcat hanging on Shib 2.4
On 8/29/14, 11:40 AM, "Brian Koehmstedt" <bkoehmstedt at ucmerced.edu> wrote:
>In a previous "hang" a few weeks ago (not the latest one John is
>describing), I noticed an Out of Memory error in the log file. John
>should check for this in the latest hang-up logs, but I am definitely
>suspecting either:
>- A memory leak
If you have a leak, it's in some component you've added to the system. A driver or what not.
>- The JVM just flat out running out of memory due to growing Incommon
>metdata file, but it seems like -Xmx1024M should be sufficient even
>when the current size of the metadata file. Matthew, I'd be curious to
>know what you had your -Xmx parameter set at when you were
>experiencing the hang-ups.
That isn't the cause. It's possible you're handling too much traffic and caching attribute resolution results for too long, but that's a choice.
Otherwise, you shouldn't have any trouble with heap.
>I've already begun taking heap dumps and analyzing them with jhat.
>Analyzing the heap isn't always straight forward, but there is a
>"tremendous" amount of char[], String, HashMapEntry, and various XML
>objects in the heap. I put "tremendous" in quotes because I don't yet
>know if it's a normal amount or abnormal amount. You can't tell just
>by looking at a heap. Most of these objects look related to storing
>data from the Incommon metadata file. Since this file is growing quite
>big, the data in the heap could be normal, in which case -Xmx1024M is
>no longer sufficient?
It's sufficient. Those objects are dropped after processing the file, they don't stay in use.
-- Scott
--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
More information about the users
mailing list