From owner-freebsd-stable Wed Feb 6 1:11:29 2002 Delivered-To: freebsd-stable@freebsd.org Received: from dream.mplik.ru (dream.mplik.ru [195.58.1.132]) by hub.freebsd.org (Postfix) with ESMTP id E211B37B428 for ; Wed, 6 Feb 2002 01:11:21 -0800 (PST) Received: from sight (sight.mplik.ru [195.58.27.104]) by dream.mplik.ru (8.9.3/8.9.1) with ESMTP id OAA34434 for ; Wed, 6 Feb 2002 14:11:20 +0500 (YEKT) Date: Wed, 6 Feb 2002 14:11:18 +0500 From: Sergey Gershtein X-Mailer: The Bat! (v1.53bis) Business Reply-To: Sergey Gershtein Organization: Ural Relcom Ltd X-Priority: 3 (Normal) Message-ID: <267744325.20020206141118@ur.ru> To: stable@FreeBSD.ORG Subject: Re[2]: FS gurus needed! (was: Strange lock-ups during backup over nfs after adding 1024M RAM) 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tuesday, February 05, 2002 Peter Jeremy 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