in reply to Re: File::NFSLock owner identification?
in thread File::NFSLock owner identification?

Definitely true of the OS. But what of the module? Does a thread in the module think it has a lock? Or possibly some other anomaly within the module itself?

--Chris

Hey. I'm not completely useless. I can be used as a bad example.
  • Comment on Re^2: File::NFSLock owner identification?

Replies are listed 'Best First'.
Re^3: File::NFSLock owner identification?
by Anonymous Monk on Dec 06, 2013 at 04:16 UTC

    Definitely true of the OS. But what of the module? Does a thread in the module think it has a lock? Or possibly some other anomaly within the module itself?

    Incomprehensible

      Incomprehensible!
      You keep using that word. I do not think it means what you think it means.

      Hello. My name is File::NFSLock. You killed my lock attempt. Prepare to die()!

      (Ok. Rewriting this post, now that I know "more".)

      The OS is (currently) a somewhat older version of Fedora, but we are in the process of getting up to current. I am told the NFS version is 3.

      I am not as clear as I want to be on how this problem manifests itself. Since I am only hearing about it through another engineer (my boss).

      I thought originally, the failure happens because the requested process on each server is essentially simultaneous--in this case taken to mean faster than the lock can be detected by either machine. Is this possible?

      However, now the original engineer is saying that it might be because the second server is actually just waiting until the lock is free, and then running the same process blindly. The lock type is "LOCK_EX" (BLOCKING). But that makes no sense, because if that's the issue, couldn't he just make a NONBLOCKING lock and quit if got back undef? So, now I have to dig further.

      I'll ask him to get his story straight, and/or I'll have to find a way for us to test this.