misc/160586: newsyslog can't properly rotate log files when ther

看板FB_bugs作者時間12年前 (2011/09/09 20:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
>Number: 160586 >Category: misc >Synopsis: newsyslog can't properly rotate log files when there are no enough inodes >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 09 12:00:18 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Leonid Evdokimov >Release: FreeBSD 8.2-STABLE #0 r221983M >Organization: Yandex >Environment: FreeBSD daisy2.yandex.ru 8.2-STABLE FreeBSD 8.2-STABLE #0 r221983M: Mon Jul 11 18:02:06 MSD 2011 root@distillatory.yandex.ru:/place/mkdump_workdir/obj/place/GIT-repos/FreeBSD-8-stable/sys/stable8-amd64-dtrace amd64 >Description: All rotated files were collapsed into one inode. That's a bug. A serious one. [darkk@daisy2 /var/log]$ ls -li /var/log/messages* 5822 -rw-r--r-- 7 root wheel 8839522 Sep 9 15:49 /var/log/messages 5822 -rw-r--r-- 7 root wheel 8839522 Sep 9 15:49 /var/log/messages.0 5822 -rw-r--r-- 7 root wheel 8839522 Sep 9 15:49 /var/log/messages.1 5822 -rw-r--r-- 7 root wheel 8839522 Sep 9 15:49 /var/log/messages.2 5822 -rw-r--r-- 7 root wheel 8839522 Sep 9 15:49 /var/log/messages.3 5822 -rw-r--r-- 7 root wheel 8839522 Sep 9 15:49 /var/log/messages.4 5822 -rw-r--r-- 7 root wheel 8839522 Sep 9 15:49 /var/log/messages.5 [darkk@daisy2 /var/log]$ head -1 /var/log/messages Sep 8 16:00:00 daisy2 newsyslog[41658]: logfile turned over due to size>500K >How-To-Repeat: Fill /var partition with small files to use all inodes and try to rotate logs afterwards. >Fix: >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
文章代碼(AID): #1EQWT3qM (FB_bugs)