Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Feb 2002 14:11:18 +0500
From:      Sergey Gershtein <sg@ur.ru>
To:        stable@FreeBSD.ORG
Subject:   Re[2]: FS gurus needed! (was: Strange lock-ups during backup over nfs after adding 1024M RAM)
Message-ID:  <267744325.20020206141118@ur.ru>
In-Reply-To: <20020205083000.I72285@gsmx07.alcatel.com.au>
References:  <20020126204941.H17540-100000@resnet.uoregon.edu> <1931130530386.20020128130947@ur.ru> <20020130073449.B78919@gsmx07.alcatel.com.au> <791310002584.20020130150111@ur.ru> <20020131111153.Y72285@gsmx07.alcatel.com.au> <1427021336.20020201123650@ur.ru> <20020204130730.B72285@gsmx07.alcatel.com.au> <114283707399.20020204172833@ur.ru> <20020205083000.I72285@gsmx07.alcatel.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help

On Tuesday, February 05, 2002 Peter Jeremy <peter.jeremy@alcatel.com.au> wrote:

PJ> Looking at your dmesg, you're running RELENG_4_4 - I has incorrectly
PJ> assumed you were running RELENG_4.  The size of struct inode has
PJ> changed (it shrank by 4 bytes), meaning it's now 256 bytes instead of
PJ> 260 bytes (which requires 512 bytes from the allocator).  That
PJ> explains that discrepancy.  This is corrected in
PJ> src/sys/ufs/ufs/inode.h,v 1.28.2.2.

PJ> I think RELENG_4_4 also explains your problem: There was a problem
PJ> that vnodes were being cached too long and there was effectively no
PJ> upper limit on their number.  I gather that under some conditions
PJ> (which I don't recall, but you seem to have hit) the vnode cache (and
PJ> underlying inode cache) would eat all the KVM.  There were a variety
PJ> of commits by Matt Dillon between October and early November that
PJ> fixed this.  Have a search through the archives for references to
PJ> "kern.maxvnodes".

Thank you for the info!  I upgraded to 4.5 today and I'll see if it
helps.  I indeed found some info in the archive that looks like a sign
that my problem has been fixed -
http://www.freebsd.org/cgi/getmsg.cgi?fetch=491439+494044+/usr/local/www/db/text/2002/freebsd-stable/20020120.freebsd-stable

Hope it really helps.

Regards,
Sergey Gershtein


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?267744325.20020206141118>