----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

quick grep through the source code does not show any setsockopt() setting
SO_LINGER in mod_jserv, nor any SO_LINGER set in jserv.  Does java
automatically set SO_LINGER for the TCP SocketImp??

- Greg

----- Original Message -----
From: Jon Smirl <[EMAIL PROTECTED]>
To: Java Apache Users <[EMAIL PROTECTED]>
Sent: Tuesday, January 18, 2000 12:35 PM
Subject: Re: thousands of localhost connections?


> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> There need to be some way to turn off this TIME_WAIT stuff. From earlier
> discussions TIME_WAIT is caused by the graceful close feature of TCP. A
> packet could be held up in a router and arrive after the socket is closed.
> If the socket number was recycled the packet could end up in someone else
> data stream.
>
> When JServ is used from local host or on a LAN there are no routers
involved
> and there is no way for delayed packets to exist.
>
> Time wait is controlled from the Linger socket option. This option needs
to
> set on the sockets created from mod_jserv and Jserv. It should be
defaulted
> off since 99.99% of Jserv user don't use a WAN connection between their
> Apache and Jserv engine. A config param could turn it back on.
>
> Can someone who is experiencing these problems try adding code to turn off
> LINGER?
>
> Jon Smirl
> [EMAIL PROTECTED]
>
>
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to