5

From the SQLite FAQ:

  1. Can multiple applications or multiple instances of the same application access a single database file at the same time?

    SQLite uses reader/writer locks to control access to the database. … But use caution: this locking mechanism might not work correctly if the database file is kept on an NFS filesystem. This is because fcntl() file locking is broken on many NFS implementations. You should avoid putting SQLite database files on NFS if multiple processes might try to access the file at the same time. …

Is there a simple test to see whether fcntl() locking works for my combination of NFS client and server?

Michael Hampton
  • 237,123
  • 42
  • 477
  • 940
200_success
  • 4,701
  • 1
  • 24
  • 42

1 Answers1

2

I contacted Vincent at bullopensource, which no longer exists. He has moved the code here: https://sourceforge.net/projects/locktests/
Worked for me. Enjoy.

Edward Ned Harvey
  • 482
  • 3
  • 6
  • 14