We\'ve had issues in the past where a rogue process was keeping a sqlite db locked. I\'ve written some code to notify us if this is happening, but need to test it.
H
Execute these statements:
PRAGMA locking_mode = EXCLUSIVE; BEGIN EXCLUSIVE;
This will lock whole database until you execute:
COMMIT;
For simplicity, you can do this using sqlite3 command line utility.
sqlite3
For more info, see documentation.