On Wed, 6 May 1998 [EMAIL PROTECTED] wrote:
> >Sometimes i get this error :
> >"too many open files in system"
> >causing my system to fail.
> >How do I increase the number of files ?
> >
> ok, in /usr/src/linux/include/linux/fs.h
>
> #define NR_INODE 3072 /* this should be bigger than NR_FILE 8
>Sometimes i get this error :
>"too many open files in system"
>causing my system to fail.
>How do I increase the number of files ?
>
ok, in /usr/src/linux/include/linux/fs.h
#define NR_INODE 3072 /* this should be bigger than NR_FILE 8/
#define NR_FILE 1024 /* this can well be larger on a larger
>Sometimes i get this error :
>"too many open files in system"
>causing my system to fail.
>How do I increase the number of files ?
Try something like this as root:
root# cat /proc/sys/kernel/file-max
1024
root# echo 4096 >/proc/sys/kernel/file-max
That should shut it up
Sometimes i get this error :
"too many open files in system"
causing my system to fail.
How do I increase the number of files ?
TIA Claudiu
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-list