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 2002/10/18 11:51:37 UTC

DO NOT REPLY [Bug 13759] New: - Tomcat Coyote hangs at fill() spending 100% CPU

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13759>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13759

Tomcat Coyote hangs at fill() spending 100% CPU

           Summary: Tomcat Coyote hangs at fill() spending 100% CPU
           Product: Tomcat 4
           Version: 4.1.12
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connector:Coyote HTTP/1.1
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: vicentesalvador@netscape.net


I've just seen this with Linux OS, but this maybe can be at any platform.

After some hours working, some threads (1 or 2) of Tomcat begins to spend 100%
CPU. Tomcat respond to new request but very very slowlly.

Here I attach the thread trace of the threads spending 100% CPU:

CPU1 states:  0,0% user,  7,0% system,  0,0% nice, 92,5% idle
Mem:  1029620K av,  762008K used,  267612K free,       0K shrd,  157844K buff
Swap: 1060248K av,       0K used, 1060248K free                  219684K cached
$<5>$<3>$<2>$<2>PID to kill: $<2>ill 
  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
20060 root      15   0  297M 297M 67604 R    99,9 29,5 135:44 java
  764 jas       15   0  1096 1096   812 R     7,0  0,1   0:07 top
    1 root       8   0   504  504   440 S     0,0  0,0   0:07 init
    2 root       8   0     0    0     0 SW    0,0  0,0   0:00 keventd
 ...
 
 

"Thread-13" daemon prio=1 tid=0x0x8d053b0 nid=0x4e5c runnable
[bc3ff000..bc3ff8ac]       
        at
org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:777)
        at
org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:807)
        at
org.apache.coyote.http11.filters.IdentityInputFilter.end(IdentityInputFilter.java:203)
        at
org.apache.coyote.http11.InternalInputBuffer.endRequest(InternalInputBuffer.java:398)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor..java:418)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint..java:508)    
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:518)
        at java.lang.Thread.run(Thread.java:536)

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>