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

Re: [cobalt-users] Whats Causing The Overload



"ISEE Multimedia" <mail@xxxxxxxxxxxxxxxxxxx> wrote:
> 1. Log rotation / analog / split logs seems to take forever to complete,
and
> i would say this is a factor to the CPU / MEM usage. Is there a  way to
> check what time the cron for this starts?

See /var/log/cron - it shows timestamp for all jobs called by cron.

> as I think its not starting at
> 4:00am and how do i change the time to say start at 1am.

See /etc/crontab and /etc/cron.daily.  Changing the time in /etc/crontab
will affect all scripts in /etc/cron.daily but you can add a line to
/etc/crontab to handle specific scripts at whatever time/frequency you'd
like (and move out of /etc/cron* directories if they're there already).

> I've pasted the output of /var/log/httpd below minus empty files.
>
> -rw-r--r--   1 root     root       289499 Dec 19 11:46 access
> -rw-r--r--   1 root     root      2572724 Dec 19 11:33 access.1.gz
> -rw-------   1 root     root            0 Dec 13 18:46 access.save
> -rw-r--r--   1 root     root     31644310 Dec 19 11:45 adm_access
> -rw-r--r--   1 root     root      5973508 Dec 19 11:45 adm_error
> -rw-r--r--   1 root     root       231989 Dec 19 11:45 error
> -rw-r--r--   1 root     root        99701 Dec 18 12:37 error.1.gz
> -rw-r--r--   1 root     root       863803 Dec 19 09:52 fpexec_log

Nothing unusual.  I suspected that the sizes for 1 or more logs may have
been much larger.  But the size is related to the time you ran "ls".  See
what they look like just before 4 am.

> 2. I have been monitoring 'top' this morning and seen some worrying
things.
> The load average at one point reached 99 !!! There were 300+ processes
> running at one point.

Ouch.  That should be investigated.

> I have made some screenshots of various things for you if this helps in
> working out whats going on.
>
> http://www.isee-multimedia.com/cobalt/Untitled-1.gif

All 3 screenshots are such poor quality they're of no value to me.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/