On 22.05.2009 03:54, Pantvaidya, Vishwajit wrote:
-Original Message-
From: Rainer Jung [mailto:rainer.j...@kippdata.de]
Sent: Thursday, May 21, 2009 3:37 PM
To: Tomcat Users List
Subject: Re: Running out of tomcat threads - why many threads in
RUNNABLEstage even with no activity
On
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chetan,
On 5/21/2009 2:08 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
Chris,
As with Vishwajit, my tomcat ends up with all threads busy and not serving
any new requests. After setting the connectionTimeout the threads are being
recycled but apache is not liking .. as per the messsage in mod_jk.log
Chetan
From: Christopher
From: Chetan Chheda [mailto:chetan_chh...@yahoo.com]
Subject: Re: Running out of tomcat threads - why many threads in
RUNNABLEstage even with no activity
As with Vishwajit, my tomcat ends up with all threads busy and not
serving any new requests. After setting the connectionTimeout the
-Original Message-
From: Rainer Jung [mailto:rainer.j...@kippdata.de]
Sent: Friday, May 22, 2009 2:53 AM
To: Tomcat Users List
Subject: Re: Running out of tomcat threads - why many threads in
RUNNABLEstage even with no activity
My point is: persistent connections are good, but
On 22.05.2009 21:09, Pantvaidya, Vishwajit wrote:
-Original Message-
From: Rainer Jung [mailto:rainer.j...@kippdata.de]
Sent: Friday, May 22, 2009 2:53 AM
To: Tomcat Users List
Subject: Re: Running out of tomcat threads - why many threads in
RUNNABLEstage even with no activity
My
-Original Message-
From: Rainer Jung [mailto:rainer.j...@kippdata.de]
Sent: Friday, May 22, 2009 12:39 PM
To: Tomcat Users List
Subject: Re: Running out of tomcat threads - why many threads in
RUNNABLEstage even with no activity
[Pantvaidya, Vishwajit] Why are connections idle for
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vishwajit,
On 5/20/2009 3:01 PM, Pantvaidya, Vishwajit wrote:
[Pantvaidya, Vishwajit] Ok so RUNNABLE i.e. persistent threads should
not be an issue. The only reason why I thought that was an issue was
that I was observing that the none of the
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
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Thursday, May 21, 2009 10:05 AM
To: Tomcat Users List
Subject: Re: Running out of tomcat threads - why many threads in
RUNNABLEstage even with no activity
Vishwajit,
On 5/20/2009 3:01
On 22.05.2009 00:19, Pantvaidya, Vishwajit wrote:
[Pantvaidya, Vishwajit] I will set
- cachesize=1 (doc says jk will autoset this value only for worker-mpm and we
use httpd 2.0 prefork)
You don't have to: JK will discover this number for the Apache web
server automatically and set the pool
-Original Message-
From: Rainer Jung [mailto:rainer.j...@kippdata.de]
Sent: Thursday, May 21, 2009 3:37 PM
To: Tomcat Users List
Subject: Re: Running out of tomcat threads - why many threads in
RUNNABLEstage even with no activity
On 22.05.2009 00:19, Pantvaidya, Vishwajit wrote:
RUNNABLE and WAITING are thread states in the JVM. They don't relate in
general to states inside Tomcat. In this special situation they do.
The states you observe are both completely normal in themselves. One
(the stack you abbreviate with RUNNABLE) is handling a persistant
connection
[Pantvaidya, Vishwajit] My problem is that tomcat is running out of
threads (maxthreadcount=200). My analysis of the issue is:
- threads count is exceeded because of a slow buildup of RUNNABLE
threads (and not because number of simultaneous http requests at some
point exceeded max thread
On 20.05.2009 00:53, Pantvaidya, Vishwajit wrote:
-Original Message-
From: Rainer Jung [mailto:rainer.j...@kippdata.de]
Sent: Monday, May 18, 2009 11:10 PM
To: Tomcat Users List
Subject: Re: Running out of tomcat threads - why many threads in
RUNNABLEstage even with no activity
On
From: Pantvaidya, Vishwajit [mailto:vpant...@selectica.com]
Subject: RE: Running out of tomcat threads - why many threads in
RUNNABLEstage even with no activity
Finally, is it possible that some bad code in the app could
be hanging onto those RUNNABLE connections which is why tomcat
is
Finally, is it possible that some bad code in the app could
be hanging onto those RUNNABLE connections which is why tomcat
is not releasing them?
Once more: NO, NO, NO! The threads you see in a RUNNABLE state are
perfectly normal and expected. Go do the netstat that Rainer suggested
From: Pantvaidya, Vishwajit [mailto:vpant...@selectica.com]
Subject: RE: Running out of tomcat threads - why many threads in
RUNNABLEstage even with no activity
On httpd machine
Proto Recv-Q Send-Q Local Address Foreign Address
State
tcp1 0
The fact that *none* of the ports match would suggest (but not prove) that
someone in the middle is closing the connections, and not telling either
end about it.
Do the netstat -anop again; it should be more interesting.
- Chuck
[Pantvaidya, Vishwajit] Tomcat server port 11065,
The fact that *none* of the ports match would suggest (but not prove)
that
someone in the middle is closing the connections, and not telling either
end about it.
Do the netstat -anop again; it should be more interesting.
- Chuck
[Pantvaidya, Vishwajit] Tomcat server port
definitely not TC ..the problem is with your WebServer
please read this tutorial on diagnosing CLOSE_WAIT sockets from your WebServer
http://publib.boulder.ibm.com/infocenter/wasinfo/v4r0/index.jsp?topic=/com.ibm.support.was40.doc/html/Plug_in/swg21163659.html
Martin
On 19.05.2009 02:54, Caldarale, Charles R wrote:
From: Pantvaidya, Vishwajit [mailto:vpant...@selectica.com]
Subject: RE: Running out of tomcat threads - why many threads in
RUNNABLEstage even with no activity
Ok - so then the question is when does tomcat transition the thread
from
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 5/18/2009 8:54 PM, Caldarale, Charles R wrote:
From: Pantvaidya, Vishwajit [mailto:vpant...@selectica.com]
Subject: RE: Running out of tomcat threads - why many threads in
RUNNABLEstage even with no activity
Ok - so then the
-Original Message-
From: Rainer Jung [mailto:rainer.j...@kippdata.de]
Sent: Monday, May 18, 2009 11:10 PM
To: Tomcat Users List
Subject: Re: Running out of tomcat threads - why many threads in
RUNNABLEstage even with no activity
On 19.05.2009 02:54, Caldarale, Charles R wrote:
From: Pantvaidya, Vishwajit [mailto:vpant...@selectica.com]
Subject: RE: Running out of tomcat threads - why many threads in
RUNNABLEstage even with no activity
[Pantvaidya, Vishwajit] Posting the thread dumps for the above 3 cases,
The list usually filters out attachments, as it has done
From: Pantvaidya, Vishwajit [mailto:vpant...@selectica.com]
Subject: RE: Running out of tomcat threads - why many threads in
RUNNABLEstage even with no activity
From whatever I have read on this, it seems to me that this could
happen if a servlet writes something to a response stream,
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Monday, May 18, 2009 4:02 PM
To: Tomcat Users List
Subject: RE: Running out of tomcat threads - why many threads in
RUNNABLEstage even with no activity
From: Pantvaidya, Vishwajit
From: Pantvaidya, Vishwajit [mailto:vpant...@selectica.com]
Subject: RE: Running out of tomcat threads - why many threads in
RUNNABLEstage even with no activity
Ok - so then the question is when does tomcat transition
the thread from Running to Waiting? Does that happen after
AJP drops
From: Pantvaidya, Vishwajit [mailto:vpant...@selectica.com]
Subject: RE: Running out of tomcat threads - why many threads in
RUNNABLEstage even with no activity
Since I did not get any responses to this, just wanted to ask - did I
post this to the wrong list and should I be posting this to
29 matches
Mail list logo