Subject: Re: "Too many open files" hang in 1.3 and 1.3.3
To: Gunnar Helliesen <gunnar@bitcon.no>
From: Zdenek Salvet <salvet@ics.muni.cz>
List: port-i386
Date: 02/22/1999 17:44:53
> Feb 20 22:14:50 atlas inetd[226]: accept (for ftp): Too many open files
> Feb 20 22:15:20 atlas last message repeated 104425 times
> Feb 20 22:17:21 atlas last message repeated 412971 times
> Feb 20 22:27:22 atlas last message repeated 1965086 times
> Feb 20 22:37:22 atlas last message repeated 1992983 times
> Feb 20 22:47:22 atlas last message repeated 1625536 times
> Feb 20 22:57:22 atlas last message repeated 2073442 times
> 
> [snip...]
> 
> Feb 21 05:55:40 atlas inetd[226]: accept (for telnet): Too many open
> files
> Feb 21 05:55:40 atlas inetd[226]: accept (for ftp): Too many open files
> Feb 21 05:55:40 atlas inetd[226]: accept (for telnet): Too many open
> files
> Feb 21 05:55:40 atlas inetd[226]: accept (for ftp): Too many open files
> Feb 21 05:55:40 atlas inetd[226]: accept (for telnet): Too many open
> files
> Feb 21 05:55:40 atlas inetd[226]: accept (for ftp): Too many open files
> 

Use ulimit -S -n to raise per-process limit of file descriptors before
starting inetd. 
You can use "fstat -p" and "netstat -P" to discover what is consuming
all those file descriptors if the condition appears again.

-- 
Zdenek Salvet                                              salvet@ics.muni.cz 
Ustav vypocetni techniky Masarykovy univerzity, Brno
tel.: ++420-5-41 512 257                           Fax: ++420-5-41 212 747
----------------------------------------------------------------------------
           If God had meant for us to be in the Army,
         we would have been born with green, baggy skin.