Re: /var/log filled by vgetty.log messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Mar 23, 2003 at 07:14:44PM +0100, M. Fioretti wrote:
> Hello,
> 
> On a RH 8.0 PC, connected to the internet by dialup, I have found
> 68019 empty log files. I came to realize it when the dialup script
> said that it could not create lock in /var for lack of space. Since
> there *was* space, and I remembered reading somewhere that more than
> 10000 files per directory make ext3 choke, I looked around and found
> those files. Namely, the output of
> 
> cd /var/
> ls -lrt log|grep vgetty|cat -n > /tmp/vgettystrange
> 
> looks like this (last five lines, "compressed" for clarity):
> 
>  68015  -rw-r--r-- 1 0 Mar 23 08:51 vgetty.log.ttyS0.1.1.1.4.4.4.1
>  68016  -rw-r--r-- 1 0 Mar 23 08:51 vgetty.log.ttyS0.1.1.1.4.4.4
>  68017  -rw-r--r-- 1 0 Mar 23 08:51 vgetty.log.ttyS0.1.1.1.4.4.4.2
>  68018  -rw-r--r-- 1 0 Mar 23 08:51 vgetty.log.ttyS0.1.1.1.4.4.4.1.1
>  68019  -rw-r--r-- 1 0 Mar 23 08:51 vgetty.log.ttyS0.1.1.2
> 
> Owner and group are always root, I cut that to fit on one email line,
> as mentioned.
> 
> Where do they come from? Any comment?
It comes from an error in the /etc/logrotate.d/vgetty file which
should change its contents from:
/var/log/vgetty.log.tty* {
        nocompress
        missingok
}
 to:
/var/log/vgetty.log.ttyS0 {
        nocompress
	missingok
	}



-- 
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
715 Stadium Dr.
San Antonio, TX 78212-7200

telephone: (210)-999-7484
email:akonstam@xxxxxxxxxxx



-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux