From owner-freebsd-stable@FreeBSD.ORG Tue Sep 3 15:06:30 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C62E5FEB; Tue, 3 Sep 2013 15:06:30 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from mail-vb0-x229.google.com (mail-vb0-x229.google.com [IPv6:2607:f8b0:400c:c02::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5BD0023CD; Tue, 3 Sep 2013 15:06:30 +0000 (UTC) Received: by mail-vb0-f41.google.com with SMTP id g17so4161026vbg.28 for ; Tue, 03 Sep 2013 08:06:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=sbEIHtc9cneRCIj/hio8dudBdAPeSOIkaBKTXHCBDyY=; b=Kaz+ZADzHxGl6eMsXkOZfsLCC9ZEQcMV89DdJP91UgQcpfOjAEDMIsXXieS9mza+bU kTC7YgrGDaT8fmJ3fdNyembFYM2AhqvgE7pe+jYDdvb9JqR1ULqUG7bqNm93cTp4SGoK YsMp2D4p+wTlFXCoXkaKWtUuD9EppP/1uZfJh4gGCgpMhuWtQu6haoERL+uoExIdb2x8 KsdYONIttR4xWilSHgJflRr7NLwvsk3c2a8ZX9ZM0VJiLaxa4aJ43KJHqgiYsEgyCDd0 O2v6ICS4vNl0YtOk4KubIBgC00qFNlS0i66CeyeGQI0tIWmG4mTlLuJJ4I+ZWZaN1jGa QrRA== MIME-Version: 1.0 X-Received: by 10.58.108.74 with SMTP id hi10mr8235081veb.14.1378220789548; Tue, 03 Sep 2013 08:06:29 -0700 (PDT) Received: by 10.220.122.1 with HTTP; Tue, 3 Sep 2013 08:06:29 -0700 (PDT) In-Reply-To: References: <370A25C8-7747-4B96-A506-EB92FD0F77CF@FreeBSD.org> <1377895898.1111.341.camel@revolution.hippie.lan> Date: Tue, 3 Sep 2013 11:06:29 -0400 Message-ID: Subject: Re: gmirror crash writing to disk? Or is it su+j crash? From: Zaphod Beeblebrox To: =?ISO-8859-2?Q?Edward_Tomasz_Napiera=B3a?= Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Stable , Ian Lepore X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Sep 2013 15:06:30 -0000 Since there weren't any more ideas here, I tried turning off hyper-threading. This is an old pentium-D type CPU --- that is: one core with HT. I'm wondering if the HT nature is helping this resource exhaustion, so I turned off HT (basically making this a single-threaded CPU) and it seems to have made the problem go away. That is not to say that the problem is fixed: it simply means that replication may be tied to multiple CPUs and/or the allocation of resources by an HT CPU core. On Mon, Sep 2, 2013 at 3:53 AM, Zaphod Beeblebrox wrote= : > The first one (kern.geom.transient_map_retries) causes the system to wedg= e. > > The second one (default is 180, I doubled to 360) causes the system to > crash but not dump. > > So... neither fixes the problem. > > > On Sat, Aug 31, 2013 at 5:27 AM, Edward Tomasz Napiera=B3a < > trasz@freebsd.org> wrote: > >> Wiadomo=B6=E6 napisana przez Zaphod Beeblebrox w dni= u 31 >> sie 2013, o godz. 00:49: >> > Because someone said that there would be no logging of unerlying ATA >> errors without verbose, I rebooted with verbose and tried the same make = -j4 >> again... and here is the relatively similar core.txt.5 >> > >> > >> https://uk.eicat.ca/owncloud/public.php?service=3Dfiles&t=3Dd99648ef5876= b91c5957148445e60c87 >> > >> > Looking at it, gmirror is dropping the same error and the underlying >> hardware is not causing the error... >> >> Let me quote Konstantin: >> >> > It is either an exhaustion of the transient map, or a deadlock. >> > For the first, setting kern.geom.transient_map_retries to 0 could help= . >> > For the second, the count of the transient buffers must be increased, >> > by kern.bio_transient_maxcnt loader tunable. >> >> Could you try both and tell which one of them fixed the problem? Thanks= ! >> >> >