You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Philipp Lehner <le...@yahoo.de> on 2006/11/15 07:44:15 UTC
Tomcat hangs
Hello,
Since a few days Tomcat hangs on our production server every 20 – 24 hours. In the stderr.log I’m getting the following entry:
15.11.2006 00:54:08 org.apache.tomcat.util.threads.ThreadPool logFull
SCHWERWIEGEND: All threads (75) are currently busy, waiting. Increase maxThreads (75) or check the servlet status
15.11.2006 01:05:13 org.apache.jk.server.JkCoyoteHandler action
SCHWERWIEGEND: Error in action code
java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:457)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:654)
at org.apache.jk.server.JkCoyoteHandler.action(JkCoyoteHandler.java:472)
at org.apache.coyote.Response.action(Response.java:226)
at org.apache.coyote.Response.finish(Response.java:348)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:329)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:395)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Unknown Source)
I’m using the following configuration:
Windows 2003 Server
Tomcat 4.1
Can anyone help me please?
Best Regards,
Philipp
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
AW: Tomcat hangs
Posted by "Edao, Aliye" <al...@siemens.com>.
Hi Philipp,
try the following:
Increase maxThreads in server.xml. A good value to start with is maxProcessors="100".
Set connectionTimeout to a minute -> connectionTimeout="60000". Restart Tomcat. Hope this will help.
************************************
Mit freundlichem Gruß / kind regards
Dr. Aliye Edao
-----Ursprüngliche Nachricht-----
Von: Philipp Lehner [mailto:lehner_philipp@yahoo.de]
Gesendet: Mittwoch, 15. November 2006 07:44
An: users@tomcat.apache.org
Betreff: Tomcat hangs
Hello,
Since a few days Tomcat hangs on our production server every 20 - 24 hours. In the stderr.log I'm getting the following entry:
15.11.2006 00:54:08 org.apache.tomcat.util.threads.ThreadPool logFull
SCHWERWIEGEND: All threads (75) are currently busy, waiting. Increase maxThreads (75) or check the servlet status
15.11.2006 01:05:13 org.apache.jk.server.JkCoyoteHandler action
SCHWERWIEGEND: Error in action code
java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:457)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:654)
at org.apache.jk.server.JkCoyoteHandler.action(JkCoyoteHandler.java:472)
at org.apache.coyote.Response.action(Response.java:226)
at org.apache.coyote.Response.finish(Response.java:348)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:329)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:395)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Unknown Source)
I'm using the following configuration:
Windows 2003 Server
Tomcat 4.1
Can anyone help me please?
Best Regards,
Philipp
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org