Re: running out of file descriptors

Holger Kiehl <[email protected]>
Newsgroups org.kernel.vger.linux-c-programming
Message-ID <[email protected]>
On Tue, 17 Feb 2009, Bryan Christ wrote:

> Thanks Glynn.
>
> Well according to these values I'm only using about 1500 file
> descriptors out of the 560178.
>
If I remember correctly you are using sockets. How many sockets does
your system have in TIME_WAIT? You can check this with 'netstat -nt|wc -l'.
If you open and close TCP sockets at a high rate you will soon find
that you hit a limit here as well.

Holger
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.