This problem was resolved (thanks to a suggestion from Mladen Turk)
by adding connectionTimeout=2 to the AJP connector in the
server.xml file.
--patty
On Mon, 18 Apr 2005, Patty O'Reilly wrote:
Date: Mon, 18 Apr 2005 13:53:24 -0700 (PDT)
From: Patty O'Reilly [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: ThreadPool logFull -- BufferedInputStream
I haven't heard anything back so I thought I'd rephrase my question.
I'm running tomcat-5.0.30 with apache 2.0.52 and j2sdk1.4.2_04 on
Red Hat AS 3 update 2. I am seeing runaway thread creation where
threads continue to accumulate until they are maxed out.
After doing a thread dump, which I have very little experience
reading, it appears that there may be a socket bug in either Java
or RedHat, but I'm not sure.
Most threads are locked on BufferedInputStream. This is what a typical
thread looks like:
TP-Processor104 daemon prio=1 tid=0x080dc218 nid=0x4c87 runnable
[ad1ff000..a$
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
- locked 0x339bd098 (a java.io.BufferedInputStream)
at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:598)
at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:535)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:6$
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.$
at java.lang.Thread.run(Thread.java:534)
The last thing called appears to be SocketInputStream.socketRead0
(Native Method). The application is a simple jsp using taglibs.
Can anyone shed some light on this. I'm brand new to Tomcat.
Thanks
--patty
On Wed, 13 Apr 2005, Patty O'Reilly wrote:
Date: Wed, 13 Apr 2005 16:13:40 -0700 (PDT)
From: Patty O'Reilly [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: tomcat-user@jakarta.apache.org
Subject: ThreadPool logFull
Hi,
I'm running tomcat 5.0.30.
After running for a week or so the server begins to slow down and
finally crashes because it is out of threads. I can see the java
processes accumulating day by day.
Apr 8, 2005 3:11:16 PM org.apache.tomcat.util.threads.ThreadPool logFull
SEVERE: All threads (200) are currently busy, waiting. Increase maxThreads
(200)
or check the servlet status
I'm pretty new to tomcat. Not sure if the error is in my apache
server's workers.properties, or the tomcat servers server.xml, or
Can anyone point me in the right direction. This service is lightly
loaded. 200 threads should be plenty.
--patty
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]