MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: vinceent on 2013-03-30, 03:43:30

Title: /etc/logrotate.conf use 100% CPU
Post by: vinceent on 2013-03-30, 03:43:30
Hello all i have ultimate version kloxo-mr 6.5.0f (Kloxo-MR 6.5.0.f-2013031806) and i have a problem with logrotate.conf because use 100%CPU and webpage worked very slow and other process is worked slow
whay logrotate.conf use high CPU? and how to resolve this problem?

Tnx i wait messages
Title: Re: /etc/logrotate.conf use 100% CPU
Post by: vinceent on 2013-04-13, 03:59:12
Ehy use logrotate.conf 100% cpu?
Title: Re: /etc/logrotate.conf use 100% CPU
Post by: MRatWork on 2013-04-13, 13:47:39
Possible you have huge file. Check inside '/usr/local/lxlabs/kloxo/log' and '/var/log'.
Title: Re: /etc/logrotate.conf use 100% CPU
Post by: vinceent on 2013-04-29, 03:42:34
See mustafa in pictures
i delete all log '/usr/local/lxlabs/kloxo/log'  but no efect .
Title: Re: /etc/logrotate.conf use 100% CPU
Post by: MRatWork on 2013-04-29, 10:28:42
Try 'rm /var/lib/logrotate/status'. It's maybe logrotate own file corrupt.
Title: Re: /etc/logrotate.conf use 100% CPU
Post by: vinceent on 2013-04-29, 15:53:14
Mustafa frend no find file in directory "rm /var/lib/logrotate/status"
Tnx
Title: Re: /etc/logrotate.conf use 100% CPU
Post by: MRatWork on 2013-04-29, 16:12:00
I mean 'rm /var/lib/logrotate.status'
Title: Re: /etc/logrotate.conf use 100% CPU
Post by: vinceent on 2013-05-13, 16:08:15
Tnx Mustafa
This problem solved after delete /var/lib/logrotate.status
Title: Re: /etc/logrotate.conf use 100% CPU
Post by: vinceent on 2013-07-02, 03:03:46
Hello again mustafa
I have now this:  Kloxo-MR 6.5.0.f-2013031826  and again have problem with logrotate.. use 100% cpu.
Tnx
i removed: /var/lib/logrotate.status  and i restarted server  but not worked.
Tnx
Title: Re: /etc/logrotate.conf use 100% CPU
Post by: MRatWork on 2013-07-02, 07:18:45
Look like something wrong with log files inside /var/log and or /usr/local/lxlabs/kloxo/log.

Maybe need delete this files. If certain files too big maybe something wrong with applications (ex: /var/log/httpd/error_log that mean many error in httpd/apache process).