Concurrent Clean : SQLite3

SQLite3 bindings for CleanをLinuxで動かそうとしているのですが、そのまえに、SQLite3そのものが動作しない。
「database is locked」というメッセージを表示して、何の処理も受け付けてくれない。

      • -

ファイルシステムNFSであることが何か関係していそうな気がする。

      • -

ビンゴっぽい。
http://www.sqlite.org/faq.html#q7

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.

      • -

DBファイルをローカルディスク上に置いたら、正しく動作した。