https://issues.apache.org/bugzilla/show_bug.cgi?id=54036
Priority: P2 Bug ID: 54036 Assignee: dev@tomcat.apache.org Summary: currentThreadsBusy issue in centos 6 Severity: critical Classification: Unclassified OS: Linux Reporter: vigo...@gmail.com Hardware: PC Status: NEW Version: 7.0.32 Component: Connectors Product: Tomcat 7 Hi, since when centos 6 went out I've tryed to switch some of my server from centos 5.x to 6.x I currently own 13 servers with tomcat installed , thse servers have a very high load, and contain only 1 servlet never reloaded/unloaded which print out static content (no cookie/session) i use the compiled JNI (with apr ) , initially everythin was 1 servlet inside tomcat, now i have directly embedded tomcat into the servlet, the issue is: when i have tomcat (jdk from 1.6.x to 1.7.x doesn't change) and the load become a bit intense (about 600 req/sec ) the currentThreadsBusy become very high till maxes out (220 currentThreadsBusy) and stay at that value, seems that threads have some issue in closing ( i've inserted an atomic timer in servlets to monitor if these remains up, and cuncurrent executions calculated by this timer remain between 1 or 2 !!) and that's right because cpu usage is at 0.3%! same identical configuration in a server with centos 5.x run fine with about 15 threads busy serving about 8k requests/second with cpu usage of about 35% (even if cuncurrent servlet in execution are usually 1 or 2 here too), seems that tomcat have some issue detaching the thread, i supposed that was my fault of some configuration (even if i'm not so dumb on that ) the ni found that this guy have the same problem : http://efreedom.com/Question/1-7296648/Tomcat-Centos-CurrentThreadsBusy-Issue no one seems to have a solution, initially i thought that was because centos 6 was pretty recent so maybe the issue would be fixed in earlyer releases of tomcat, but we are at 7.0.32 and the problem persist.. when i have time i want to try to help in developement of tomcat (i'm learning a bit of his internal syntax while working on it.. ) but at this moment i don't even have time to sleep.. nor to provide some easily reproducible test case , also because this need a bit of load from different sources, but if you have suggestions i can try to implements and let you know if works , best i can do now is to attach thread dump of the current bugged execution (with all threads stuck here at org.apache.tomcat.jni.Socket.recvbb(Native Method) at org.apache.coyote.http11.InternalAprInputBuffer.fill(InternalAprInputBuffer.java:575) at org.apache.coyote.http11.InternalAprInputBuffer.parseRequestLine(InternalAprInputBuffer.java:134) please let me know.. at this moment i'm again going to reinstall centos 5.x on that server and give up, because i need this server up and working today.. but anyway this issues must be fixed. -- 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