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 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list