[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: tcp_close and SHUT_RDWR, too many opened sockets



At 07:36 AM 2002-06-19, Lise Didillon wrote:
>I do that because we got many and many connection in FIN_WAIT or CLOSE_WAIT state.  Now it's a little better. But maby have you some idea to reduce the number of opened socket or how to close them immediately when you close a connection in slapd.
>the problem arrives for us because of the system limit for file descriptor.

There are three things you can look into:
1) setting an idle timeout in slapd.conf(5)
2) raising the number of file descriptors available to slapd(8)
3) tuning the kernel to close TCP streams more quickly.

Kurt