From owner-freebsd-net@FreeBSD.ORG Thu Oct 21 12:51:06 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E544316A4CE; Thu, 21 Oct 2004 12:51:06 +0000 (GMT) Received: from melusine.cuivre.fr.eu.org (melusine.cuivre.fr.eu.org [82.225.155.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6241C43D48; Thu, 21 Oct 2004 12:51:06 +0000 (GMT) (envelope-from thomas@FreeBSD.ORG) Received: by melusine.cuivre.fr.eu.org (Postfix, from userid 1000) id 9F28F2C3D0; Thu, 21 Oct 2004 14:51:04 +0200 (CEST) Date: Thu, 21 Oct 2004 14:51:04 +0200 From: Thomas Quinot To: freebsd-net@freebsd.org, wpaul@freebsd.org Message-ID: <20041021125104.GA14176@melusine.cuivre.fr.eu.org> References: <20041019135612.GA27971@melusine.cuivre.fr.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041019135612.GA27971@melusine.cuivre.fr.eu.org> X-message-flag: WARNING! Using Outlook can damage your computer. User-Agent: Mutt/1.5.6i Subject: Re: yppush going into an endless loop X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2004 12:51:07 -0000 * Thomas Quinot, 2004-10-19 : > On a 5.2.1-REL NIS server where NIS maps are updated every hour from a > crontab, I often see yppush going into an endless loop: Here is more information. I was able to capture the output of yppush on one of these occurrences: yppush: transfer of map netid.byname to server failed yppush: status returned by ypxfr: Master's version not newer yppush in malloc(): error: recursive call yppush: warning: exiting with transfer to (transid = 1098286624) still pending yppush in free(): error: recursive call yppush: warning: exiting with transfer to (transid = 1098286624) still pending yppush in free(): error: recursive call yppush: warning: exiting with transfer to (transid = 1098286624) still pending yppush in free(): error: recursive call yppush: warning: exiting with transfer to (transid = 1098286624) still pending [...] Something fishy is happening here, maybe the SIGIO handler is called at an unfortunate time. I'll patch around yppush to get a core dump at that point. Thomas. -- Thomas.Quinot@Cuivre.FR.EU.ORG