From owner-freebsd-geom@FreeBSD.ORG Sat Jan 13 08:57:52 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B47F316A407 for ; Sat, 13 Jan 2007 08:57:52 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30309.mail.mud.yahoo.com (web30309.mail.mud.yahoo.com [209.191.69.71]) by mx1.freebsd.org (Postfix) with SMTP id 7D3D213C46C for ; Sat, 13 Jan 2007 08:57:52 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: (qmail 32064 invoked by uid 60001); 13 Jan 2007 08:57:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=wXasYloajFNu3XSu6eOP/zX7WvdylbFQIQZ0SASODyLxcHAmWyVYA0JeAH9G0nAbSkx7xFo4lX1o1B1aV/Yeqx5c+pp19KtPnOErYF6+wbPV9oLnZaRQTMcRc2YUt5tzmhSs5nHQtWUtb6UPGBhQAumt/uyY+i2CSe8LLO2Nb4g=; X-YMail-OSG: HSF9mvsVM1nknosatE6sT73tt4VnrWEXV8A3R3tLme4yTpFlRmwQETwZnmyGMbfOU3BHX9E05a0l74.m_lsZxIhv9VXcCPKsuhm36b70uNCXPgc.49oVNgM9u8IbLWpNIHKjQqUdcN7CInQ- Received: from [213.54.176.27] by web30309.mail.mud.yahoo.com via HTTP; Sat, 13 Jan 2007 00:57:51 PST Date: Sat, 13 Jan 2007 00:57:51 -0800 (PST) From: "R. B. Riddick" To: CyberLeo Kitsana In-Reply-To: <45A830CE.2050506@cyberleo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <835894.31143.qm@web30309.mail.mud.yahoo.com> Cc: FreeBSD Geom Subject: Re: geom_raid5 livelock? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jan 2007 08:57:52 -0000 --- CyberLeo Kitsana wrote: > R. B. Riddick wrote: > http://home.cyberleo.net/cyberleo/workspace/Zip/graid5-all.log > > That log contains two full seconds of requests, under the same > circumstances as before (rsync and find processes stuck in wait, along > with an 'ls' or two). If you need more, I can produce it. > > It appears to be completing requests, but always the same requests over > and over. Watching the log for about a minute doesn't show any other > requests during this time. > > [start] raid5/raid5[READ(offset=779825545216, length=16384)] > [start] raid5/raid5[READ(offset=764410200064, length=16384)] > Hmm... Thats strange... Possibly there happens an ENOMEM error, which would explain the repititions... A further debug line (it is again at debug level 2) before the current line 1165 (inside the inbed==children IF but in the end of it): G_RAID5_LOGREQ(bp, "[ready err%d cmp%jd]", obp->bio_error, obp->bio_completed); Or turn on "bootverbose"... For better data safety (e. g. in case of a power loss), I would recommend to reduce kern.geom.raid5.wdt to 0 or 1 (the lower the safer). For less memory consumtion I would use lower values for .maxmem and for .maxwql... -Arne ____________________________________________________________________________________ Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit. http://farechase.yahoo.com/promo-generic-14795097