Berger, Daniel wrote: > I might be totally off here, but are you using NFS by any chance? According > to some posts I've read on comp.unix.solaris, flock is just plain busted on > NFS. I've heard about flock/NFS/Linux problems, but I thought on Solaris flock was ok because it's based on fcntl. Anyway, I'm using /tmp, which is local. But thanks for mentioning it. I've got my code working now--I just avoid doing File#read in the context of another lock.