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

Re: [cobalt-users] RAM Warnings on a RAQ2



On Mon, 4 Jun 2001, Chad Wollerton wrote:

> Twice recently (once in the wee hours of the morning) my RaQ2 sent me the
> following warning:
> 
> "The Cobalt server needs more memory than it currently has.  Consider adding
> more DRAM to the server."
> 
> Which is interesting because we just upgraded to 256 Megs from 64 Megs about
> a month and half ago.  Several checks with the "top" command tells me that
> the server knows it has 256 Megs and that about 200 of those MBs are
> typically being used.  That seems like quite a lot, but I'm a relative
> newbie and am not sure what to check next.

Two things come immediatly to mind, tho, it could be almost anything...
The  first, is, does the time correspond to when you are running site
stats? You can easily go through 100 meg doing this like nothing...

The other is to check cgi's, the raq2 has a slightly nasty behaviour with
cgi's, if they run as admin (because you didn't chown them properly) they
have no quota limits, they can use up all the ram if they have something
wrong with them....(I had a bad script fork bomb the server this way)

Cobalt wish list...The 'out of memory' email should really send a ps along
with it, how hard would that have been? grrr...

Other than that, poke about in /var/log and see if there are any other
things happening at the same time (or just before) like inbound email
connections etc....(There is a cron log there also)

gsh