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

RE: [cobalt-users] RaQ4 low on memory with 25 virtual sites, whats wrong?



HI Gerald,

> On Monday 17 June 2002 06:18 am, Mikael Siirilä wrote:
> <snip>
> > I got a message from the machine reporting low memory with the 
> > following data - later the kernel crashed.
> >
> > Total memory is:	389008 KB
> > Used memory is:	377660 KB
> > Free memory is:	11348 KB
> > Percent used is:	97
> >
> when did you get the message, was it during the time a cron 
> job was running? maybe around or about  4:00 AM?

Quite exactly at 00:30. Below is my crontab. I don't expect, however,
that the main problem here is in the crons - since even now (daytime)
there is only 17mb free memory, and at times during the day running top
showed 6mb free, even though there is not much CPU use or traffic. But
yes, the actual low memory report came 0:30. The GUI calculates swap as
memory, so now it showes me 50% free.

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 1 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly

# Log analysis is called from /logrotate.d/apache instead
# 30 5 * * * root /etc/cron.webalizer/webalizer.pl
# 01 6 * * * root /etc/cron.weblog/weblog

# Monitor services to make sure everything is still okay.
0,15,30,45 * * * * root /usr/local/sbin/swatch >>/var/cobalt/adm.log
2>&1

--
Mikael