Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Black on July 13, 2005, 02:21:15 PM

Title: Logrotate using 75% cpu time!
Post by: Black 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
Title: Re: Logrotate using 75% cpu time!
Post by: CharlieBrady 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).
Title: Logrotate using 75% cpu time!
Post by: Black 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.