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 2012/11/06 08:50:48 UTC

[Bug 54105] New: Thread BLOCKED - Restart tomcat

https://issues.apache.org/bugzilla/show_bug.cgi?id=54105

          Priority: P2
            Bug ID: 54105
          Assignee: dev@tomcat.apache.org
           Summary: Thread BLOCKED - Restart tomcat
          Severity: critical
    Classification: Unclassified
                OS: Linux
          Reporter: alim.yigiter@obi.de
          Hardware: PC
            Status: NEW
           Version: unspecified
         Component: Catalina
           Product: Tomcat 6

Created attachment 29559
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29559&action=edit
Full thread dump Java

After Warnings like: 
Nov 5, 2012 2:27:21 PM org.apache.jk.common.ChannelSocket processConnection
WARNING: processCallbacks status 2


Thread Blocks at ChannelSocket.java:303 (siehe attachment):

"TP-Processor4" daemon prio=10 tid=0x00002aaacc88f800 nid=0x21ba waiting for
monitor entry [0x0000000044145000]
   java.lang.Thread.State: BLOCKED (on object monitor)
    at org.apache.jk.common.ChannelSocket.accept(ChannelSocket.java:303)
    - waiting to lock <0x00000005bab537d8> (a
org.apache.jk.common.ChannelSocket)
    at
org.apache.jk.common.ChannelSocket.acceptConnections(ChannelSocket.java:666)
    at
org.apache.jk.common.ChannelSocket$SocketAcceptor.runIt(ChannelSocket.java:877)
    at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
    at java.lang.Thread.run(Thread.java:662)

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 54105] Thread BLOCKED - Restart tomcat

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54105

--- Comment #1 from Alim Yigiter <al...@obi.de> ---
VM and Appserver
Java Runtime:    Java(TM) SE Runtime Environment
Version:    1.6.0_22
Java VM Name:    Java HotSpot(TM) 64-Bit Server VM
Available Processors/Cores:    8
Server time:    Tue Nov 06 09:30:50 CET 2012
Server info:    Apache Tomcat/6.0.29

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 54105] Thread BLOCKED - Restart tomcat

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54105

Konstantin Kolinko <kn...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Konstantin Kolinko <kn...@gmail.com> ---
1. There is nothing wrong with Acceptor thread waiting for incoming
connections. 

It is its job to wait for those.

2. "2" is the value of JkHandler.ERROR.

Nothing more can be said from that.

3. The Catalina$CatalinaShutdownHook thread ("Thread-19") is stalled in
unLockSocket(). That is, trying to open a new connection to Tomcat. That is
normal.

If the acceptor thread is in good state (waiting on a socket) and new
connections cannot be made, the cause is somewhere in the network libraries,
out of the control of Tomcat.

If you need further help with it, ask on the users list.

Maybe you could use other tools to diagnose your network, maybe you are hitting
ulimits.

Maybe you have hit OutOfMemory some time earlier (and as a consequence your JVM
is hardly usable any more).


4. A "critical" issue?

Note that 6.0.29 is more than 2 years old. A number of issues has been fixed
since then, including some issues with AJP protocol and some security issues.

Closing as INVALID.

BTW, the org.apache.jk implementation of AJP protocol was removed from later
versions of Apache Tomcat. Whatever this issue is, those classes do not exist
in Tomcat 7 and later.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 54105] Thread BLOCKED - Restart tomcat

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54105

Alim Yigiter <al...@obi.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |6.0.29

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org