Koozali.org: home of the SME Server

Logrotate using 75% cpu time!

Black

Logrotate using 75% cpu time!
« on: July 13, 2005, 02:21:15 PM »
Is there anyway I can get a handle on this? I actually want to just delete the old logs i dont read anymore but when I tried deleted the gziped logs with just rm command it seemed to make things worse.

Can I delete old logs and if so how?

Why is logrotate going out of control and using all the CPU time and sometimes launching up to 5 logrotate processes?


Thanks

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Logrotate using 75% cpu time!
« Reply #1 on: July 13, 2005, 09:00:55 PM »
Quote from: "Black"

I actually want to just delete the old logs i dont read anymore


Then you should reconfigure logrotate to do just that.

Quote

Why is logrotate going out of control and using all the CPU time and sometimes launching up to 5 logrotate processes?


I suspect that it isn't out of control at all, it just has a lot of work to do (compressing large files).

Black

Logrotate using 75% cpu time!
« Reply #2 on: July 16, 2005, 07:00:05 AM »
boy I wish you could give me more to go on..I would rather just delete old logs but dont know where to start.