Re: Deadlock problem

On Thu, 3 Jun 1999, Cedric Vieau wrote:

> Hello,
> 

Thanks for the info, btw, I modified some code between 2.0.2 and the
current devel release, can you try with the latest version?
Also, if you use the latest release of the solaris jdk, you may see
deadlocks while doing ctrl-\ (http://www.sun.com/solaris/java/) 1.2.1_02
or 03.
I will try to mimic your setup and see what happens.

> 
> I use Jigsaw2.0.2 on Sun2.6 configured as a proxy.
> Jigsaw use another proxy to go through a firewall.
> 
> When I use Jigsaw for a while (about 500 requests), it blocks and I can't connect :
> 
> --------------------------------------------------------------------------------
> > telnet jigsawhost 8001
> Trying 10.0.0.1...
> Connected to jigsawhost.domain.com.
> Escape character is '^]'.
> Connection closed by foreign host.
> --------------------------------------------------------------------------------
> 
> I aborded the Jigsaw process, and here is a part of what it shows:
> 
> --------------------------------------------------------------------------------
>     org.w3c.www.protocol.http.HttpBasicConnection@EBC6C890/EBF844A0: owner 
> "socket-clients:16" (0x456e28) 1 entry
>         Waiting to enter:
>             "socket-clients:33" (0x47ddf0)
> 
>     org.w3c.www.protocol.http.HttpBasicServer@EBC6D4B8/EBEB8520: owner 
> "socket-clients:33" (0x47ddf0) 1 entry
>         Waiting to enter:
>             "socket-clients:16" (0x456e28)
> --------------------------------------------------------------------------------
> 
> and
> 
> --------------------------------------------------------------------------------
>     "socket-clients:33" (TID:0xebc7c3e0, sys_thread_t:0x47ddf0, state:MW) prio=5
>         at org.w3c.www.protocol.http.HttpBasicConnection.close(Compiled Code)
>         at org.w3c.www.protocol.http.HttpManager.closeAnyConnection(Compiled Code)
>         at org.w3c.www.protocol.http.HttpManager.notifyConnection(Compiled Code)
>         at org.w3c.www.protocol.http.HttpBasicServer.allocateConnection(Compiled Code)
>         at org.w3c.www.protocol.http.HttpBasicServer.getConnection(Compiled Code)
>         at org.w3c.www.protocol.http.HttpBasicServer.runRequest(Compiled Code)
>         at org.w3c.www.protocol.http.HttpManager.runRequest(Compiled Code)
>         at org.w3c.jigsaw.proxy.ForwardFrame.perform(Compiled Code)
>         at org.w3c.tools.resources.FramedResource.performFrames(Compiled Code)
>         at org.w3c.tools.resources.FramedResource.perform(Compiled Code)
>         at org.w3c.jigsaw.http.httpd.perform(Compiled Code)
>         at org.w3c.jigsaw.http.Client.processRequest(Compiled Code)
>         at org.w3c.jigsaw.http.Client.startConnection(Compiled Code)
>         at org.w3c.jigsaw.http.socket.SocketClient.run(Compiled Code)
>         at org.w3c.util.CachedThread.run(Compiled Code)
> 
>     "socket-clients:16" (TID:0xebc7f148, sys_thread_t:0x456e28, state:MW) prio=5
>         at org.w3c.www.protocol.http.HttpBasicServer.unregisterConnection(Compiled Code)
>         at org.w3c.www.protocol.http.HttpBasicConnection.markUsed(Compiled Code)
>         at org.w3c.www.protocol.http.HttpBasicServer.getConnection(Compiled Code)
>         at org.w3c.www.protocol.http.HttpBasicServer.runRequest(Compiled Code)
>         at org.w3c.www.protocol.http.HttpManager.runRequest(Compiled Code)
>         at org.w3c.jigsaw.proxy.ForwardFrame.perform(Compiled Code)
>         at org.w3c.tools.resources.FramedResource.performFrames(Compiled Code)
>         at org.w3c.tools.resources.FramedResource.perform(Compiled Code)
>         at org.w3c.jigsaw.http.httpd.perform(Compiled Code)
>         at org.w3c.jigsaw.http.Client.processRequest(Compiled Code)
>         at org.w3c.jigsaw.http.Client.startConnection(Compiled Code)
>         at org.w3c.jigsaw.http.socket.SocketClient.run(Compiled Code)
>         at org.w3c.util.CachedThread.run(Compiled Code)
> --------------------------------------------------------------------------------
> 
> Isn't it a deadlock ?
> Perhaps someone could help me.
> thanks
> 
> Cedric Vieau
> 
> P.S. the full Jigsaw process dump is attached to this mail
> 

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    

Received on Thursday, 3 June 1999 11:01:03 UTC