From owner-freebsd-fs@FreeBSD.ORG Mon Feb 6 23:11:17 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 43E9716A420 for ; Mon, 6 Feb 2006 23:11:17 +0000 (GMT) (envelope-from bigby@ephemeron.org) Received: from home.ephemeron.org (68-190-197-159.dhcp.rvsd.ca.charter.com [68.190.197.159]) by mx1.FreeBSD.org (Postfix) with ESMTP id B842643D45 for ; Mon, 6 Feb 2006 23:11:16 +0000 (GMT) (envelope-from bigby@ephemeron.org) Received: from home.ephemeron.org (localhost [127.0.0.1]) by home.ephemeron.org (8.13.4/8.13.4) with ESMTP id k16NBFKe070051; Mon, 6 Feb 2006 15:11:15 -0800 (PST) (envelope-from bigby@ephemeron.org) Received: from localhost (bigby@localhost) by home.ephemeron.org (8.13.4/8.13.4/Submit) with ESMTP id k16NBDjL070048; Mon, 6 Feb 2006 15:11:15 -0800 (PST) (envelope-from bigby@ephemeron.org) X-Authentication-Warning: home.ephemeron.org: bigby owned process doing -bs Date: Mon, 6 Feb 2006 15:11:12 -0800 (PST) From: Bigby Findrake To: John Kozubik In-Reply-To: <20060124084235.N55438@kozubik.com> Message-ID: <20060206150630.N66726@home.ephemeron.org> References: <20060124084235.N55438@kozubik.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-fs@freebsd.org Subject: Re: kern/92272 ... comments ? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Feb 2006 23:11:17 -0000 FYI - I'm not on freebsd-fs, so include me if you want me to see a response. We're seeing similar (identical?) behaviour out of 5.4R. We hadn't been able to nail down what the catalyst was, only that after we upgraded to 5 (from 4.10) and started using snapshots we started to see weird, but consistant hangs - weird because on the console virtual terminals could be switched between, the keyboard lights responded to modifier keys as one would expect, and network ports could be connected to, but in every other way the machine seemed to be dead, non-reactive, and non-responsive. I would be happy to provide any other information I can to help. On Tue, 24 Jan 2006, John Kozubik wrote: > > freebsd-fs, > > I submitted this PR today. I will continue to test and recreate it on > some other systems - perhaps even on 5.x if I have time. If anyone here > has time, perhaps they could also try to reproduce it. > > Two items I am curious about: > > 1. Has anyone seen this behavior before ? > > 2. Any comments as to the likelihood that this is an isolated, specific > problem (filling a filesystem while creating a snapshot breaks things, > and when it is fixed it won't) or if this is a more general behavior of a > larger class of problem with the snapshot/filesystem code ? > > That is, will solving this problem only solve this problem, or will other > problems (discovered and not) be solved ? > > Thanks. > > > ---------- Forwarded message ---------- > Date: Tue, 24 Jan 2006 16:40:05 GMT > From: FreeBSD-gnats-submit@FreeBSD.org > To: John Kozubik > Subject: Re: kern/92272: Filling a filesystem while creating a snapshot on > it locks the system > > Thank you very much for your problem report. > It has the internal identification `kern/92272'. > The individual assigned to look at your > report is: freebsd-bugs. > > You can access the state of your problem report at any time > via this link: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=92272 > >> Category: kern >> Responsible: freebsd-bugs >> Synopsis: Filling a filesystem while creating a snapshot on it locks the system >> Arrival-Date: Tue Jan 24 16:40:05 GMT 2006 > /-------------------------------------------------------------------------/ Giving something away is the ultimate subversive act in a society the economic system of which is structurally based on greed and egotism. finger://bigby@ephemeron.org http://www.ephemeron.org/~bigby/ irc://irc.ephemeron.org/#the_pub news://news.ephemeron.org/alt.lemurs /-------------------------------------------------------------------------/ From owner-freebsd-fs@FreeBSD.ORG Wed Feb 8 11:59:27 2006 Return-Path: X-Original-To: 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 525B816A420; Wed, 8 Feb 2006 11:59:27 +0000 (GMT) (envelope-from ricardo_bsd@yahoo.com.br) Received: from maritaca.epm.br (disrouter.epm.br [200.17.25.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD8E143D48; Wed, 8 Feb 2006 11:59:26 +0000 (GMT) (envelope-from ricardo_bsd@yahoo.com.br) Received: from localhost (localhost.localdomain [127.0.0.1]) by maritaca.epm.br (Postfix) with ESMTP id 7197C3B98; Wed, 8 Feb 2006 09:59:24 -0200 (BRDT) Received: from [172.22.1.166] (ricardo.epm.br [172.22.1.166]) by maritaca.epm.br (Postfix) with ESMTP id F36643B87; Wed, 8 Feb 2006 09:59:17 -0200 (BRDT) Message-ID: <43E9DD03.8040008@yahoo.com.br> Date: Wed, 08 Feb 2006 09:58:59 -0200 From: "Ricardo A. Reis" User-Agent: Thunderbird 1.5 (X11/20060126) MIME-Version: 1.0 To: stable@freebsd.org, fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit UNIFESP-Virus-Scanned: by amavisd-new at dis.epm.br Cc: Subject: fsck: cannot increase directory list and Out of Memory . X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2006 11:59:27 -0000 Hi, I have severals problems with one server ibm x346, i use FreeBSD 6-STABLE, After a electric panic, this system refused to pass fsck with a message "fsck: cannot increase directory list" , the ibm bios not notified per "memory errors", i rebooting and boot with fresbie and pass fsck and this work. In the same machine i have a geom concat volume with +/- 90 GB, i don't have success to pass fsck on console "cannot alloc 6404196 bytes for bockmap ". Before fail geom mount i comment this partition on fstab, i resolved reboot for normal boot but any commands and login resulted in "out of memory" Thanks. Ricardo A. Reis UNIFESP Unix and Network Admin From owner-freebsd-fs@FreeBSD.ORG Wed Feb 8 12:11:37 2006 Return-Path: X-Original-To: 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 9D26216A420; Wed, 8 Feb 2006 12:11:37 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46DF143D45; Wed, 8 Feb 2006 12:11:36 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k18CBZVC090729; Wed, 8 Feb 2006 06:11:36 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <43E9DFF7.4070400@centtech.com> Date: Wed, 08 Feb 2006 06:11:35 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5 (X11/20060112) MIME-Version: 1.0 To: "Ricardo A. Reis" References: <43E9DD03.8040008@yahoo.com.br> In-Reply-To: <43E9DD03.8040008@yahoo.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1280/Tue Feb 7 04:11:53 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: stable@freebsd.org, fs@freebsd.org Subject: Re: fsck: cannot increase directory list and Out of Memory . X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2006 12:11:37 -0000 Ricardo A. Reis wrote: > Hi, > > > I have severals problems with one server ibm x346, i use FreeBSD > 6-STABLE, > > After a electric panic, this system refused to pass fsck with a > message "fsck: cannot increase directory list" , > the ibm bios not notified per "memory errors", i rebooting and boot > with fresbie and pass fsck and this work. > In the same machine i have a geom concat volume with +/- 90 GB, i > don't have success to pass fsck > on console "cannot alloc 6404196 bytes for bockmap ". > Before fail geom mount i comment this partition on fstab, i resolved > reboot for normal boot > but any commands and login resulted in "out of memory" You need to increase the maxdsiz setting to something bigger - the default I believe is 512MB, so if you have say, 1GB of memory, you may try setting it to 800MB. You set it in /boot/loader.conf by adding a line like this: kern.maxdsiz="768000000" Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-fs@FreeBSD.ORG Wed Feb 8 14:05:30 2006 Return-Path: X-Original-To: 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 EEF8E16A420; Wed, 8 Feb 2006 14:05:30 +0000 (GMT) (envelope-from ricardo_bsd@yahoo.com.br) Received: from maritaca.epm.br (disrouter.epm.br [200.17.25.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DED743D49; Wed, 8 Feb 2006 14:05:29 +0000 (GMT) (envelope-from ricardo_bsd@yahoo.com.br) Received: from localhost (localhost.localdomain [127.0.0.1]) by maritaca.epm.br (Postfix) with ESMTP id 6E9343F22; Wed, 8 Feb 2006 12:05:28 -0200 (BRDT) Received: from [172.22.1.166] (ricardo.epm.br [172.22.1.166]) by maritaca.epm.br (Postfix) with ESMTP id 8AA5C3B9D; Wed, 8 Feb 2006 12:05:22 -0200 (BRDT) Message-ID: <43E9FA90.9090502@yahoo.com.br> Date: Wed, 08 Feb 2006 12:05:04 -0200 From: "Ricardo A. Reis" User-Agent: Thunderbird 1.5 (X11/20060126) MIME-Version: 1.0 To: Eric Anderson References: <43E9DD03.8040008@yahoo.com.br> <43E9DFF7.4070400@centtech.com> In-Reply-To: <43E9DFF7.4070400@centtech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit UNIFESP-Virus-Scanned: by amavisd-new at dis.epm.br Cc: stable@freebsd.org, fs@freebsd.org Subject: Re: fsck: cannot increase directory list and Out of Memory . X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2006 14:05:31 -0000 Hi Eric, Thanks, is work perfectly. On the past i changed this variable for one value minor 512MB per mislead. Thanks again por your help. > > > You need to increase the maxdsiz setting to something bigger - the > default I believe is 512MB, so if you have say, 1GB of memory, you may > try setting it to 800MB. > You set it in /boot/loader.conf by adding a line like this: > > kern.maxdsiz="768000000" > > Eric > > Ricardo A. Reis UNIFESP Unix and Network Admin