Re: TCP_KEEPIDLE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 13 Mar 2004, Lyle Coder wrote:

> Hi,
> I have a case where my server accepts connections from clients that 
> imporperly shit down, causing a large number of file descriptors to remain 
> in use by my server program (the kernel has not notified me that the remote 
> client is non existent anymore)
> 
> Can I use TCP_KEEPIDLE for this?

You can use SO_KEEPALIVE for this, and optionally tune how it behaves with
TCP_KEEPIDLE and friends or the similar global sysctl parameters..

   man 7 socket
   man 7 tcp

Regards
Henrik

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux