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

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



Thanks.  One of them happened while I was tarring and zipping a log file, so
I wasn't too surprised by that one.  It was the 1 a.m. message bugged me.  I
do all the backups manually, but the CGI tip is a good lead.  Recently, one
of the RaQ2 update packages failed as I was installing it and left a great
many of my files belonging to "nobody."  Several of our CGIs had some
problems right afterward until we fiddled with the permissions.  I'll check
the logs you mention and see what I can find.

I agree about the hint pointing to the cause.  That'd been nice.

Chad


-----Original Message-----
From: flash22@xxxxxxx [mailto:flash22@xxxxxxx]
Sent: Monday, June 04, 2001 4:09 PM
To: 'cobalt-users@xxxxxxxxxxxxxxx'
Subject: 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


_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users