You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Stefan Cars <st...@snowfall.se> on 2004/10/15 14:10:22 UTC

Out of memory..

Hi!

I get the following in there error_log and suddenly the webserver stops 
answering requests..

Any idea what this could be ?

Out of memory during request for 992 bytes, total sbrk() is 3510272 bytes!
Callback called exit.
Callback called exit.
Callback called exit.
[Fri Oct 15 13:34:02 2004] [error] [client 84.246.90.68] File does not 
exist: /h
ej
httpd in malloc(): error: allocation failed
[Fri Oct 15 13:34:12 2004] [notice] child pid 48208 exit signal Abort 
trap (6)
[Fri Oct 15 13:35:10 2004] [error] [client 84.246.90.68] File does not 
exist: /h
ej
Out of memory during request for 992 bytes, total sbrk() is 3506176 bytes!
Callback called exit.
Callback called exit.
Callback called exit.
httpd in malloc(): error: allocation failed
[Fri Oct 15 13:42:32 2004] [notice] child pid 48451 exit signal Abort 
trap (6)
httpd in malloc(): error: allocation failed
[Fri Oct 15 13:42:34 2004] [notice] child pid 48201 exit signal Abort 
trap (6)
Out of memory during request for 1004 bytes, total sbrk() is 3493888 bytes!
Callback called exit.
Callback called exit.
Callback called exit.
Out of memory during request for 992 bytes, total sbrk() is 3510272 bytes!
Callback called exit.
Callback called exit.
Callback called exit.
Out of memory during request for 2872 bytes, total sbrk() is 3485696 bytes!
Callback called exit.
Callback called exit.
httpd in malloc(): error: allocation failed
[Fri Oct 15 13:55:06 2004] [notice] child pid 48726 exit signal Abort 
trap (6)
httpd in malloc(): error: allocation failed
[Fri Oct 15 13:55:45 2004] [notice] child pid 48738 exit signal Abort 
trap (6)
httpd in malloc(): error: allocation failed
[Fri Oct 15 13:56:05 2004] [notice] child pid 48999 exit signal Abort 
trap (6)
Out of memory during request for 992 bytes, total sbrk() is 3510272 bytes!
Callback called exit.
Callback called exit.
Callback called exit.
httpd in malloc(): error: allocation failed
[Fri Oct 15 13:58:44 2004] [notice] child pid 49466 exit signal Abort 
trap (6)
httpd in malloc(): error: allocation failed
[Fri Oct 15 13:59:35 2004] [notice] child pid 48198 exit signal Abort 
trap (6)



-----
Stefan Cars
http://www.snowfall.se

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: Out of memory..

Posted by Gavin Carr <ga...@openfusion.com.au>.
Hi Stefan,

On Fri, Oct 15, 2004 at 02:10:22PM +0200, Stefan Cars wrote:
> I get the following in there error_log and suddenly the webserver stops 
> answering requests..
> 
> Any idea what this could be ?

Are you using a virtual server (i.e. a real server carved up into lots of
little ones)? You can get this on some kinds of virtual hosts when you 
hit your allocated RAM limit. 

If it's a real box, do you have any swap allocated?

Cheers,
Gavin


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: Out of memory..

Posted by Gerald Richter <ri...@ecos.de>.
> 
> I get the following in there error_log and suddenly the 
> webserver stops answering requests..
> 
> Any idea what this could be ?
> 

It might be that one of your pages/scripts allocates memory and don't
releases it.

Or, like Gavin, wrote that you simply have to much pages and too less memory
(you should avoid that the system swaps if possible).

Third thing could be that your ulimit is too low (Perl/mod_perl really needs
a lot of memory)

Gerald



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org