Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Feb 2004 23:21:15 -0800 (PST)
From:      "Andrew P. Lentvorski, Jr." <bsder@allcaps.org>
To:        Frode Nordahl <frode@nordahl.net>
Cc:        current@freebsd.org
Subject:   Re: rpc.lockd(8) seg faults on 5.2-RELEASE
Message-ID:  <20040205231849.D41237@mail.allcaps.org>
In-Reply-To: <0703C4CC-5805-11D8-951F-000A95A9A574@nordahl.net>
References:  <0703C4CC-5805-11D8-951F-000A95A9A574@nordahl.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040205231849.D41237>