Even if you replace the python mbox code with something that uses
fcntl.flock() to protect against concurrent updating, you should also
understand that NFS does *not* provide full Unix filesystem semantics.
In particular, Unix flock(2) (which Python's fcntl.flock() wraps)
doesn't work over NFS.
On 8/10/2010 2:25 AM, Chris Rebert wrote:
On Tue, Aug 10, 2010 at 2:01 AM,tinn...@isbd.co.uk wrote:
Tim Robertst...@probo.com wrote:
tinn...@isbd.co.uk wrote:
I'm using the python mailbox class in a script that processes incoming
mail and delivers it to various mbox format mailboxes. It
tinn...@isbd.co.uk wrote:
I'm using the python mailbox class in a script that processes incoming
mail and delivers it to various mbox format mailboxes. It appears
that, although I am calling the lock method on the destination before
writing to the mbox and calling unlock afterwards the locking
Tim Roberts t...@probo.com wrote:
tinn...@isbd.co.uk wrote:
I'm using the python mailbox class in a script that processes incoming
mail and delivers it to various mbox format mailboxes. It appears
that, although I am calling the lock method on the destination before
writing to the mbox and
On Tue, Aug 10, 2010 at 2:01 AM, tinn...@isbd.co.uk wrote:
Tim Roberts t...@probo.com wrote:
tinn...@isbd.co.uk wrote:
I'm using the python mailbox class in a script that processes incoming
mail and delivers it to various mbox format mailboxes. It appears
that, although I am calling the
I'm using the python mailbox class in a script that processes incoming
mail and delivers it to various mbox format mailboxes. It appears
that, although I am calling the lock method on the destination before
writing to the mbox and calling unlock afterwards the locking isn't
working correctly.
I