W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 1999

Re: Deadlock problem

From: Yves Lafon <ylafon@w3.org>
Date: Thu, 3 Jun 1999 17:00:55 +0200 (MET DST)
To: Cedric Vieau <Cedric.Vieau@xrce.xerox.com>
cc: www-jigsaw@w3.org
Message-ID: <Pine.GSO.4.10.9906031657500.8846-100000@tarantula.inria.fr>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:29 GMT