[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: strange errors on RH7.0



Hi,

You don't have to recompile your kernel to increase the max openfiles
number- just change the value in /proc/sys/fs/file-max
(ie. echo 32768 > /proc/sys/fs/file-max)

Sagi

On Sun, 13 May 2001, Boaz Rymland wrote:

> Well, it's seems like it is what it says it is... "too many open files in
> system"... :-) .
> You have a limit of the number of open file handles in your system , as well
> as number of processes, etc' etc' limits to their kinds... .
>
> There might be a way to change this in the shell ("ulimit" ?), but you can
> sure edit the kernel sources and recompile it, as I once did just that (and,
> its really not that difficult). Sorry, but I cannot recall the exact file to
> edit (but it's a short file with a few #define's in it).
> I suspect that in a few minutes you'll have the exact file and "define"s to
> edit, but in any case - try grep'ping recrusivly (grep -r ) the kernel
> source tree for MAX_FILE or FILE_MAX (or is it *FOPEN*, *FD* ?).
>
> Boaz.
>
> > -----Original Message-----
> > From:	Ben-Nes Michael [SMTP:miki@canaan.co.il]
> > Sent:	Sun 13 May 2001 15:04
> > To:	linux ILUG
> > Subject:	strange errors on RH7.0
> >
> > Hi All
> >
> > While doing some jobs on the server i got the folowing errors for a few
> > min
> > ( couldnt do anything ).
> > After few minutes the shell was active again.
> >
> > any idead what can couse such problems ?
> >
> > [miki@www miki]$ ps auxw|grep summ
> > bash: pipe error: Too many open files in system
> >
> > [miki@www miki]$ rm .toprc
> > rm: remove `.toprc'? y
> >
> > [miki@www miki]$ top
> > top: error while loading shared libraries: libproc.so.2.0.7: cannot open
> > shared object file: Error 23
> >
> > [miki@www miki]$ ls
> > bash: pipe error: Too many open files in system
> >
> > --------------------------
> > Canaan Surfing Ltd.
> > Internet Service Providers
> > Ben-Nes Michael - Manager
> > Tel: 972-4-6991122
> > http://sites.canaan.co.il
> > --------------------------
> >
> >
> >
> > =================================================================
> > To unsubscribe, send mail to linux-il-request@linux.org.il with
> > the word "unsubscribe" in the message body, e.g., run the command
> > echo unsubscribe | mail linux-il-request@linux.org.il
>
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
>
>


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il