How can I find file system concurrency issues ?

Posted by krosenvold on Stack Overflow See other posts from Stack Overflow or by krosenvold
Published on 2010-03-26T17:09:14Z Indexed on 2010/03/26 17:13 UTC
Read the original article Hit count: 298

Filed under:
|

I have an application running on Linux, and I find myself wanting windows (!).

The problem is that every 1000 times or so I run into concurrency problems that are consistent with concurrent reading/writing of files. I am fairly sure that this behavior would be prohibited by file locking under Windows, but I don't have any sufficiently fast windows box to check.

There is simply too much file access (too much data) to expect strace to work reliably - the sheer volume of output is likely to change the problem too. It also happens on different files every time. Ideally I would like to change/reconfigure the linux file system to be more restrictive (as in fail-fast) wrt concurrent access.

Are there any tools/settings I can use to achieve this ?

© Stack Overflow or respective owner

Related posts about file-io

Related posts about linux