[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] RaQ2 went down.



"Michael Combe" <mcombe@xxxxxxxxxxxxxxxxx> writes:

> Ouch!  malloc failed in malloc_block()

> I don't know if the two are related.  I was hoping that someone could tell
> me what these two errors might mean or if they indicate some type of
> problem.

It shows, that Apache somehow ran out of memory. "malloc()" is a
function that allocates a piece of memory (or rather, ask the
operating system to do it). If that function fails, it means that the
operating system is out of memory (both swap and normal).

Try to minimize your memory usage by disabling functions/services you
do not need. Set an Apache RLimit on the CGI's running. Maybe set a
limit on the maximum set of slaves running at a time.


-- 
Jens Kristian Søgaard,
jk@xxxxxxxxxxxx -- http://www.jksoegaard.dk/
Søger du noget? -- http://www.google.com/
echo|perl -ple'$_+=4E-6*!int rand()**2+rand()**2while$i++-1E6'