Problem with inn_lock_range
Kiernan, Alex
alexk at demon.net
Thu Dec 19 04:51:14 UTC 2002
> > this is also true for tradindexed BTW on the group.index file
> > (at least the
> > old implementation - not running the new one yet) - I'd seen
> > the streams of
> > EAGAINs when trussing, just never looked hard enough.
> >
>
> But I really do have streams of EAGAINs on a production box :(
>
OK, I understand...
If you're running with NFS as the filestore (regardless of whether you're
actually trying to share anything), Solaris will fail all SETLK calls if you
attempt to lock a range on a file which doesn't span the entire file and you
have any part of it mapped (mandatory locks doesn't come into it). Note this
is the case even if you're running with local locks (the llock mount
option).
Note sure where to go next - my instinct is to look at inter-process pthread
style locks for the locking.
--
Alex Kiernan, Principal Engineer, Development, THUS plc
More information about the inn-workers
mailing list