http://www.perlmonks.org?node_id=761313


in reply to Re: Lightweight Solution To "Only 1 Process Running" On AIX
in thread Lightweight Solution To "Only 1 Process Running" On AIX

Bloodnok,
Thanks! Would you be able to try the same code using File::FcntLock as suggested by tye? I don't have an environment where I can play as this is really coming from another group (I work mostly on Solaris boxes). At least knowing if that will work or if this is strictly an AIX issue will go along way to saving time.

Again, thanks for confirming this is an issue on AIX.

Cheers - L~R

  • Comment on Re^2: Lightweight Solution To "Only 1 Process Running" On AIX

Replies are listed 'Best First'.
Re^3: Lightweight Solution To "Only 1 Process Running" On AIX
by idsfa (Vicar) on May 01, 2009 at 15:45 UTC
    As the trace shows, flock is implemented via fcntl on AIX ... so there shouldn't be any difference.

    The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. — Cyrus H. Gordon
Re^3: Lightweight Solution To "Only 1 Process Running" On AIX
by Bloodnok (Vicar) on May 02, 2009 at 10:34 UTC
    No probs LR - at least _you_ have a decent box/OS on which to work :D.

    I hope that there's no rush for the test - I'm not sure I'll have the time 'til Tuesday (Monday being a bank holiday in the UK an' all).

    Will keep you posted...

    A user level that continues to overstate my experience :-))