Limit user sessions in tomcat

2009-12-15 Thread Chetan Chheda
Hello,     We frequently have situations where a user has brought down a tomcat entirely by himself by running the same transaction multiple times because the response was not quick enough.   Is there a way through configuation of tomcat and mod_jk to control the number of concurrent

Re: Limit user sessions in tomcat

2009-12-15 Thread Chetan Chheda
Andre, We have a vast user population thats geographically dispersed, so implementing something thru the system would be the favourable approach.. Can you point me to links on the web that explain the add on modules and their implementation? All,     Is there a 3rd party tool available to

Re: Limit user sessions in tomcat

2009-12-15 Thread Chetan Chheda
peter.crowt...@melandra.com To: Tomcat Users List users@tomcat.apache.org Sent: Tue, December 15, 2009 12:42:01 PM Subject: Re: Limit user sessions in tomcat 2009/12/15 Chetan Chheda chetan_chh...@yahoo.com     Is there a 3rd party tool available to manage tomcat sessions and kill them once they go

Tomcat load balancing

2009-08-11 Thread Chetan Chheda
Hello folks, I have 2 resource hungry processes that need to run on 2 separate tomcats. I have setup mod_jk to load balance between the 2 tomcats, but sometimes they end up on the same one. Is there a way to guarantee they run on separate tomcats? Is there an option to do load

Re: What to upgrade?

2009-06-12 Thread Chetan Chheda
From: David Kerber dcker...@verizon.net To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, June 10, 2009 8:58:37 PM Subject: Re: What to upgrade? Chetan Chheda wrote: We are going to regression test it in non - prod environments. I agree with going to the latest

Re: What to upgrade?

2009-06-12 Thread Chetan Chheda
To: Tomcat Users List users@tomcat.apache.org Sent: Friday, June 12, 2009 11:11:44 AM Subject: RE: What to upgrade? From: Chetan Chheda [mailto:chetan_chh...@yahoo.com] Subject: Re: What to upgrade? I reduced it to -Xmx1024m -Xms1024m -Xmn400m and was able to startup. Is there a heap size limitation

Re: Tomcat maxThreads Issue

2009-06-10 Thread Chetan Chheda
What does your Apache access_log say at the time when tomcat threads are exhausted ? I had a very similar issue in my environment. The culprit turned out to be JkMount options. Apache was sending all requests, whether it is for static or dynamic content to tomcat. At the same time my tomcats

What to upgrade?

2009-06-10 Thread Chetan Chheda
Our management has directed us to upgrade our JRE to 1.5 from 1.4.2 because they have heard that 1.5 has better memory management features. I am doing my due diligence to present a plan on what it will take to get us there. The question is how do I approach this ... We have apache(2.0.59),

Re: What to upgrade?

2009-06-10 Thread Chetan Chheda
We are going to regression test it in non - prod environments. I agree with going to the latest version, but our application is only supported on 1.4.2 So I am thinking 1.5 would be a smaller jump than 1.6. Chetan From: Christopher Schultz

Re: Application monitoring

2009-06-08 Thread Chetan Chheda
I forgot to add we are using JDK1.4 From: Leon Rosenberg rosenberg.l...@googlemail.com To: Tomcat Users List users@tomcat.apache.org Sent: Saturday, June 6, 2009 7:52:16 AM Subject: Re: Application monitoring On Sat, Jun 6, 2009 at 4:19 AM, Chetan

Application monitoring

2009-06-05 Thread Chetan Chheda
All, What are you using for production monitoring and alerting for JVM apache based applications? I am referring to proactively monitoring and alerting of apache utilization(workers, requests etc), tomcat utilization(threads, heap, etc) , tracking Java methods, JSPs , servlets and also

Re: User tracking/monitoring

2009-06-01 Thread Chetan Chheda
@tomcat.apache.org Sent: Friday, May 29, 2009 1:59:01 PM Subject: RE: User tracking/monitoring From: Chetan Chheda [mailto:chetan_chh...@yahoo.com] Subject: User tracking/monitoring Is there anyway we can add the tomcat sessionID to their page so that they can tell us where they are? Besides

Re: User tracking/monitoring

2009-06-01 Thread Chetan Chheda
have no problem incorporating the above snippet. If you have trouble with the above - seek a trusted consultant for help. The money will be well spent. -Tim Chetan Chheda wrote: Thanks Tim and Chuck. Tim,   Is this something a novice programmer like me can add to our Footer.jsp file? Can

User tracking/monitoring

2009-05-29 Thread Chetan Chheda
All, In our production environment we load balance across 4 tomcats that are split among 2 physical servers. This is a high traffic website and we get calls from users for a number of support issues and for most of these issues the first step is to find out what tomcat instance they ended

Apache-Tomcat Advanced training courses in the US

2009-05-27 Thread Chetan Chheda
All,     Can you recommend some of them? Topics that I am looking for are : Mod_jk configuration Tomcat connectors Apache webserver  For high traffic scenariors with a performance tuning monitoring perspective .. Thanks, Chetan

Re: Tomcat not closing threads -- SOLVED ??

