LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-10-2003, 07:34 AM   #1
Rig24
LQ Newbie
 
Registered: Dec 2002
Location: McLean
Posts: 28

Rep: Reputation: 15
logrotate


Having a problem with a RedHat 7.3 box. I had some users complaining that the system was running slow. I ran top and it showed lograte taking 99.9 percent of the CPU. It showed that it had been running for over 400 minutes also! Any ideas on how to fix this?

Thanks
 
Old 07-10-2003, 11:44 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I'd personally try sending it a HUP signal:
run top, note the PID, then:
kill -HUP 1234
Where 1234 is the PID.

If that doesn't work, send it a term, and then last resort, if term doesn't stop it, kill it:
kill -15 1234
^term signal
kill -9 1234
^kill signal
Then check your logs. See what the problem was, and what killing it did. Also, look at your crons and see how often logrotate is supposed to run. If it's every minute maybe consider changing that to once a week or even once a month.



Cool
 
Old 07-11-2003, 05:08 AM   #3
Rig24
LQ Newbie
 
Registered: Dec 2002
Location: McLean
Posts: 28

Original Poster
Rep: Reputation: 15
I'll give it a try, thanks.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
logrotate description pharmhand02 Linux - Software 5 08-02-2004 09:18 AM
Logrotate negation brentos Linux - Software 1 04-21-2004 12:39 PM
Logrotate Help! MaverickApollo Linux - Software 3 02-19-2004 12:09 PM
logrotate dominant Linux - Newbie 1 02-13-2004 09:28 AM
logrotate MrJoshua Linux - General 2 09-25-2002 09:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:43 AM.

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