> From: Maurice Mengel [mailto:mauricemen...@gmail.com]
> Subject: Re: tomcat hangs without anything
> 
> 4) here is the output of jstack.

Everything looks pretty normal here.

> "http-8080-1" daemon prio=6 tid=0x0344b000 nid=0x180c in Object.wait()
> [0x03adf000]
>    java.lang.Thread.State: WAITING (on object monitor)
>     at java.lang.Object.wait(Native Method)
>     - waiting on <0x077d0068> (a
> org.apache.tomcat.util.net.JIoEndpoint$Worker)
>     at java.lang.Object.wait(Object.java:485)

The one above is waiting for a socket from the next connection attempt by the 
client.

> "TP-Monitor" daemon prio=6 tid=0x03449800 nid=0x1e40 in Object.wait()

The thread pool monitor, doing nothing, as usual.

> "TP-Processor4" daemon prio=6 tid=0x031afc00 nid=0x13b0 runnable

This one is waiting for a connection over the AJP port (8009), which you likely 
aren't using.

> "TP-Processor3" daemon prio=6 tid=0x03441400 nid=0x1dec
> "TP-Processor2" daemon prio=6 tid=0x03466400 nid=0x1db8
> "TP-Processor1" daemon prio=6 tid=0x03448400 nid=0x1f60

Idle worker threads, waiting for requests to show up.

> "http-8080-Acceptor-0" daemon prio=6 tid=0x031b4c00 nid=0x173c runnable

This one is waiting for a connection over the HTTP port (8080).

> "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon prio=6
> tid=0x0345d400 nid=0x18dc

A normal Tomcat background thread.

> "GC Daemon" daemon prio=2 tid=0x03194c00 nid=0x18f4 
> "Low Memory Detector" daemon prio=6 tid=0x02ca6800 nid=0x1e00 runnable
> "CompilerThread0" daemon prio=10 tid=0x02ca3800 nid=0x1c6c
> "Attach Listener" daemon prio=10 tid=0x02ca2000 nid=0x1774 
> "Signal Dispatcher" daemon prio=10 tid=0x02ca0c00 nid=0x1a34 runnable
> "Finalizer" daemon prio=8 tid=0x02c62000 nid=0x1ea0 
> "Reference Handler" daemon prio=10 tid=0x02c5d400 nid=0x19c0

Standard JVM internal threads.
 
> "main" prio=6 tid=0x002a7400 nid=0x1528 runnable [0x0038f000]

The initial Tomcat thread, waiting for a shutdown command.

> "VM Thread" prio=10 tid=0x02c5bc00 nid=0x1c2c runnable
> "VM Periodic Task Thread" prio=10 tid=0x02cab800 nid=0x1db4

More internal JVM threads.

All looks perfectly normal for an idle Tomcat, waiting for clients to make 
requests.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

Reply via email to