> "Delagarza, Gilbert" wrote:
> 
> What in the world is logrotate and why is it taking up so much memory
> and making my drive just run and run and run. I had this issue earlier
> this week where the server was just crawling. I noticed that logrotate
> was active twice taking up huge amounts of memory. I ended up
> rebooting the server to get it to stop. Now its back again.
> We have Linux Mandrake 7.0

There was a bug in an old version of logrotate that didn't show up until
a config file was populated with just the right configuration entry. 
You have two options:

Easy: download logrotate updated rpm for your version of Mandrake

Manual: 
   /etc/rc.d/init.d/syslog stop
   rm -rf /var/log/mail/*
      # go get a cup of coffee
   rm -rf /var/log/news/*
      # go get a refill of that coffee
   vi /etc/logrotate.d/syslog
       change the lines that say
           /var/log/mail/*
           /var/log/news/*
       to
           /var/log/mail/*log
           /var/log/news/*log
   /etc/rc.d/init.d/syslog start

Good luck!
-- 
tlyons at mandrakesoft dot com
http://www.linux-mandrake.com/en

Reply via email to