> Can someone tell me what is going on with syslog and why it is taking so
> much CPU time ?  I see nothing unusal in /var/log/messages.  RH6.1 with all
> updates.
> 
> 
>   PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME COMMAND
>  1667 root      20  10   488  480   388 R N     0 49.4  0.1   3:17 syslogd
>  1688 cajun     20  11 12748  12M   216 R N     0 44.3  4.9   3:08
> setiathome

> Thanks,
> Mike


I bet that one of the log files is really large.
For some strange reason syslog CPU usage depends on the
log file size.  I see this on big mail servers etc; all
the time.

Is your /var/log/messages very long?
what about /var/log/maillog (if this is your mail system).

Rotate the /var/log 's by hand and then set better 
rules in /etc/logrotate.d (depending on redhat release)
and of course-  "man logrotate".

-Monta Elkins


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to