DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42925>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42925 Summary: Sendfile thread uses 100% cpu for long periods Product: Tomcat 6 Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: major Priority: P2 Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Tomcat 6.13 using APR, running under jsvc on linux (debian, but tomcat isn't installed via apt-get) 2.6.21 SMP. Sun Java 1.6.0. After tomcat was running for a short while (<15mins), cpu usage on one cpu would go to 100%, as shown by top. Using ps xU tomcat -fL showed that one tomcat thread was using far more cpu than all the others. Cross-referencing the thread id to a thread dump (from kill -3) showed that it was the sendfile thread that was consuming all the cpu time. Tomcat was still responding to requests while this was going on, but obviously the high cpu load was not necessary or helpful. Watching cpu usage via top showed that at times it would return to normal, but never for long. Workaround: I added 'useSendfile="false"' to the http connector, restarted tomcat, and it has now run with normal cpu usage for over 12 hours. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]