Interesting that there are alot of threads waiting to lock on the
KeepAliveCache hashtable...
"tcpConnection-6802-180" daemon prio=1 tid=0x0x6939f7f0 nid=0x6eb runnable
[bc3ff000..bc3ff8ac]
at sun.net.www.http.KeepAliveCache.put(KeepAliveCache.java:76)
Seems to be the culprit...
Line 76 for KeepAliveCache.java is:
KeepAliveKey key = new KeepAliveKey(url, obj);
Though, unless the URL object is locked, then we should see it doing this.
Seems to be waiting for a lock on the URL object inside the Burlap proxy:
- waiting to lock <0x47b3db80> (a
sun.net.www.protocol.http.HttpURLConnection)
at com.caucho.burlap.client.BurlapProxy.invoke(BurlapProxy.java:111)
Scott, do you have light to shed on this matter?
Damien
At 10:04 AM 23/09/2002 +0200, resin@xxx.com wrote:
>I try to describe the situation:
>
>The members login to the community and in a frame every 30 sec is check
>if the user has new messages. This frame refreshes itself every 30 sec. and
>tries to get the messages from resin on another phy. server.
>This resin houses just a webservice implemented with burlap. With this
>webservice the user are able to communicate and send eachother quickmessages.
>
>After 4-5 hours the main resin server stops working and I get the mentioned
>thread dump. MOst of the threads are blocked when they try to make a
>connection
>to the resin webservice over burlap.
>
>I think it could be something wrong with the burlap protokoll?
>I deaktivated the quickmessages and the problem ist no more present.
>
>The following section show a blocked thread tring to connect to resin with
>the
>webservice installed.
>
>
>
>"tcpConnection-6802-174" daemon prio=1 tid=0x0x6a016f78 nid=0x680 waiting for
>monitor entry [bd7ff000..bd7ff8ac]
> at java.util.Hashtable.get(Hashtable.java:325)
> - waiting to lock <0x47e9b758> (a sun.net.www.http.KeepAliveCache)
> at sun.net.www.http.KeepAliveCache.get(KeepAliveCache.java:113)
> at sun.net.www.http.HttpClient.New(HttpClient.java:315)
> at sun.net.www.http.HttpClient.New(HttpClient.java:306)
> at sun.net.www.http.HttpClient.New(HttpClient.java:301)
> at sun.net.www.protocol.http.HttpURLConnection.plainConnect
>(HttpURLConnection.java:469)
> at sun.net.www.protocol.http.HttpURLConnection.connect
>(HttpURLConnection.java:460)
> at sun.net.www.protocol.http.HttpURLConnection.getOutputStream
>(HttpURLConnection.java:516)
> - locked <0x47b59d08> (a sun.net.www.protocol.http.HttpURLConnection)
> at com.caucho.burlap.client.BurlapProxy.invoke(BurlapProxy.java:111)
> at $Proxy0.isUserOnline(Unknown Source)
> at smart.community.ui.SmartCommunityController.checkOnlineUserList
>(SmartCommunityController.java:3097)
> at smart.community.ui.MessageController.message
>(MessageController.java:164)
> at _content._de._service._chat._aspopup._refresh__jsp._jspService
>(_refresh__jsp.java:85)
> at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
> at com.caucho.jsp.Page.subservice(Page.java:485)
> at com.caucho.server.http.FilterChainPage.doFilter
>(FilterChainPage.java:182)
> at com.caucho.server.http.Invocation.service(Invocation.java:311)
> at com.caucho.server.http.RunnerRequest.handleRequest
>(RunnerRequest.java:342)
> at com.caucho.server.http.RunnerRequest.handleConnection
>(RunnerRequest.java:272)
> at com.caucho.server.TcpConnection.run(TcpConnection.java:137)
> at java.lang.Thread.run(Thread.java:536)
>
>
>
>
>/oezcan
>
>
>
>
>
>
>
>
> > What happens if you open up multiple browser instances (not new
> > windows),
> > and request pages from one browser after each other? Do the previous
> > ones
> > come back eventually, or are all stuck all the time?
> >
> > At 08:07 AM 23/09/2002 +0800, you wrote:
> > >That is the whole thread dump?
> > >
> > >(1.4 thread dumps are much more interesting to loop at btw)
> > >
> > >Damien
> > >
> > >At 12:22 AM 23/09/2002 +0200, you wrote:
> > >>Hi Scott and other interested people,
> > >>
> > >>I have the following thread dump using resin 2.1.1, sun jdk 1.4_02 on
> > linux.
> > >>Resin is no more able to handle the request, it seems to be blocked.
> > Can you
> > >>interprete the following thread dump.
> > >>
> > >>
> > >>Thank you for your support.
> > >>
> > >>/oezcan
> > >>
> > >>
> > >>
> > >>"tcpConnection-6802-179" daemon prio=1 tid=0x0x69345708 nid=0x6e5
> > waiting on
> > >>monitor [bc5ff000..bc5ff8ac]
> > >> at java.lang.StringBuffer.toString(StringBuffer.java:1233)
> > >> at sun.net.www.MessageHeader.print(MessageHeader.java:169)
> > >> - locked <0x47ab5148> (a sun.net.www.MessageHeader)
> > >> at
> > sun.net.www.http.HttpClient.writeRequests(HttpClient.java:658)
> > >> at sun.net.www.protocol.http.HttpURLConnection.writeRequests
> > >>(HttpURLConnection.java:265)
> > >> at
> > sun.net.www.protocol.http.HttpURLConnection.getInputStream
> > >>(HttpURLConnection.java:570)
> > >> - locked <0x47ab5060> (a
> > >> sun.net.www.protocol.http.HttpURLConnection)
> > >> at
> > com.caucho.burlap.client.BurlapProxy.invoke(BurlapProxy.java:119)
> > >> at $Proxy0.incGuestCounter(Unknown Source)
> > >> at smart.community.helper.SessionGuestHelper.valueBound
> > >>(SessionGuestHelper.java:69)
> > >> at com.caucho.http.session.SessionImpl.setAttribute
> > >>(SessionImpl.java:318)
> > >> at
> > smart.community.ui.SmartCommunityController.setServletContext2
> > >>(SmartCommunityController.java:277)
> > >> at smart.community.ui.SmartCommunityController.getDummyModel
> > >>(SmartCommunityController.java:2968)
> > >> at smart.community.ui.SmartCommunityController.loginAsGuest
> > >>(SmartCommunityController.java:3050)
> > >> at _index__jsp._jspService(_index__jsp.java:85)
> > >> at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
> > >> at com.caucho.jsp.Page.subservice(Page.java:485)
> > >> at com.caucho.server.http.FilterChainPage.doFilter
> > >>(FilterChainPage.java:182)
> > >> at
> > com.caucho.server.http.Invocation.service(Invocation.java:311)
> > >> at com.caucho.server.http.RunnerRequest.handleRequest
> > >>(RunnerRequest.java:342)
> > >> at com.caucho.server.http.RunnerRequest.handleConnection
> > >>(RunnerRequest.java:272)
> > >> at
> > com.caucho.server.TcpConnection.run(TcpConnection.java:137)
> > >> at java.lang.Thread.run(Thread.java:536)
> > >>
> > >>"tcpConnection-6802-178" daemon prio=1 tid=0x0x698ad790 nid=0x6a5
> > waiting for
> > >>monitor entry [b7dff000..b7dff8ac]
> > >> at java.util.Hashtable.get(Hashtable.java:325)
> > >> - waiting to lock <0x47e9b758> (a
> > sun.net.www.http.KeepAliveCache)
> > >> at
> > sun.net.www.http.KeepAliveCache.get(KeepAliveCache.java:113)
> > >> at sun.net.www.http.HttpClient.New(HttpClient.java:315)
> > >> at sun.net.www.http.HttpClient.New(HttpClient.java:306)
> > >> at sun.net.www.http.HttpClient.New(HttpClient.java:301)
> > >> at sun.net.www.protocol.http.HttpURLConnection.plainConnect
> > >>(HttpURLConnection.java:469)
> > >> at sun.net.www.protocol.http.HttpURLConnection.connect
> > >>(HttpURLConnection.java:460)
> > >> at
> > sun.net.www.protocol.http.HttpURLConnection.getOutputStream
> > >>(HttpURLConnection.java:516)
> > >> - locked <0x47b5a0d8> (a
> > >> sun.net.www.protocol.http.HttpURLConnection)
> > >> at
> > com.caucho.burlap.client.BurlapProxy.invoke(BurlapProxy.java:111)
> > >> at $Proxy0.incGuestCounter(Unknown Source)
> > >> at smart.community.helper.SessionGuestHelper.valueBound
> > >>(SessionGuestHelper.java:69)
> > >> at com.caucho.http.session.SessionImpl.setAttribute
> > >>(SessionImpl.java:318)
> > >> at
> > smart.community.ui.SmartCommunityController.setServletContext2
> > >>(SmartCommunityController.java:277)
> > >> at smart.community.ui.SmartCommunityController.getDummyModel
> > >>(SmartCommunityController.java:2968)
> > >> at smart.community.ui.SmartCommunityController.loginAsGuest
> > >>(SmartCommunityController.java:3050)
> > >> at _index__jsp._jspService(_index__jsp.java:85)
> > >> at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
> > >> at com.caucho.jsp.Page.subservice(Page.java:485)
> > >> at com.caucho.server.http.FilterChainPage.doFilter
> > >>(FilterChainPage.java:182)
> > >> at
> > com.caucho.server.http.Invocation.service(Invocation.java:311)
> > >> at com.caucho.server.http.RunnerRequest.handleRequest
> > >>(RunnerRequest.java:342)
> > >> at com.caucho.server.http.RunnerRequest.handleConnection
> > >>(RunnerRequest.java:272)
> > >> at
> > com.caucho.server.TcpConnection.run(TcpConnection.java:137)
> > >> at java.lang.Thread.run(Thread.java:536)
> > >>
> > >>"tcpConnection-6802-177" daemon prio=1 tid=0x0x693469f8 nid=0x6a3
> > runnable
> > >>[bb5ff000..bb5ff8ac]
> > >> at java.net.SocketInputStream.socketRead0(Native Method)
> > >> at
> > java.net.SocketInputStream.read(SocketInputStream.java:116)
> > >> at com.caucho.vfs.SocketStream.read(SocketStream.java:156)
> > >> at com.caucho.vfs.ReadStream.readBuffer(ReadStream.java:790)
> > >> at com.caucho.vfs.ReadStream.read(ReadStream.java:343)
> > >> at com.caucho.vfs.ReadStream.readAll(ReadStream.java:373)
> > >> at com.caucho.server.http.RunnerRequest.scanHeaders
> > >>(RunnerRequest.java:489)
> > >> at com.caucho.server.http.RunnerRequest.handleRequest
> > >>(RunnerRequest.java:313)
> > >> at com.caucho.server.http.RunnerRequest.handleConnection
> > >>(RunnerRequest.java:272)
> > >> at
> > com.caucho.server.TcpConnection.run(TcpConnection.java:137)
> > >> at java.lang.Thread.run(Thread.java:536)
> > >>
> > >>"tcpConnection-6802-176" daemon prio=1 tid=0x0x69b080d0 nid=0x6a0
> > waiting for
> > >>monitor entry [b85ff000..b85ff8ac]
> > >> at com.caucho.jsp.PageManager.getPage(PageManager.java:310)
> > >> - waiting to lock <0x47051048> (a
> > com.caucho.jsp.PageManager$Entry)
> > >> at com.caucho.jsp.PageManager.getPage(PageManager.java:191)
> > >> at com.caucho.jsp.QServlet.getPage(QServlet.java:215)
> > >> at com.caucho.server.http.FilterChainPage.doFilter
> > >>(FilterChainPage.java:129)
> > >> at
> > com.caucho.server.http.Invocation.service(Invocation.java:311)
> > >> at com.caucho.server.http.RunnerRequest.handleRequest
> > >>(RunnerRequest.java:342)
> > >> at com.caucho.server.http.RunnerRequest.handleConnection
> > >>(RunnerRequest.java:272)
> > >> at
> > com.caucho.server.TcpConnection.run(TcpConnection.java:137)
> > >> at java.lang.Thread.run(Thread.java:536)
> > >>
> > >>"tcpConnection-6802-175" daemon prio=1 tid=0x0x691e41a8 nid=0x682
> > runnable
> > >>[b89ff000..b89ff8ac]
> > >> at java.net.SocketInputStream.socketRead0(Native Method)
> > >> at
> > java.net.SocketInputStream.read(SocketInputStream.java:116)
> > >> at com.caucho.vfs.SocketStream.read(SocketStream.java:156)
> > >> at com.caucho.vfs.ReadStream.readBuffer(ReadStream.java:790)
> > >> at com.caucho.vfs.ReadStream.read(ReadStream.java:343)
> > >> at com.caucho.vfs.ReadStream.readAll(ReadStream.java:373)
> > >> at com.caucho.server.http.RunnerRequest.scanHeaders
> > >>(RunnerRequest.java:489)
> > >> at com.caucho.server.http.RunnerRequest.handleRequest
> > >>(RunnerRequest.java:313)
> > >> at com.caucho.server.http.RunnerRequest.handleConnection
> > >>(RunnerRequest.java:272)
> > >> at
> > com.caucho.server.TcpConnection.run(TcpConnection.java:137)
> > >> at java.lang.Thread.run(Thread.java:536)
> > >>
> > >>"tcpConnection-6802-174" daemon prio=1 tid=0x0x6a016f78 nid=0x680
> > waiting for
> > >>monitor entry [bd7ff000..bd7ff8ac]
> > >> at java.util.Hashtable.get(Hashtable.java:325)
> > >> - waiting to lock <0x47e9b758> (a
> > sun.net.www.http.KeepAliveCache)
> > >> at
> > sun.net.www.http.KeepAliveCache.get(KeepAliveCache.java:113)
> > >> at sun.net.www.http.HttpClient.New(HttpClient.java:315)
> > >> at sun.net.www.http.HttpClient.New(HttpClient.java:306)
> > >> at sun.net.www.http.HttpClient.New(HttpClient.java:301)
> > >> at sun.net.www.protocol.http.HttpURLConnection.plainConnect
> > >>(HttpURLConnection.java:469)
> > >> at sun.net.www.protocol.http.HttpURLConnection.connect
> > >>(HttpURLConnection.java:460)
> > >> at
> > sun.net.www.protocol.http.HttpURLConnection.getOutputStream
> > >>(HttpURLConnection.java:516)
> > >> - locked <0x47b59d08> (a
> > >> sun.net.www.protocol.http.HttpURLConnection)
> > >> at
> > com.caucho.burlap.client.BurlapProxy.invoke(BurlapProxy.java:111)
> > >> at $Proxy0.isUserOnline(Unknown Source)
> > >> at
> > smart.community.ui.SmartCommunityController.checkOnlineUserList
> > >>(SmartCommunityController.java:3097)
> > >> at smart.community.ui.MessageController.message
> > >>(MessageController.java:164)
> > >> at
> > _content._de._service._chat._aspopup._refresh__jsp._jspService
> > >>(_refresh__jsp.java:85)
> > >> at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
> > >> at com.caucho.jsp.Page.subservice(Page.java:485)
> > >> at com.caucho.server.http.FilterChainPage.doFilter
> > >>(FilterChainPage.java:182)
> > >> at
> > com.caucho.server.http.Invocation.service(Invocation.java:311)
> > >> at com.caucho.server.http.RunnerRequest.handleRequest
> > >>(RunnerRequest.java:342)
> > >> at com.caucho.server.http.RunnerRequest.handleConnection
> > >>(RunnerRequest.java:272)
> > >> at
> > com.caucho.server.TcpConnection.run(TcpConnection.java:137)
> > >> at java.lang.Thread.run(Thread.java:536)
> > >
> > >
> >
> >
> >
> >
Received on Mon 23 Sep 2002 03:46:45 -0700
This archive was generated by hypermail 2.1.8 : Thu Sep 28 2006 - 20:17:15 PDT