############################################################################### ## ## Kernel: linux-2.2.18 ## Author: Ned Ludd ## Location: http://linbsd.com/linux/tasks-2.2.18.patch ## Support: none ## Bugs: ## I have noticed that programs such as Eterm take a shit with such a high ## FD_SETSIZE to get around this as a normal user type 'ulimit -Sn 256' ## or modify your /etc/login ## ## This patch just sets the kernels hard limits a tad higher than default. ## For servers that need more than 512 proccess running, or procces's with alot ## of connections such as ircd servers. ############################################################################### diff -Nru linux/include/linux/fs.h linux-2.2.18/include/linux/fs.h --- linux/include/linux/fs.h Sun Dec 10 19:49:44 2000 +++ linux-2.2.18/include/linux/fs.h Thu Dec 14 10:06:11 2000 @@ -40,7 +40,7 @@ /* Fixed constants first: */ #undef NR_OPEN #define NR_OPEN (1024*1024) /* Absolute upper limit on fd num */ -#define INR_OPEN 1024 /* Initial setting for nfile rlimits */ +#define INR_OPEN 32768 /* Initial setting for nfile rlimits */ #define BLOCK_SIZE_BITS 10 #define BLOCK_SIZE (1<