ispCP - Board - Support
Fatal error: Out of memory - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: Fatal error: Out of memory (/thread-2650.html)



Fatal error: Out of memory - DocSnyd3r - 03-06-2008 09:34 PM

Hi,
I recently get these "Fatal error: Out of memory (allocated 10223616) (tried to allocate 4864 bytes)" errors a lot on different sites. For example with Joomla, phpBB3, wikiMedia. I did not change the fcgi configuration and runnig Debian Etch. I also have a lot of warnings in my apache2 log like:
Code:
[Thu Mar 06 12:22:21 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/xxx.eu/php5-fcgi-starter" (pid 24348) termination signaled
[Thu Mar 06 12:22:21 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/xxx.eu/php5-fcgi-starter" (pid 24348) terminated by calling exit with status '0'
[Thu Mar 06 12:23:21 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/xxx.eu/php5-fcgi-starter" (pid 24344) termination signaled
[Thu Mar 06 12:23:21 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/xxx.eu/php5-fcgi-starter" (pid 24344) terminated by calling exit with status '0'

If this keeps continuing the console also throws errors like
"Inconsistency detected by ld.so: dl-minimal.c: 84: __libc_memalign: Assertion `page != ((void *) -1)' failed!" and nothing works. Only a restart helps.

PS It's a vHost


RE: Fatal error: Out of memory - Cube - 03-06-2008 11:52 PM

It's over and over the same. Rolleyes
First of all use the search, you're not the first trying to run too much on a too small VM.
And if this does not help, post more information about your system (RAM, beancounters etc.)


RE: Fatal error: Out of memory - DocSnyd3r - 03-07-2008 12:05 AM

I will, but I only have standard ispCP installation with vith some hosts, so there is very low usage at the moment. May be the standard config of ispCP uses very much ram. I'll try to find out more. Can you tell me how to monitor the ram usage of all processes to figure out who is to blame?


RE: Fatal error: Out of memory - joximu - 03-07-2008 05:28 AM

ispCP itself (the daemon) does not need much ram.
apache, mysql and maybe php use much more.


RE: Fatal error: Out of memory - DocSnyd3r - 03-07-2008 07:09 AM

Thanks, I ment the the fcgi config done by ispCP. It seems to work now, I restricted apache and mysqld a bit and changed the php max ram limit per script from 128MB to 16MB.