Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: File::NFSLock owner identification?

by Anonymous Monk
on Dec 06, 2013 at 04:16 UTC ( [id://1065898]=note: print w/replies, xml ) Need Help??


in reply to Re^2: 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?

Incomprehensible

  • Comment on Re^3: File::NFSLock owner identification?

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

    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()!

Re^4: File::NFSLock owner identification?
by SleepyJay (Beadle) on Dec 06, 2013 at 19:43 UTC

    (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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1065898]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2024-04-24 10:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found