[Shib-Users] IdP/Tomcat possible memory leak

Roberto Ullfig rullfig at uic.edu
Wed Oct 12 16:34:59 BST 2011


Can this memory leak issue be alleviated by increasing the amount of
memory allocated
to tomcat6? We have currently:

-Xmx512m -XX:MaxPermSize=256m

can these values be doubled so that tomcat doesn't run out memory as
quickly?

On Fri, Jan 7, 2011 at 7:03 AM, Jan Klever <klever at dfn-cert.de> wrote:

> Am 07.01.2011 13:52, schrieb Chad La Joie:
> > That error message only appears when you're shutting down the context.
> > If you're shutting down the server which in turn shuts down the context
> > then there is nothing to worry about.  The process terminates and all
> > memory is freed.  If you're trying to shutdown and restart the context
> > without stopping the server you'll have issues.
>
> OK, I can live with that. :-)
>
> > I'm not trying to pass the buck to Tomcat.  I can't fix the logback
> > issue, that's not my code, but I will fix the IdP issue in v3 (it takes
> > a bit of a interface change).  However, even if those two issues were
> > corrected you still couldn't start and stop the context because the
> > container itself does not clean up all the resource it allocates when
> > creating a context.  If, in fact, the container did this, the issue it's
> > currently warning of (which, again, I agree is in fact an issue), would
> > also just go away because it would clean up all the threads it had
> > allocated.
>
> Thanks for that information. /me is happy now.
>
> 8-)
> Jan
>
> --
> Jan Klever (Senior PKI Team Member), Phone +49 40 808077-619
>
> DFN-CERT Services GmbH, https://www.dfn-cert.de,  Phone  +49 40 808077-555
> Sitz / Register: Hamburg, AG Hamburg, HRB 88805,  Ust-IdNr.:  DE 232129737
> Sachsenstraße 5, 20097 Hamburg / Germany, CEO: Dr. Klaus-Peter Kossakowski
>
> 18. DFN Workshop "Sicherheit in vernetzten Systemen"
> am 15./16. Februar 2011 im Grand Hotel Elysee in Hamburg
>
>


-- 
Roberto Ullfig - rullfig at uic.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20111012/b0cb81c8/attachment.html 


More information about the users mailing list