Forum OpenACS Q&A: OACS3.2.5 "hanging"

Collapse
Posted by Marc Fournier on
I realize it is an ancient version by now, but I have a few client sites that are still running it ... after several days, for no reason I can determine, everything seems to hang up, to the point that I have to do a 'kill -9' to kill the process ...

Looking in the log files, I'm seeing:

Error: couldn't create output pipe for command: too many open files

But this only appears to be the 3.2.5 sites ... haven't had a problem with a 4.x or 5.x site yet ...

Is this a known problem with 3.2.5?  Something in the nsd.tcl file that I should be increasing for them to prevent it from happening?

Thanx

Collapse
Posted by Claudio Pasolini on
Not sure this is the problem, but it could be:

Check out the entry in /proc/sys/fs/file-max

        $ cat /proc/sys/fs/file-max

To change the value:

        echo XXXXX > /proc/sys/fs/file-max 
Hope this helps.
Collapse
Posted by Patrick Giagnocavo on
Marc, I am not sure which OS you are running under, but probably what you want to do is raise your "limit" or "ulimit" settings in the shell that you are starting the AOLserver from.

I recall having this problem with a 3.2.5 instance until I lifted them from 80 open files to 355 - the problem went away and the process has been rock solid since.

Once I found a setting that worked, I put everything in a shell script and used that to start AOLserver.

Collapse
Posted by Matthew Terenzio on