From owner-freebsd-fs@FreeBSD.ORG Tue Aug 8 17:33:57 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0433716A4DA for ; Tue, 8 Aug 2006 17:33:57 +0000 (UTC) (envelope-from adamsch1@yahoo.com) Received: from web31803.mail.mud.yahoo.com (web31803.mail.mud.yahoo.com [68.142.207.66]) by mx1.FreeBSD.org (Postfix) with SMTP id 9B9AD43D46 for ; Tue, 8 Aug 2006 17:33:56 +0000 (GMT) (envelope-from adamsch1@yahoo.com) Received: (qmail 93511 invoked by uid 60001); 8 Aug 2006 17:33:56 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=dfMH/rMh6edxFT6uwEBTyzirV23bDjuySrqBXGtgzKuC1sU8zxvy8XRjAnzTh5dBBOvEBEr7cHupRzbzdxT9a37HF4BVWGtR5KOllk4UEOt9TCBCTnXxQf1ipvSZ+X0zHrRhhlTsP9VbaaZ3Zdop8Qm2TmUK90kvGs4y6XphPLo= ; Message-ID: <20060808173356.93509.qmail@web31803.mail.mud.yahoo.com> Received: from [207.126.230.225] by web31803.mail.mud.yahoo.com via HTTP; Tue, 08 Aug 2006 10:33:56 PDT Date: Tue, 8 Aug 2006 10:33:56 -0700 (PDT) From: Shane Adams To: Eric Anderson , Q In-Reply-To: <44D8B6D6.6070209@centtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-fs@freebsd.org Subject: Re: Problem with ufs not releasing vm_pages on busy volume. (soft updates related) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Shane Adams List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Aug 2006 17:33:57 -0000 Perhaps its just me but I found taking a snapshot on a 80 gig drive that is relativly idle, frooze my system for several seconds (to the point I was about to give it the finger). I figured something is broken on my end cause I couldn't imagine anyone using the feature if this is how it works normally. Just curious if anyone would share their experiences with snapshotting in a production envioronment? Shane ----- Original Message ---- From: Eric Anderson To: Q Cc: freebsd-fs@freebsd.org Sent: Tuesday, August 8, 2006 9:07:50 AM Subject: Re: Problem with ufs not releasing vm_pages on busy volume. (soft updates related) On 08/08/06 00:14, Q wrote: > On 02/08/2006, at 8:10 PM, Q wrote: > >> I have a problem that seems to be related to something ufs related >> not releasing some vm_pages on busy filesystems. I have two servers >> running PostgreSQL, one running 6.0-RELEASE, the other 6.1-RELEASE. >> Both are under the same (fairly heavy) load, performing the same >> operations in bursts every five minutes. The filesystems in >> question are 450-500Gig, each server using a different brand of >> RAID card, they both have soft-updates enabled. >> >> The problem is that both servers are seeing an accumulation of >> about 100Mb of active pages per day (looking at >> vm.stats.vm.v_active_count) that never get released. The only way >> to release these pages is to unmount the filesystem and remount it. >> Failing to do this results in the server eventually locking up. >> >> If someone could provide me with some direction on how to go about >> tracking down what might be causing this to happen it would be much >> appreciated. > > I have narrowed the cause of this issue down further to something to > do with soft updates. If I turn off soft updates for the filesystem > hosting the database the system no longer accumulates active vm_pages > constantly. Instead for accumulating 100Mb a day of active vm pages > until all memory is consumed, it will hover around 50-60Mb with soft > updates disabled. > > If someone familiar with the softupdates code is willing to help me > pinpoint the cause of this problem it would be much appreciated. > Is it possible for you to upgrade to the latest 6-STABLE branch, just to make sure that the issue hasn't been fixed already? Is there any way to reproduce this on another box for testing? (I assume not, due to the nature of these things) Also - I wonder if doing a snapshot on the filesystem would flush out the pages - is that something you can try? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ _______________________________________________ freebsd-fs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-fs To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"