W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 1998

Re: Are SocketClients dying?

From: Yves Lafon <ylafon@w3.org>
Date: Tue, 17 Feb 1998 14:17:07 +0100 (MET)
To: Wolfgang Platzer <wplatzer@iaik.tu-graz.ac.at>
cc: Jigsaw Mailinglist <www-jigsaw@w3.org>
Message-ID: <Pine.GSO.3.96.980217140600.22500A-100000@tarantula.inria.fr>
On Tue, 17 Feb 1998, Wolfgang Platzer wrote:

> I am running Jigsaw with its default configuration. If then Jigsaw runs a
> week or so and I point my browser to /Admin/threads I get a page with a
> Thread dump. But there are socket clients missing. At this time the socket
> clients 1, 9 and 20 are missing, the last one is 23.
> Where are the missing ones? As I know after starting Jigsaw there are 32
> socket clients.

It is not a problem if a client disappear, as a new one will be created if
needed (of course if it disappears and the number of client in the
clientpool is not decremented, it IS a problem!). Do you reach a situation
where a netstat shows that there are only few connections and Jigsaw
doesn't want to create a new one?

> Wolfgang
> PS: In SocketClient.java line 222 (Jigsaw1beta2) there is the following
> line:
> socket.setSoTimeout(300000); // FIXME for debugging only

This has been added to close some ghost connections after a timeout. While
debugging the proxy I find out that some connection were considerered as
active, but they were closed on the other side. Some thread were "eaten".
This timeout has been set, but it should be a property instead...

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \                Architecture Domain - Jigsaw
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    
Received on Tuesday, 17 February 1998 08:17:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:41:24 UTC