Just wanted to send this to the list as it may be a FAQ.

The default index frequency is fine for production but for testing it can
be tedious. I read a document that mentioned increasing the frequency of
the poller is fine, but you need to make sure that executions won't
overlap. Leveraging flock will let you increase the execution frequency and
ensure that cron won't launch overlapping indexer.delta.sh processes.

Update piler's cron for the indexer.delta.sh:

*/5 * * * * flock -n /tmp/.piler.indexer.delta.flock -c
"/usr/local/libexec/piler/indexer.delta.sh"


Enjoy 5 minute indexing but watch your load!


Casey

Reply via email to