Forum OpenACS Q&A: too many open files

Collapse
Posted by Samer Abukhait on
Hello,

I've had this weird problem today, an OpenACS 5.1 Server is down and the log file is logging this message:

couldn't read file index.vuh: too many open files

Any idea why this might happen??

I have never run into a similar problem

Collapse
2: Re: too many open files (response to 1)
Posted by Patrick Giagnocavo on
Usually this is due to the AOLserver process using up all its file handles that it is allowed to have by the OS.

The fix is to raise the number of file handles you can have using the limit or ulimit command.

Note that for a permanent fix, you can either place the command in your startup file, which is read each time you login, or you can place it in the shell script you use to start AOLserver.