Date: Mon, 05 Dec 2005 18:25:47 -0500 From: Robert Fitzpatrick <robert@webtent.com> To: Norberto Meijome <freebsd@meijome.net> Cc: FreeBSD <freebsd-questions@freebsd.org> Subject: Re: Too many files crashing services Message-ID: <1133825147.3177.81.camel@columbus.webtent.org> In-Reply-To: <4393CD2C.2020803@meijome.net> References: <43937915.7020300@webtent.net> <4393906D.5060105@meijome.net> <439398D5.8000401@webtent.net> <43939AE2.90107@meijome.net> <4393CD2C.2020803@meijome.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2005-12-05 at 16:16 +1100, Norberto Meijome wrote: > Norberto Meijome wrote: > > > > No, you are running out of maxfiles, as per "kern.maxfiles limit > > exceeded by uid ..." . > > errr... of course, i meant to say, you have more open files than allowed > by kern.maxfiles. Well, I just did some fsck /var and get a few INCORRECT BLOCK COUNT in Phase 1, lots of these in Phase 2: UNALLOCATED I=967619 OWNER=postfix MODE=100600 SIZE=353 MTIME=Dec 5 18:18 2005 FILE=/spool/postfix/defer/E/E60BEEC3C2 UNEXPECTED SOFT UPDATE INCONSISTENCY REMOVE? no And plenty of this in Phase 4: UNREF FILE I=22 OWNER=vscan MODE=100640 SIZE=80174 MTIME=Jun 20 11:30 2005 RECONNECT? no So on and so on...could these things cause my 'Too many open files' issues and reaching kern.maxfiles? And what are the risks of allowing all these issues to 'REMOVE' and 'RECONNECT' in single user mode? fsck /usr not as bad, but still: esmtp# fsck /usr ** /dev/da0s1d (NO WRITE) ** Last Mounted on /usr ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts LINK COUNT FILE I=2425895 OWNER=pgsql MODE=0 SIZE=0 MTIME=Dec 5 18:23 2005 COUNT 0 SHOULD BE -1 ADJUST? no ** Phase 5 - Check Cyl groups SUMMARY INFORMATION BAD SALVAGE? no ALLOCATED FILE 2425895 MARKED FREE ALLOCATED FRAG 9702124 MARKED FREE BLK(S) MISSING IN BIT MAPS SALVAGE? no 326108 files, 2473634 used, 7443685 free (128341 frags, 914418 blocks, 1.3% fragmentation) -- Robert
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1133825147.3177.81.camel>