Forum OpenACS Q&A: Not enough memory
Does anyone know what it could be?
Update Basic Information
Error in include template "/home/yabt/yabt/packages/acs-subsite/lib/user-info": couldn't fork child process: not enough memory
I restarted the AOLserver.
We get this error on OpenACS.org and other sites regularly. I have no idea why its happening. Anytime AOLserver tries to call "exec" from a tcl script it can occur. Most often we see it in the schedled proc from acs-mail-lite to send email.
Same issue. Try restarting AOLserver, and see if that helps. Overall it might be an issue with swap space if you are running Linux.
anyhow, a nightly restart seems to be a good strategy these days; If you are still in memory shortage, drop unneeded packages, reduce the number of connecition threads, use ttrace, or switch to 64 bit.
Thanks for come up with this ideas.
for running out of memory, there might be many different reasons. maybe, the process has a memory limit set, maybe it is running out of address space, maybe the machine has not enough swap space defined.
The amount of memory needed for the aolserver is not so much determined by the number of pages, or the size of the database, but more by the number of packages loaded and the number of connection threads defined (at least, when you have min-threads = max-threads) and you orient yourself on the configuration hints on the people running huge sites (like us).
In general, it might help if you provide some more info about your inhstallation (such as operating system, hardware, configuration parameters, etc.). Otherwise, readers can only make vague guesses about what's happening.