Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-30-2007, 04:49 PM   #1
LQ Newbie
Registered: Mar 2007
Posts: 5

Rep: Reputation: 0
Huge /var/log/message files

I have just had a look at the /var/log/messages files on my Centos 64 box- the current one is 2GB and the previous is 5GB (not a misprint - I was staggered). I have tried a tail and there's not a lot of activity but no programmes seem to allow me to browse the bulk of them. What can I do to stop them exceeding a resonable size that I can browse to get to the bottom of what is going wrong.
Old 03-30-2007, 06:25 PM   #2
Sagebrush Gardener
LQ Newbie
Registered: Mar 2007
Posts: 29

Rep: Reputation: 15
...what is going wrong.
Maybe nothing. You didn't say what services are running on this server and how often you are rotating your /var/log/messages.

If this is a heavily used server you should be rotating it daily. Check your logrotate configuration (in /etc/logrotate.conf and /etc/logrotate.d/ on RedHat - not sure where it is on yours). Rotating it daily should cut it down to a reasonable size.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Repeating Error message in /var/log/message lucktsm Linux - Security 2 10-27-2006 08:29 AM
message in /var/log/messges hereshashi Linux - Security 2 08-03-2005 08:00 PM
message, message.1 in /var/log/ can be deleted for space? phpsharma Linux - Newbie 4 11-17-2004 12:23 PM
/var/log/kern.log message dimkal Linux - Hardware 1 05-08-2004 06:57 AM
got a /var/log/message.... gigi Linux - Software 0 01-19-2004 04:12 AM > Forums > Linux Forums > Linux - Server

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

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