On Wed, Feb 16, 2011 at 6:16 PM, Christopher Schultz
<ch...@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Leon,
>
> On 2/16/2011 11:53 AM, Leon Rosenberg wrote:
>> On Wed, Feb 16, 2011 at 5:37 PM, Caldarale, Charles R
>> <chuck.caldar...@unisys.com> wrote:
>>>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>>>> Subject: Re: [OT] OutOfMemoryError: GC overhead limit exceeded
>>>
>>>> Here's what jmap reports this morning:
>>>
>>>> PS Old Generation
>>>>    capacity = 134217728 (128.0MB)
>>>>    used     = 61911720 (59.043617248535156MB)
>>>>    free     = 72306008 (68.95638275146484MB)
>>>>    46.12782597541809% used
>>>
>>> Interesting.  Something must have broken loose overnight.
>>>
>>>> Does this look healthy enough to continue, or should I
>>>> schedule a restart ASAP?
>>>
>>> I'd let it run, and see what happens.
>>>
>>>> I suspect one (or more) of those operations was performed
>>>> and the objects were reachable for a while (lived in the
>>>> session, probably) but then eventually became collectible
>>>> and GC recovered.
>>>
>>> Sounds highly plausible.
>>
>> Do you log number of users/sessions? Would probably be interesting to
>> see this in correlation.
>
> Not currently. We're working on some decent instrumentation tools to
> basically log all kinds of stuff like this on a regular interval... say
> every minute or five minutes. I could connect to the JVM using JConsole
> and ask Tomcat for the session count (all users have a session) but the
> event is long gone so any information I get now would not be directly
> relevant.

reinventing the wheel? :-)
http://moskito.anotheria.net among others...

best regards
Leon

>
> Thanks,
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk1cBnUACgkQ9CaO5/Lv0PCJRwCgo+ssFInOJ53tJQrO1ZdNhFPk
> UW0An1sKMuCkckA8Rjwzu23xM0CmxOAY
> =jBKF
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to