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

Re: 1024 fd limit ?

On Thu, Nov 16, 2000 at 11:52:10AM +0100, Yann Dupont wrote:

> ydupont@Enya:/$ cat /proc/sys/fs/file-max 
> 16384

It is the system-wide limit (the sum of the number of files held open by
_all_ running processes can be 16384). The per-process limit is hardcoded
in /usr/src/linux/include/linux/limits.h:

#define NR_OPEN         1024


Gabor Gombas                                       Eotvos Lorand University
E-mail: gombasg@inf.elte.hu                        Hungary