2009-05-27 Thread Chetan Chheda
not closing threads -- SOLVED ?? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chetan, On 5/26/2009 2:47 PM, Chetan Chheda wrote: After some digging thru config files setup by the vendor, I think I might have found the root cause ..Correlating the access_log and tomcat logs, I found out that tomcat

Re: Tomcat not closing threads -- SOLVED ??

2009-05-27 Thread Chetan Chheda
a web tier can reside. Chetan From: Caldarale, Charles R chuck.caldar...@unisys.com To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, May 27, 2009 11:38:11 AM Subject: RE: Tomcat not closing threads -- SOLVED ?? From: Chetan Chheda

Re: Tomcat not closing threads -- SOLVED ??

2009-05-26 Thread Chetan Chheda
file with tomcat down. my question is, how does the ajp13 connector interpret a gif file/static content request as opposed to a jsp request? Chetan   From: Chetan Chheda chetan_chh...@yahoo.com To: Tomcat Users List users@tomcat.apache.org Sent: Monday, May 18

Re: Tomcat not closing threads -- SOLVED ??

2009-05-26 Thread Chetan Chheda
environment. From: André Warnier a...@ice-sa.com To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, May 26, 2009 3:20:06 PM Subject: Re: Tomcat not closing threads -- SOLVED ?? André Warnier wrote: Chetan Chheda wrote: After some digging thru config

Re: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

2009-05-22 Thread Chetan Chheda
PM, Chetan Chheda wrote: I am following this thread with great interest. I have a similar issue as Vishwajit and have resorted to adding the connectionTimeout to get rid of a large number of RUNNABLE threads. Why? Are you just offended by the number of threads, or do you have a legitimate

Re: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

2009-05-21 Thread Chetan Chheda
I am following this thread with great interest. I have a similar issue as Vishwajit and have resorted to adding the connectionTimeout to get rid of a large number of RUNNABLE threads. But mod_jk does not like tomcat threads timing out and logs the message increase the backend idle connection

Re: Tomcat not closing threads

2009-05-18 Thread Chetan Chheda
there is a socket read errors are going on . He used snoop command in solaris. After tuning the TCP parameters the issue got resolved. You might also need to something like that. Thanks Krish On Wed, May 13, 2009 at 11:57 AM, Chetan Chheda chetan_chh...@yahoo.comwrote: I guess I need to ask my

Re: Tomcat not closing threads

2009-05-18 Thread Chetan Chheda
threads -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chetan, On 5/18/2009 10:43 AM, Chetan Chheda wrote: Our network team is already engaged and looking into this. We had several instances of tomcats locking up today. I have attached one such thread dump here .. It looks like all your request

Re: Tomcat not closing threads

2009-05-18 Thread Chetan Chheda
out there is a socket read errors are going on . He used snoop command in solaris. After tuning the TCP parameters the issue got resolved. You might also need to something like that. Thanks Krish On Wed, May 13, 2009 at 11:57 AM, Chetan Chheda chetan_chh...@yahoo.comwrote: I

Re: Tomcat not closing threads

2009-05-18 Thread Chetan Chheda
in solaris. After tuning the TCP parameters the issue got resolved. You might also need to something like that. Thanks Krish On Wed, May 13, 2009 at 11:57 AM, Chetan Chheda chetan_chh...@yahoo.comwrote: I guess I need to ask my question again. Im primarily an HP-UX

Tomcat GC threads

2009-05-14 Thread Chetan Chheda
All,     We are using -XX:+UseParNewGC option in our Tomcat JVMs with -XX:ParallelGCThreads=16 on a 6 CPU system. What is the real impact of having a higher number of GC threads than the number of CPUs? With the 2 tomcat JVMs running on the box, would you recommend changing it to 6 for each

Re: Tomcat not closing threads

2009-05-13 Thread Chetan Chheda
Sent: Tuesday, May 12, 2009 10:47:00 PM Subject: RE: Tomcat not closing threads From: Chetan Chheda [mailto:chetan_chh...@yahoo.com] Subject: Re: Tomcat not closing threads I managed to get a thread dump during one such tomcat hangs. Most of the threads are in the following status ... The ones

Tomcat not closing threads

2009-05-12 Thread Chetan Chheda
Hello, I am having an issue where I could use some clarity. We are using apache 2.0.59 and tomcat 5.5. We are having some growing pains with vendor specified modjk and tomcat settings. 1. Tomcat opens up a number of threads during some transactions but does not close them. Is this because the

Re: Tomcat not closing threads

2009-05-12 Thread Chetan Chheda
Just wondering if anyone got my message below? From: Chetan Chheda chetan_chh...@yahoo.com To: users@tomcat.apache.org Sent: Tuesday, May 12, 2009 12:03:49 PM Subject: Tomcat not closing threads Hello, I am having an issue where I could use some clarity. We

Re: Tomcat not closing threads

2009-05-12 Thread Chetan Chheda
)     at java.lang.Thread.run(Thread.java:534) From: Chetan Chheda chetan_chh...@yahoo.com To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, May 12, 2009 1:32:16 PM Subject: Re: Tomcat not closing threads Just wondering if anyone got my message below