https://bz.apache.org/bugzilla/show_bug.cgi?id=62185
Bug ID: 62185 Summary: Acceptor Thread Terminates Product: Tomcat 7 Version: 7.0.85 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: Connectors Assignee: dev@tomcat.apache.org Reporter: bogdan.du...@enghouse.com Target Milestone: --- Acceptor Thread terminates and no further requests are being accepted by Apache Tomcat. Steps to reproduce: Set max user processes to a low number(to the user that starts the server): e.g.: ulimit -u 40 run a few thousand requests or more to an Apache endpoint. If the ulimit for max processes is reached, java/org/apache/tomcat/util/net/JIoEndpoint.java:255 will throw a VirtualMachineError and it will terminate the AcceptorThread. Exception in thread "http-bio-8080-Acceptor-0" java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:714) at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:950) at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1368) at org.apache.tomcat.util.threads.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:166) at org.apache.tomcat.util.threads.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:146) at org.apache.tomcat.util.net.JIoEndpoint.processSocket(JIoEndpoint.java:533) at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:236) at java.lang.Thread.run(Thread.java:745) -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org