From owner-freebsd-fs@FreeBSD.ORG Sat Jun 12 20:25:00 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C0ED106566C; Sat, 12 Jun 2010 20:25:00 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8F08C8FC0C; Sat, 12 Jun 2010 20:24:59 +0000 (UTC) Received: by bwz2 with SMTP id 2so1535531bwz.13 for ; Sat, 12 Jun 2010 13:24:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :x-comment-to:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=jgLuAZLEqB+ZDfyE0vubpbDmMxxbmhZTrKJQIDRl2rg=; b=jAauPJJHRkTGYNneTy6S+foFKx/bEIWGq6cKwGiGM94BzkPQBm5J692naYTbL9PK6Y YJTXb8zSrE/SIeQq2bF3NzKdNGGj3N68o7TemHhcgI/FTCHYXSW8anl/zPn/ADLiGlqx NRdoXGUTI527tokf3mBGo5zIHTwrwiM+Bo5Jk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:x-comment-to:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=xIJc91kHr3XVI+FeOWHUPQceU0ByO9CqavQL7nrovO3IMXhEVkA6Jf4Ww62dNIvKOS kA3iuLYp9xrYZzm07FhxNa2tYmFVE6lIv7bTaGf51vpEtqnHcC/LHCU/uLPdXhFcVIS3 G1nU5ENbtG0QlB88ytebwjcSCByk/4ZqOX1ag= Received: by 10.204.74.35 with SMTP id s35mr2669221bkj.33.1276374298416; Sat, 12 Jun 2010 13:24:58 -0700 (PDT) Received: from localhost ([95.69.160.52]) by mx.google.com with ESMTPS id z17sm11246814bkx.12.2010.06.12.13.24.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 12 Jun 2010 13:24:57 -0700 (PDT) From: Mikolaj Golub To: "hiroshi\@soupacific.com" References: <4BCFA4C2.6000109@soupacific.com> <4BCFB1C5.5000908@soupacific.com> <4BD01800.9040901@soupacific.com> <4BD0438B.5080308@soupacific.com> <4BD0E432.1000108@soupacific.com> <20100423061521.GC1670@garage.freebsd.pl> <4BD17B0D.5080601@soupacific.com> <4C10B526.4040908@soupacific.com> <20100612104336.GA2253@garage.freebsd.pl> <4C1372E0.1000903@soupacific.com> <20100612142311.GF2253@garage.freebsd.pl> <4C139F9C.2090305@soupacific.com> X-Comment-To: hiroshi@soupacific.com Date: Sat, 12 Jun 2010 23:24:53 +0300 In-Reply-To: <4C139F9C.2090305@soupacific.com> (hiroshi@soupacific.com's message of "Sat, 12 Jun 2010 23:54:20 +0900") Message-ID: <86iq5oc82y.fsf@kopusha.home.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Cc: freebsd-fs@freebsd.org, Pawel Jakub Dawidek Subject: Re: FreeBSD 8.1 and HAST 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: Sat, 12 Jun 2010 20:25:00 -0000 --=-=-= On Sat, 12 Jun 2010 23:54:20 +0900 hiroshi@soupacific.com wrote: >> Could you send the debug from the whole session, but when the problem >> appears? I don't see those "socket is not connected" errors in the >> output you sent. h> "socket is not connected" errors is in message log >> If it is possible could you turn off lines wrapping or maybe send the >> debug output as an attachment? >> h> I here attache debug.log and message files. It would be good to have all.log enabled in newsyslog.conf and provide the output from there so all lines are in one log and it is clear which message appeared earlier. Also the logs from the primary could be useful too. h> Jun 12 23:40:09 sv01B hastd: [zfshast] (secondary) send: (0x8011f52e0) Got request: WRITE(0, 131072). h> Jun 12 23:40:09 sv01B hastd: [zfshast] (secondary) disk: (0x8011f52e0) Moving request to the free queue. BTW, this message lies that it is from the disk thread. It is from the send thread too. See the attached patch. h> Jun 12 23:40:09 sv01B hastd: [zfshast] (secondary) send: Taking request. h> Jun 12 23:40:09 sv01B hastd: [zfshast] (secondary) send: No requests, waiting. -- Mikolaj Golub --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=secondary.c.send.patch Index: sbin/hastd/secondary.c =================================================================== --- sbin/hastd/secondary.c (revision 208960) +++ sbin/hastd/secondary.c (working copy) @@ -687,7 +687,7 @@ send_thread(void *arg) pjdlog_exit(EX_TEMPFAIL, "Unable to send reply."); } nv_free(nvout); - pjdlog_debug(2, "disk: (%p) Moving request to the free queue.", + pjdlog_debug(2, "send: (%p) Moving request to the free queue.", hio); nv_free(hio->hio_nv); hio->hio_error = 0; --=-=-=--