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

From: Frode Nordahl <frode_at_nordahl.net>
Date: Tue, 10 Feb 2004 10:56:04 +0100
Hello,

This is not a sollution, but I have run with this workaround since 
friday without incident.

I think there are two problems:
  - freed items are sometimes not removed from the nfslocklist
  - first element in blockedlocklist sometimes get wrong, causing a 
infinite loop in retry_blockingfilelocklist()

Mvh,
Frode


On Feb 6, 2004, at 08:21, Andrew P. Lentvorski, Jr. wrote:

> 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
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to 
> "freebsd-current-unsubscribe_at_freebsd.org"

Received on Tue Feb 10 2004 - 00:56:07 UTC

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