Jump to content

Log Files longer than 4 Gig !


onurb
 Share

Recommended Posts

Using Mandrake 9.0 I noticed something diffrent from 8.2:

My /var/log/syslog and /var/ log/kernel/info get longer than 4 Gig each. A few days ago I cleared them, and today they are more then 2.5 Gig again !

My / partition is 20G but it fills up quickly as both those files grow over 8G !

Anyone an idea ?

( the /var/log/messages has a fixed length, as lines are added, the disapear at the top )

 

Bruno

Link to comment
Share on other sites

It's not in my MCC softwaremanagement.
In install? Are you sure it's not installed already? To see if installed look in Software Management>Remove Software or in a term;

rpm -q logrotate

 

To install;

urpmi logrotate

 

Make sure crond is running at boot in mcc>System>Services.

Link to comment
Share on other sites

I got a golden Tip at the Mandrake-club Forum: Anacron !

 

As my computer is not on 24 hrs a day, cron-jobs like logrotate are forgotten because they run at 4 o'clock in the morning. Anacron detects forgotten cron-jobs and executes them shortly after boot. ( updatedb is another forgotten job )

 

It looks there are quiet some other jobs that have to run at night, once a week or once a month, if anyone has an idea what those jobs might be, let me know, I got curious now !

 

Anacron was installed by default in MDK 8.1 and 8.2 but not in MDK 9.0

 

For those of you who's computer is not up 24/7 :

urpmi anacron (CD 3)

 

Bruno

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...