Re: how to programmatically expire inactive sessions?

2012-10-10 Thread Kirill Kireyev
hat should I be looking for in terms of that thread? -Kirill On 10/10/12 12:27 PM, Mark Thomas wrote: On 10/10/2012 19:24, Kirill Kireyev wrote: Thanks Shanti! I think your hypothesis is that these sessions remain active, due to c

Re: how to programmatically expire inactive sessions?

2012-10-10 Thread Kirill Kireyev
t 4:34 PM, Christopher Schultz <ch...@christopherschultz.net> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kirill, On 10/9/12 2:36 PM, Kirill Kireyev wrote: > I neve

Re: how to programmatically expire inactive sessions?

2012-10-09 Thread Kirill Kireyev
istener or HttpSessionListener that is preventing Tomcat from actually performing the expirations? On 10/9/12 12:27 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kirill, On 10/9/12 12:22 PM, Kirill Kireyev wrote:

Re: how to programmatically expire inactive sessions?

2012-10-09 Thread Kirill Kireyev
dle=20" -d path=/zzz http://localhost:8080/manager/html/expire Though I'm still not sure why my sessions aren't expiring automatically... -Kirill On 10/7/12 6:46 PM, Kirill Kireyev wrote: Hi, I'

how to programmatically expire inactive sessions?

2012-10-07 Thread Kirill Kireyev
e Sessions" button in the web app! How can i do this automatically? (And/or why don't they expire automatically anyway)? Thanks, Kirill -- Kirill Kireyev, PhD Founder/CTO instaGrok.com kir...@instagrok.com Twitter: @instaGrok FB: facebook.com/instagrok

Re: high CPU usage on tomcat 7

2012-10-03 Thread Kirill Kireyev
- Thanks. -Shanti On Tue, Oct 2, 2012 at 7:43 PM, Kirill Kireyev <kir...@instagrok.com> wrote: Hi Shanti! Thanks for your script! I ran it (with minor

Re: high CPU usage on tomcat 7

2012-10-02 Thread Kirill Kireyev
d that corresponds to the thread-id from the TOP output for my $j (@output) { chop $j; ($j =~ m/nid=$hex_pid/) && print $hex_pid . "\t" . $pct . "\t" . $mem . "\t" . $j . "\n"; } } close (STDOUT); close LOG; --end of script -- Thanks. -Shanti On Thu, Sep 27, 2012 at 2:11 PM, Bill Miller < millebi.subscripti...@gmail.com> wrote: I agree; we have reproducible instances where PermGen is not set to our requirements on the Tomcat startup parameters and it will cause a "lockup" every time. Do some JMX monitoring and you may discover a memory spike that's killing Tomcat. Bill -Original Message- From: Jeff MAURY [mailto:jeffma...@gmail.com] Sent: September-27-2012 2:01 PM To: Tomcat Users List Subject: Re: high CPU usage on tomcat 7 This is probably due to out of memory, I have the same problem on my ubuntu ci machine Did you monitor your tomcat with jmx ? Jeff - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Kirill Kireyev, PhD Founder/CTO instaGrok.com kir...@instagrok.com Twitter: @instaGrok FB: facebook.com/instagrok

Re: high CPU usage on tomcat 7

2012-09-27 Thread Kirill Kireyev
From: Jeff MAURY [mailto:jeffma...@gmail.com] Sent: September-27-2012 2:01 PM To: Tomcat Users List Subject: Re: high CPU usage on tomcat 7 This is probably due to out of memory, I have the same problem on my ubuntu ci machine Did you monitor your tomcat with jmx ? Jeff - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Kirill Kireyev, PhD Founder/CTO instaGrok.com kir...@instagrok.com Twitter: @instaGrok FB: facebook.com/instagrok

high CPU usage on tomcat 7

2012-09-27 Thread Kirill Kireyev
Hi! I'm periodically getting unduly high (100%) CPU usage by the tomcat process on my server. This problems happens intermittently, several times a week. When the server goes into this high CPU it does not come back (and becomes unresponsive to new requests), and the only recourse is to resta