Re: rpc.lockd(8) seg faults on 5.2-RELEASE

From: Andrew P. Lentvorski, Jr. <bsder_at_allcaps.org>
Date: Thu, 5 Feb 2004 23:21:15 -0800 (PST)
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
Received on Thu Feb 05 2004 - 22:13:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:41 UTC