From owner-freebsd-current@FreeBSD.ORG Thu Feb 5 23:13:37 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8151A16A4CE for ; Thu, 5 Feb 2004 23:13:37 -0800 (PST) Received: from mail.allcaps.org (mail.allcaps.org [206.251.247.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2E8743D1F for ; Thu, 5 Feb 2004 23:13:36 -0800 (PST) (envelope-from bsder@allcaps.org) Received: from mail.allcaps.org (localhost [127.0.0.1]) by mail.allcaps.org (Postfix) with ESMTP id 4CB53D8420; Thu, 5 Feb 2004 23:21:16 -0800 (PST) Received: from localhost (bsder@localhost)i167LF3h041249; Thu, 5 Feb 2004 23:21:16 -0800 (PST) X-Authentication-Warning: mail.allcaps.org: bsder owned process doing -bs Date: Thu, 5 Feb 2004 23:21:15 -0800 (PST) From: "Andrew P. Lentvorski, Jr." To: Frode Nordahl In-Reply-To: <0703C4CC-5805-11D8-951F-000A95A9A574@nordahl.net> Message-ID: <20040205231849.D41237@mail.allcaps.org> References: <0703C4CC-5805-11D8-951F-000A95A9A574@nordahl.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: rpc.lockd(8) seg faults on 5.2-RELEASE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 06 Feb 2004 07:13:37 -0000 On Thu, 5 Feb 2004, Frode Nordahl wrote: > I also found this in send_granted(): lockd_lock.c:2161 > > debuglog("About to send granted on blocked lock\n"); > sleep(1); > debuglog("Blowing off return send\n"); > > Anyone know what sleep(1) is good for here? The sleep() statements near debuglog() stuff are to work around the fact that syslog has bugs where it arbitrarily and randomly eats messages when you start sending too much data at it too quickly. By slowing down the logging, all of the messages get recorded. -a