Compass indexer use a filesystem lock to isolate transactions.
By default, this lock has a timeout of 10s.
This basically means that if you have transaction that last more than 10s you may see the Lock TimeOut error.
Having long/slow indexing transactions can have several causes :
- your server is slow
- you index document that contains a lot of full text that is slow to extract
- your server runs MS Windows and you have an Antivirus or an other process (like MSDTC) that prevent compass from releasing the lock quickly
The value of the lock timeout can be configured.
For that, you have to edit the compass-cfg.xml file found in nuxeo.ear/system/nuxeo-platform-search-compass-plugin-XXX.jar/
At the end of the compass tag, add the felowing config :
Labels:
None