https://bz.apache.org/bugzilla/show_bug.cgi?id=58151

gregh <gregh3...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #14 from gregh <gregh3...@gmail.com> ---
Hello,

It started again and was on thread 3187 (see tomcatdump-8.0.24-2015-08-02.txt)

3187runner2003828m707m13mS16.518.56:38.29java    6:38.29 java       
"ajp-apr-8009-Poller" #28 daemon prio=5 os_prio=0 tid=0x00007f0be4626000
nid=0xc73 runnable [0x00007f0b92745000]



"ajp-apr-8009-Poller" #28 daemon prio=5 os_prio=0 tid=0x00007f0be4626000
nid=0xc73 runnable [0x00007f0b92745000]
   java.lang.Thread.State: RUNNABLE
    at org.apache.tomcat.jni.Poll.poll(Native Method)
    at org.apache.tomcat.util.net.AprEndpoint$Poller.run(AprEndpoint.java:1810)
    at java.lang.Thread.run(Thread.java:745)


I managed to get the debugger attached and a breakpoint in AprEndpoint class
line 1802 (below),  it seemed to be going in a loop which was consuming the
cpu.


// Poll for the specified interval
for (int i = 0; i < pollers.length; i++) {
..
}

the variable pollers.length == 1

For some reason it stopped breaking and the CPU went back to normal, after I
held it on the breakpoint for some time as I was looking at the source, so not
sure?

Cheers Greg

-- 
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

Reply via email to