From owner-freebsd-current@FreeBSD.ORG Wed May 25 18:21:06 2011 Return-Path: Delivered-To: current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C8551065674; Wed, 25 May 2011 18:21:06 +0000 (UTC) (envelope-from sobomax@sippysoft.com) Received: from mail.sippysoft.com (mail.sippysoft.com [4.59.13.245]) by mx1.freebsd.org (Postfix) with ESMTP id 0521F8FC0A; Wed, 25 May 2011 18:21:06 +0000 (UTC) Received: from [4.59.13.245] (helo=[192.168.1.79]) by mail.sippysoft.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.72 (FreeBSD)) (envelope-from ) id 1QPIhd-0008ms-3i; Wed, 25 May 2011 11:21:05 -0700 Message-ID: <4DDD4890.70604@FreeBSD.org> Date: Wed, 25 May 2011 11:21:04 -0700 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: Pawel Jakub Dawidek Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit Sender: sobomax@sippysoft.com X-ssp-trusted: yes Cc: "current@freebsd.org" Subject: Weird issue with hastd(8) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2011 18:21:06 -0000 Hi Pawel, I am observing strange errors while synchronizing the data between primary and secondary. I keep getting the following error messages: May 25 11:09:19 eights hastd[10113]: [test] (secondary) Unable to receive request header: Socket is not connected. May 25 11:09:24 eights hastd[37571]: [test] (secondary) Worker process exited ungracefully (pid=10113, exitcode=75). May 25 11:10:17 eights hastd[12109]: [test] (secondary) Unable to receive request header: Socket is not connected. May 25 11:10:18 eights hastd[37571]: [test] (secondary) Worker process exited ungracefully (pid=12109, exitcode=75). May 25 11:10:39 eights hastd[14685]: [test] (secondary) Unable to receive request header: Socket is not connected. May 25 11:10:44 eights hastd[37571]: [test] (secondary) Worker process exited ungracefully (pid=14685, exitcode=75). The synchronization steel proceeds, but it's slow due to the need to re-negotiate and re-spawn the secondary worker. I have tried to ktrace both server and client at the same time. For some reason the primary keeps sending data, while client gets 0-read from the recvfrom at some point, while the primary keeps sending more data. This is 8-STABLE code on both ends. Any ideas of what could be wrong here are appreciated. -Maxim