Re: Can someone read a thread dump...
Re: Can someone read a thread dump...
- Subject: Re: Can someone read a thread dump...
- From: Dov Rosenberg <email@hidden>
- Date: Sat, 28 Apr 2007 09:17:27 -0400
- Thread-topic: Can someone read a thread dump...
My guess is that your app is doing a bunch of socket communications and
something isn't properly closing the sockets after use. I have seen similar
things when using HTTPClient from apache commons-net where the http
connections weren't being closed properly. Eventually the app starts
hanging.
I will be interested to hear other opinions
--
Dov Rosenberg
Inquira
Knowledge Management Experts
http://www.inquira.com
On 4/28/07 8:41 AM, "James Cicenia" <email@hidden> wrote:
> Hello -
>
> This one application is driving me crazy.
>
> It is a read only application! Yet it dies at least once a week which
> is unacceptable.
>
> Here is the thread dump, so if anyone can tell me what is happening
> to my app I would be really appreciative.
>
> Thanks
> James Cicenia
>
>
> Full thread dump Java HotSpot(TM) Server VM (1.5.0_07-87 mixed mode):
>
> "WorkerThread15" prio=5 tid=0x00622470 nid=0x18c9200 waiting for
> monitor entry [0xb161c000..0xb161cd10]
> at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:382)
> - waiting to lock <0x085be268> (a java.net.SocksSocketImpl)
> at java.net.ServerSocket.implAccept(ServerSocket.java:450)
> at java.net.ServerSocket.accept(ServerSocket.java:421)
> at com.webobjects.appserver._private.WOWorkerThread.run
> (WOWorkerThread.java:238)
> at java.lang.Thread.run(Thread.java:613)
>
> "WorkerThread14" prio=5 tid=0x00621fc0 nid=0x18c8e00 waiting for
> monitor entry [0xb159b000..0xb159bd10]
> at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:382)
> - waiting to lock <0x085be268> (a java.net.SocksSocketImpl)
> at java.net.ServerSocket.implAccept(ServerSocket.java:450)
> at java.net.ServerSocket.accept(ServerSocket.java:421)
> at com.webobjects.appserver._private.WOWorkerThread.run
> (WOWorkerThread.java:238)
> at java.lang.Thread.run(Thread.java:613)
>
> "WorkerThread13" prio=5 tid=0x00621b10 nid=0x18c8a00 waiting for
> monitor entry [0xb151a000..0xb151ad10]
> at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:382)
> - waiting to lock <0x085be268> (a java.net.SocksSocketImpl)
> at java.net.ServerSocket.implAccept(ServerSocket.java:450)
> at java.net.ServerSocket.accept(ServerSocket.java:421)
> at com.webobjects.appserver._private.WOWorkerThread.run
> (WOWorkerThread.java:238)
> at java.lang.Thread.run(Thread.java:613)
>
> "WorkerThread12" prio=5 tid=0x00621660 nid=0x18c8600 runnable
> [0xb1499000..0xb1499d10]
> at java.net.SocketInputStream.socketRead0(Native Method)
> at java.net.SocketInputStream.read(SocketInputStream.java:129)
> at com.webobjects.appserver._private.WOHttpIO.refillInputBuffer
> (WOHttpIO.java:131)
> at com.webobjects.appserver._private.WOHttpIO.readLine(WOHttpIO.java:
> 187)
> at com.webobjects.appserver._private.WOHttpIO.readRequestFromSocket
> (WOHttpIO.java:279)
> at com.webobjects.appserver._private.WOWorkerThread.runOnce
> (WOWorkerThread.java:79)
> at com.webobjects.appserver._private.WOWorkerThread.run
> (WOWorkerThread.java:254)
> at java.lang.Thread.run(Thread.java:613)
>
> "WorkerThread11" prio=5 tid=0x006211b0 nid=0x18c8200 waiting for
> monitor entry [0xb1418000..0xb1418d10]
> at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:382)
> - waiting to lock <0x085be268> (a java.net.SocksSocketImpl)
> at java.net.ServerSocket.implAccept(ServerSocket.java:450)
> at java.net.ServerSocket.accept(ServerSocket.java:421)
> at com.webobjects.appserver._private.WOWorkerThread.run
> (WOWorkerThread.java:238)
> at java.lang.Thread.run(Thread.java:613)
>
> "WorkerThread10" prio=5 tid=0x00620c60 nid=0x18c7e00 runnable
> [0xb1397000..0xb1397d10]
> at java.net.SocketInputStream.socketRead0(Native Method)
> at java.net.SocketInputStream.read(SocketInputStream.java:129)
> at com.webobjects.appserver._private.WOHttpIO.refillInputBuffer
> (WOHttpIO.java:131)
> at com.webobjects.appserver._private.WOHttpIO.readLine(WOHttpIO.java:
> 187)
> at com.webobjects.appserver._private.WOHttpIO.readRequestFromSocket
> (WOHttpIO.java:279)
> at com.webobjects.appserver._private.WOWorkerThread.runOnce
> (WOWorkerThread.java:79)
> at com.webobjects.appserver._private.WOWorkerThread.run
> (WOWorkerThread.java:254)
> at java.lang.Thread.run(Thread.java:613)
>
> "WorkerThread9" prio=5 tid=0x006207b0 nid=0x18c7a00 runnable
> [0xb1316000..0xb1316d10]
> at java.net.PlainSocketImpl.socketAccept(Native Method)
> at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
> - locked <0x085be268> (a java.net.SocksSocketImpl)
> at java.net.ServerSocket.implAccept(ServerSocket.java:450)
> at java.net.ServerSocket.accept(ServerSocket.java:421)
> at com.webobjects.appserver._private.WOWorkerThread.run
> (WOWorkerThread.java:238)
> at java.lang.Thread.run(Thread.java:613)
>
> "WorkerThread8" prio=5 tid=0x006203a0 nid=0x18c7600 runnable
> [0xb1295000..0xb1295d10]
> at java.net.SocketInputStream.socketRead0(Native Method)
> at java.net.SocketInputStream.read(SocketInputStream.java:129)
> at com.webobjects.appserver._private.WOHttpIO.refillInputBuffer
> (WOHttpIO.java:131)
> at com.webobjects.appserver._private.WOHttpIO.readLine(WOHttpIO.java:
> 187)
> at com.webobjects.appserver._private.WOHttpIO.readRequestFromSocket
> (WOHttpIO.java:279)
> at com.webobjects.appserver._private.WOWorkerThread.runOnce
> (WOWorkerThread.java:79)
> at com.webobjects.appserver._private.WOWorkerThread.run
> (WOWorkerThread.java:254)
> at java.lang.Thread.run(Thread.java:613)
>
> "WorkerThread7" prio=5 tid=0x0061fef0 nid=0x18d5a00 waiting for
> monitor entry [0xb1214000..0xb1214d10]
> at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:382)
> - waiting to lock <0x085be268> (a java.net.SocksSocketImpl)
> at java.net.ServerSocket.implAccept(ServerSocket.java:450)
> at java.net.ServerSocket.accept(ServerSocket.java:421)
> at com.webobjects.appserver._private.WOWorkerThread.run
> (WOWorkerThread.java:238)
> at java.lang.Thread.run(Thread.java:613)
>
> "WorkerThread6" prio=5 tid=0x0061fa40 nid=0x18d5600 runnable
> [0xb1193000..0xb1193d10]
> at java.net.SocketInputStream.socketRead0(Native Method)
> at java.net.SocketInputStream.read(SocketInputStream.java:129)
> at com.webobjects.appserver._private.WOHttpIO.refillInputBuffer
> (WOHttpIO.java:131)
> at com.webobjects.appserver._private.WOHttpIO.readLine(WOHttpIO.java:
> 187)
> at com.webobjects.appserver._private.WOHttpIO.readRequestFromSocket
> (WOHttpIO.java:279)
> at com.webobjects.appserver._private.WOWorkerThread.runOnce
> (WOWorkerThread.java:79)
> at com.webobjects.appserver._private.WOWorkerThread.run
> (WOWorkerThread.java:254)
> at java.lang.Thread.run(Thread.java:613)
>
> "WorkerThread5" prio=5 tid=0x0061f590 nid=0x18d5200 waiting for
> monitor entry [0xb1112000..0xb1112d10]
> at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:382)
> - waiting to lock <0x085be268> (a java.net.SocksSocketImpl)
> at java.net.ServerSocket.implAccept(ServerSocket.java:450)
> at java.net.ServerSocket.accept(ServerSocket.java:421)
> at com.webobjects.appserver._private.WOWorkerThread.run
> (WOWorkerThread.java:238)
> at java.lang.Thread.run(Thread.java:613)
>
> "WorkerThread4" prio=5 tid=0x0061f0e0 nid=0x18d4e00 waiting for
> monitor entry [0xb1091000..0xb1091d10]
> at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:382)
> - waiting to lock <0x085be268> (a java.net.SocksSocketImpl)
> at java.net.ServerSocket.implAccept(ServerSocket.java:450)
> at java.net.ServerSocket.accept(ServerSocket.java:421)
> at com.webobjects.appserver._private.WOWorkerThread.run
> (WOWorkerThread.java:238)
> at java.lang.Thread.run(Thread.java:613)
>
> "WorkerThread3" prio=5 tid=0x0061ec30 nid=0x18cbe00 waiting for
> monitor entry [0xb1010000..0xb1010d10]
> at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:382)
> - waiting to lock <0x085be268> (a java.net.SocksSocketImpl)
> at java.net.ServerSocket.implAccept(ServerSocket.java:450)
> at java.net.ServerSocket.accept(ServerSocket.java:421)
> at com.webobjects.appserver._private.WOWorkerThread.run
> (WOWorkerThread.java:238)
> at java.lang.Thread.run(Thread.java:613)
>
> "WorkerThread2" prio=5 tid=0x0061e7f0 nid=0x18cba00 waiting for
> monitor entry [0xb0f8f000..0xb0f8fd10]
> at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:382)
> - waiting to lock <0x085be268> (a java.net.SocksSocketImpl)
> at java.net.ServerSocket.implAccept(ServerSocket.java:450)
> at java.net.ServerSocket.accept(ServerSocket.java:421)
> at com.webobjects.appserver._private.WOWorkerThread.run
> (WOWorkerThread.java:238)
> at java.lang.Thread.run(Thread.java:613)
>
> "WorkerThread1" prio=5 tid=0x0061e3f0 nid=0x18cb600 waiting for
> monitor entry [0xb0f0e000..0xb0f0ed10]
> at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:382)
> - waiting to lock <0x085be268> (a java.net.SocksSocketImpl)
> at java.net.ServerSocket.implAccept(ServerSocket.java:450)
> at java.net.ServerSocket.accept(ServerSocket.java:421)
> at com.webobjects.appserver._private.WOWorkerThread.run
> (WOWorkerThread.java:238)
> at java.lang.Thread.run(Thread.java:613)
>
> "WorkerThread0" prio=5 tid=0x0061e270 nid=0x18c5400 waiting for
> monitor entry [0xb0e8d000..0xb0e8dd10]
> at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:382)
> - waiting to lock <0x085be268> (a java.net.SocksSocketImpl)
> at java.net.ServerSocket.implAccept(ServerSocket.java:450)
> at java.net.ServerSocket.accept(ServerSocket.java:421)
> at com.webobjects.appserver._private.WOWorkerThread.run
> (WOWorkerThread.java:238)
> at java.lang.Thread.run(Thread.java:613)
>
> "Thread-0" daemon prio=5 tid=0x00616610 nid=0x1848600 waiting on
> condition [0xb0e0c000..0xb0e0cd10]
> at java.lang.Thread.sleep(Native Method)
> at com.webobjects.appserver.WOApplication$_LifebeatThread.run
> (WOApplication.java:1233)
>
> "Session Timeout Thread" daemon prio=5 tid=0x00615540 nid=0x188fc00
> waiting on condition [0xb0d8b000..0xb0d8bd10]
> at java.lang.Thread.sleep(Native Method)
> at com.webobjects.appserver.WOSessionStore$_SessionTimeoutManager.run
> (WOSessionStore.java:110)
> at java.lang.Thread.run(Thread.java:613)
>
> "Low Memory Detector" daemon prio=5 tid=0x0060a7a0 nid=0x1819000
> runnable [0x00000000..0x00000000]
>
> "CompilerThread1" daemon prio=9 tid=0x00609d00 nid=0x1818c00 waiting
> on condition [0x00000000..0xb0c0832c]
>
> "CompilerThread0" daemon prio=9 tid=0x00609770 nid=0x1818800 waiting
> on condition [0x00000000..0xb0b8732c]
>
> "AdapterThread" daemon prio=9 tid=0x00609250 nid=0x1803c00 waiting on
> condition [0x00000000..0x00000000]
>
> "Signal Dispatcher" daemon prio=9 tid=0x00608d30 nid=0x1812600
> waiting on condition [0x00000000..0x00000000]
>
> "Finalizer" daemon prio=8 tid=0x00608390 nid=0x1813400 in Object.wait
> () [0xb0a04000..0xb0a04d10]
> at java.lang.Object.wait(Native Method)
> - waiting on <0x083d0218> (a java.lang.ref.ReferenceQueue$Lock)
> at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
> - locked <0x083d0218> (a java.lang.ref.ReferenceQueue$Lock)
> at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
> at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
>
> "Reference Handler" daemon prio=10 tid=0x00607f90 nid=0x1813000 in
> Object.wait() [0xb0983000..0xb0983d10]
> at java.lang.Object.wait(Native Method)
> - waiting on <0x083d0298> (a java.lang.ref.Reference$Lock)
> at java.lang.Object.wait(Object.java:474)
> at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
> - locked <0x083d0298> (a java.lang.ref.Reference$Lock)
>
> "main" prio=5 tid=0x006015b0 nid=0x1804a00 in Object.wait()
> [0xb07ff000..0xb08000dc]
> at java.lang.Object.wait(Native Method)
> - waiting on <0x08506630> (a com.webobjects.appserver._WORunLoop)
> at com.webobjects.appserver._WORunLoop._acceptInputBeforeDate
> (_WORunLoop.java:217)
> at com.webobjects.appserver._WORunLoop.runBeforeDate(_WORunLoop.java:
> 71)
> - locked <0x08506630> (a com.webobjects.appserver._WORunLoop)
> at com.webobjects.appserver.WOApplication._runOnce
> (WOApplication.java:775)
> at com.webobjects.appserver.WOApplication.run(WOApplication.java:900)
> at com.webobjects.appserver.WOApplication.main(WOApplication.java:324)
> at com.hb.Application.main(Application.java:70)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71)
>
> "VM Thread" prio=9 tid=0x00607760 nid=0x1812c00 runnable
>
> "VM Periodic Task Thread" prio=9 tid=0x0060b300 nid=0x1819400 waiting
> on condition
>
> "Exception Catcher Thread" prio=10 tid=0x006017d0 nid=0x1805200 runnable
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden