[Omake] Re: Locking and NFS
Phil Endecott
spam_from_omake at chezphil.org
Thu Dec 21 15:13:12 PST 2006
>> $ omake hello
>> Fatal error: exception Failure("Failed to lock the file .omakedb.lock:
>> No locks available")
>>
>> This is an NFS filesystem and it does not support locking.
>
> The problem here is that on your system for some reason the lockf call
> results in errno set to ENOLCK (which is supposed to mean "the request
> would cause the number of locks to exceed a system-imposed limit")
> instead of the EOPNOTSUPP (which is what normally happens on those NFS
> fylesystems).
>> Note that it takes several seconds for the above error to appear - I
>> think there is some sort of timeout occuring.
>>
> Hm, strange. What kind of operating system are you using? Are you sure
> that your NFS partition is mounted without the locking support and the
> error is not caused by the lockd malfunctioning somehow?
You are right; it seems that lockd was running but "statd", which I had
never heard of before, was not running on the client. That's now
fixed, and OMake works.
Many thanks,
Phil.
More information about the Omake
mailing list