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

Re: strange errors on RH7.0



Hi All

So to boot the RH7 with 32768 Max files I need to add al line to the
rc.local ?

Why RH Team choose to put 4096 and not 32768 ( what is the drawback of
putting larger number )


----- Original Message -----
From: "Sagi Bashari" <sagi@boom.org.il>
To: "Boaz Rymland" <BRymland@avaya.com>
Cc: "'Ben-Nes Michael'" <miki@canaan.co.il>; "linux ILUG"
<linux-il@linux.org.il>
Sent: Sunday, May 13, 2001 5:03 PM
Subject: 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