Date: Fri, 25 Jun 1999 10:55:53 +0200 From: Ladavac Marino <mladavac@metropolitan.at> To: 'Purrcat' <purrcat@edoropolis.org>, freebsd-questions@freebsd.org Subject: RE: netstat, hanging connections and forked daemons.. Message-ID: <55586E7391ACD211B9730000C110027617969E@r-lmh-wi-100.corpnet.at>
next in thread | raw e-mail | index | archive | help
> -----Original Message----- > From: Purrcat [SMTP:purrcat@edoropolis.org] > Sent: Friday, June 25, 1999 5:44 AM > To: freebsd-questions@freebsd.org > Subject: netstat, hanging connections and forked daemons.. > > Hi, > > I've read several posts on this mailing list about hanging connections > (as > been showed in netstat). I've got the same problem and know what to do > about it (reboot :( ), but I've got a little question about this.. [ML] there is also tcp keepalive sysctl which can be forcibly turned on. On newer releases you can even fiddle with the keepalive timeout. > Does this mean that when, for example, netstat sais 10 http > connections > are CLOSING (in a hanging state), 10 http daemons are wasted as > well??! [ML] It would seem so, if you're using Apache. IIRC, Apache uses a httpd child per socket, but I've RTFS some years ago, so it could have changed in the meantime. Try forcing the keepalives, and the kernel will find out that the win clients are no longer there even though they did not send the FIN_ACK (sonsabitches). It will then close the sockets. /Marino > Thanks for the answer in advance.. > > Kind regards, > > -- Khamba Staring > > "People who generalize things are stupid!" > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55586E7391ACD211B9730000C110027617969E>