Bug ID: 66329
           Summary: The Tomcat connection processing thread may exit
           Product: Tomcat 8
           Version: 8.5.31
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Catalina
  Target Milestone: ----

Created attachment 38427
A large number of connections enter close_wait

In tomcat$Poller processKey method of
class, when in the process of selling Throwable handling, use ExpectionUtils.
The handleThrowable method handles the exception, and the ExpectionUtils after
capturing the Throwable process the logic as follows: When the Throwable
implementation class is ThreadDeath or VirtualMachineError, the clientPoller
thread exits by throwing an exception 
Our tomcat runs on linux and limits the maximum number of user threads. When
the number of threads reaches the upper limit, tomcat cannot create new
processing threads and throws OutOfMemoryError, which is a subclass of
VirtualMachineError. The clientPoller thread exits without closing connections
being processed. New requests come in and the Acceptor thread accepts requests.
In this case, a large number of connections are in the close_wait state without
clietPoller to process them

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to