You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2021/06/20 18:05:33 UTC
[Bug 65392] New: Tomcat deadlocks under extreme system load
https://bz.apache.org/bugzilla/show_bug.cgi?id=65392
Bug ID: 65392
Summary: Tomcat deadlocks under extreme system load
Product: Ant
Version: 1.10.10
Hardware: Sun
OS: Solaris
Status: NEW
Severity: normal
Priority: P1
Component: .NET Antlib
Assignee: notifications@ant.apache.org
Reporter: arturoiam909@icloud.com
CC: dev@tomcat.apache.org, peter.mezey@pss.boeing.com
Depends on: 725
Target Milestone: ---
+++ This bug was initially created as a clone of Bug #725 +++
Problem appears when a Verity search engine spider is launched against a
document bundle consisting of approximately 5,000 jsp pages (each page has many
links to the other pages in the bundle). The use of actual jsp code is light.
Each page only has a <jsp:include ... tag in it to get a consistent look and
feel. As the vspider program slams requests at Apache/Tomcat, you can watch
the
memory usage slowly rise using "top". Once it gets to about 170MB in SIZE, the
system goes into a 100% iowait state and Tomcat no longer responds to any
requests. I have slowed the vspider down to use three request threads and to
pause 2 seconds between each request. At that rate, it can take from 30 - 60
minutes or longer before this happens (that works out to roughly 2,700 - 5,400
requests to Tomcat). Sometimes, I will see a stack trace, but not always:
java.net.SocketException: Connection reset by peer: Connection reset by peer
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.socketRead(Compiled Code)
at java.net.SocketInputStream.read(Compiled Code)
at
org.apache.tomcat.service.connector.TcpConnector.receiveFully(Compiled Code)
at org.apache.tomcat.service.connector.TcpConnector.receive(Compiled
Code)
at
org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Com
piled Code)
at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
The platform we have is the following:
uname -a reports:
SunOS urnge 5.6 Generic_105181-20 sun4u sparc SUNW,Ultra-2
JDK version is 1.2.2_07 (I have the same problem with 1.3.0)
Apache version is 1.3.12
Tomcat version is 3.2.1
I am using ajp13 (I have the same problem with ajp12)
The ajp13 setup in server.xml looks like this:
<Connector className="org.apache.tomcat.service.PoolTcpConnector">
<Parameter name="handler"
value="org.apache.tomcat.service.connector.Ajp13ConnectionHandler"/>
<Parameter name="port" value="8009"/>
<Parameter name="max_threads" value="200"/>
<Parameter name="max_spare_threads" value="50"/>
<Parameter name="min_spare_threads" value="20"/>
</Connector>
If there is any other information I can provide do not hesitate to ask.
Referenced Bugs:
https://bz.apache.org/bugzilla/show_bug.cgi?id=725
[Bug 725] Tomcat deadlocks under extreme system load
--
You are receiving this mail because:
You are on the CC list for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 65392] Tomcat deadlocks under extreme system load
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65392
--- Comment #1 from Arturo Maci <ar...@icloud.com> ---
Created attachment 37909
--> https://bz.apache.org/bugzilla/attachment.cgi?id=37909&action=edit
I’m not dure if this fume even bongs gerer
--
You are receiving this mail because:
You are on the CC list for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 65392] Tomcat deadlocks under extreme system load
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65392
--- Comment #2 from Michael Osipov <mi...@apache.org> ---
Is this report a joke?
--
You are receiving this mail because:
You are on the CC list for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org