[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: too many files open?
- From: "Alfredo J. Cole" <alfredo clshonduras com>
- To: redhat-list redhat com
- Subject: Re: too many files open?
- Date: Wed Feb 19 10:52:54 2003
El Mié 19 Feb 2003 09:10, Jan escribió:
> dbrett wrote:
> > I have a RH 6.2 server, which seems to be unable to keep up with the load
> > it is under. I have to keep rebooting it about every other day. One of
> > the first clues I have is there too many files open and can't do another
> > operation.
> >
> > How do I find out how many files are open and by what programs? Is it
> > possible to increase the number of files which can be open?
>
> lsof may be a good place to start - it lists all open files; it is a
> LONG list! Perhaps you should run it at intervals (and save the output)
> to see if there is a single program that runs amok.
>
> /jan
Do a cat /proc/sys/fs/file-max
This will report how many files you can open.
You can increase it by doing
echo 8192 >/proc/sys/fs/file-max
If it solves your problem, put this command in your rc.local file so it will
be available everytime you reboot the system.
Regards.
--
Alfredo J. Cole
http://www.acyc.com
http://www.clshonduras.com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]