Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-27, 11:57:13

Author Topic: /etc/logrotate.conf use 100% CPU  (Read 6156 times)

0 Members and 1 Guest are viewing this topic.

Offline vinceent

  • Valuable Member
  • *
  • Posts: 117
  • Karma: +0/-0
    • View Profile
/etc/logrotate.conf use 100% CPU
« 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
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline vinceent

  • Valuable Member
  • *
  • Posts: 117
  • Karma: +0/-0
    • View Profile
Re: /etc/logrotate.conf use 100% CPU
« Reply #1 on: 2013-04-13, 03:59:12 »
Ehy use logrotate.conf 100% cpu?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: /etc/logrotate.conf use 100% CPU
« Reply #2 on: 2013-04-13, 13:47:39 »
Possible you have huge file. Check inside '/usr/local/lxlabs/kloxo/log' and '/var/log'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline vinceent

  • Valuable Member
  • *
  • Posts: 117
  • Karma: +0/-0
    • View Profile
Re: /etc/logrotate.conf use 100% CPU
« Reply #3 on: 2013-04-29, 03:42:34 »
See mustafa in pictures
i delete all log '/usr/local/lxlabs/kloxo/log'  but no efect .
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: /etc/logrotate.conf use 100% CPU
« Reply #4 on: 2013-04-29, 10:28:42 »
Try 'rm /var/lib/logrotate/status'. It's maybe logrotate own file corrupt.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline vinceent

  • Valuable Member
  • *
  • Posts: 117
  • Karma: +0/-0
    • View Profile
Re: /etc/logrotate.conf use 100% CPU
« Reply #5 on: 2013-04-29, 15:53:14 »
Mustafa frend no find file in directory "rm /var/lib/logrotate/status"
Tnx
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: /etc/logrotate.conf use 100% CPU
« Reply #6 on: 2013-04-29, 16:12:00 »
I mean 'rm /var/lib/logrotate.status'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline vinceent

  • Valuable Member
  • *
  • Posts: 117
  • Karma: +0/-0
    • View Profile
Re: /etc/logrotate.conf use 100% CPU
« Reply #7 on: 2013-05-13, 16:08:15 »
Tnx Mustafa
This problem solved after delete /var/lib/logrotate.status
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline vinceent

  • Valuable Member
  • *
  • Posts: 117
  • Karma: +0/-0
    • View Profile
Re: /etc/logrotate.conf use 100% CPU
« Reply #8 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
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: /etc/logrotate.conf use 100% CPU
« Reply #9 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).
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.027 seconds with 18 queries.

web stats analysis