Re: [SLUG] logrotate using CPU time

From: Scott Glenn (sag@tampabay.rr.com)
Date: Wed Nov 06 2002 - 13:45:16 EST


Let me guess that your distribution is Red Hat 7.3.
You probably have the bug at the link below. According to the
comments this is a "configuration" bug but I suspect logrotate
is actually broken.

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=75364

Larry Sanders wrote:

>Here is partial results of the command 'ps -aux'
>There are two sets of processes starting with CROND
>notice the cpu time of the logrotate process.
>They keep running till I reboot the system.
>What is happening? What can check/do to?
>
>root 5270 0.0 0.2 1560 568 ? S Nov04 0:00 CROND
>root 5272 0.0 0.3 1944 756 ? S Nov04 0:00 /bin/bash
>/usr/bin/run-parts /etc/cron.daily
>root 5432 0.0 0.4 3212 792 ? S Nov04 0:00
>/usr/sbin/sendmail -FCronDaemon -i -odi -oem root
>root 5435 0.0 0.4 3200 792 ? S Nov04 0:00
>/usr/sbin/postdrop -r
>root 5442 0.0 0.3 1936 716 ? S Nov04 0:00 /bin/sh
>/etc/cron.daily/logrotate
>root 5443 0.0 0.2 1736 484 ? S Nov04 0:00 awk -v
>progname=/etc/cron.daily/logrotate prognam
>root 5444 47.6 13.6 78440 26180 ? R Nov04 1203:12
>/usr/sbin/logrotate /etc/logrotate.conf
>
>root 10294 0.0 0.2 1556 564 ? S 04:02 0:00 CROND
>root 10296 0.0 0.3 1944 756 ? S 04:02 0:00 /bin/bash
>/usr/bin/run-parts /etc/cron.daily
>root 10456 0.0 0.3 1936 716 ? S 04:02 0:00 /bin/sh
>/etc/cron.daily/logrotate
>root 10457 0.0 0.2 1736 484 ? S 04:02 0:00 awk -v
>progname=/etc/cron.daily/logrotate prognam
>root 10458 36.8 20.9 59800 40044 ? R 04:02 399:39
>/usr/sbin/logrotate /etc/logrotate.conf



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:10:36 EDT