LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-13-2002, 01:31 PM   #1
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Rep: Reputation: 32
Unhappy Need help with logrotate process eating 99.9% CPU


logrotate process on my server is taking 99.9% CPU time.

This is a bugzilla server with redhat 7.2. It had an uptime of 109 days until I rebooted it yesterday because of this logrotate problem.

But I came in this morning and it's happening again. I looked in my /var/logs and there are alot of big logs and lots of log files.

I don't know how to fix this logrotate problem, can anyone help? Thanks.
 
Old 11-13-2002, 02:31 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,417
Blog Entries: 55

Rep: Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627
Not to cramp your style but since you've got +300 posts you'd know by now you should provide more info than "I've got error X". I'm thinking what's running (under logrotate), what part exactly was sucking up CPU at the reboot moment, what big logs and do they hold any clue to the cron-driven processes.

The Logrotate cronscript only is executing stuff there's a script for in /etc/logrotate.d. Let it run in verbose mode and check those scripts and the logs.
 
Old 11-13-2002, 02:35 PM   #3
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Original Poster
Rep: Reputation: 32
Quote:
Not to cramp your style but since you've got +300 posts you'd know by now you should provide more info than "I've got error X".
Excuse me, I believe that I did provide more information than "I've got error X".
 
Old 11-13-2002, 04:07 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,417
Blog Entries: 55

Rep: Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627
Plz *do* look further than the first line
 
Old 11-14-2002, 11:57 AM   #5
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Original Poster
Rep: Reputation: 32
unSpawn, what's with your attitude? I don't come here to be berated.

You seriously need to ease up.
 
Old 12-30-2002, 08:02 PM   #6
pdibona
LQ Newbie
 
Registered: Oct 2002
Location: New Jersey
Distribution: Red Hat 8.0
Posts: 20

Rep: Reputation: 0
I had the same problem and someone figured out the solution. It was the 'mailman' process. Check out the end of this thread for more info...

http://www.linuxquestions.org/questi...threadid=34695

Once I removed 'mailman' from my system, and removed the /var/logs/mailman directory, this same problem stopped for me.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I stop logrotate from using all my CPU? pdibona Linux - Newbie 21 01-22-2012 05:12 AM
kacpid eating cpu 99% cpu time! tjclancy Linux - Software 13 09-19-2011 03:08 PM
XFS is eating my CPU xKintaro Debian 0 09-27-2005 09:01 AM
ksoftirqd eating >60% of my CPU subaruwrx Fedora 0 09-22-2004 01:10 AM
Which process is eating up my memory? Li-Wen Linux - General 7 05-12-2003 07:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration