On 30 Jan, To: Mandrake Expert List wrote:
> Hi,
> 
> I've noticed that whenever logrotate is run, it can take more than 2 hours
> to complete. It looks like it's doing something fishy. I'm on LM 7.1 and
> this is the ls -lt |head of /var/log:
> 
> -rw-r--r--    1 root     root     16497976 Jan 30 13:08 debug.log
> drw-------    2 root     root      5914624 Jan 30 13:08 mail/
> -rw-------    1 root     root        91056 Jan 30 13:08 messages
> -rw-r--r--    1 root     root        91399 Jan 30 13:08 syslog
> -rw-rw-r--    1 root     utmp       467712 Jan 30 13:07 wtmp
> -rw-------    1 root     root        49106 Jan 30 13:01 cron
> -rw-r--r--    1 root     root          504 Jan 30 13:00 daemon.log
> -rw-------    1 root     root        77890 Jan 30 13:00 sudo.log
> -rw-------    1 root     root            0 Jan 30 12:36 secure
> 
> As you can see, the *directory* size of mail' is huge! I'm trying to do a ls
> in that directory and it's been running for 20 minutes with no output yet.
> Any ideas why this is happening?
> 
> L
> 

I'd just like to add that I did a 

ls -f /var/log/mail | wc

and I got a count of more than 101000 files!

L

-- 
MY EMAIL ADDRESS HAS CHANGED --> UPDATE YOUR ADDRESSBOOK

Laurent Duperval                   "Montreal winters are an intelligence test,
Netergy Networks - Java Center            and we who are here have failed it."
Phone: (514) 282-8484 ext. 228                                   -Doug Camilli
mailto:[EMAIL PROTECTED]           Penguin Power!



Reply via email to