In article <[EMAIL PROTECTED]>, Craig Sanders <[EMAIL PROTECTED]> wrote: > >On Tue, 6 Jan 1998, Elie Rosenblum wrote: > >> And thus spake Craig Sanders, on Wed, Jan 07, 1998 at 01:52:06AM +1100: >> > is there any debian policy on number of file descriptors compiled into the >> > kernel? (and also in limits.h in libc6-dev - AFAIK pretty much everything >> > that uses select() will need to be recompiled if the limit is increased). >> >> This has been sysctl configurable in the runtime kernel since at most 2.0, >> probably 1.3.
Not true. That's the global limit. The per-process limit is hardcoded at 256 fds per process in the 2.0.x kernel > [EMAIL PROTECTED] [08:41:43] kernel# cd /proc/sys/kernel/ > [EMAIL PROTECTED] [08:41:58] kernel# ls -l *-max *-nr > -rw-r--r-- 1 root root 0 Jan 7 08:40 file-max > -r--r--r-- 1 root root 0 Jan 7 08:40 file-nr > -rw-r--r-- 1 root root 0 Jan 7 08:40 inode-max > -r--r--r-- 1 root root 0 Jan 7 08:40 inode-nr > [EMAIL PROTECTED] [08:42:41] kernel# echo 2048>file-max; echo > 8192>inode-max > bash: file-max: Bad file descriptor > bash: inode-max: Bad file descriptor You forgot a space. Try echo 2048 > file-max. 2048>file-max means something entirely different in shell-syntax.. Mike. -- Miquel van Smoorenburg | The dyslexic, agnostic, insomniac lay in his bed [EMAIL PROTECTED] | awake all night wondering if there is a doG -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .