Hello Janos,

I installed the cronjobs as suggested in your documentation. This is causing a lot of errors, though.

e.g.:
FATAL: failed to lock /var/piler/sphinx/tag1.tmp.spl: Resource temporarily unavailable, will not index. Try --rotate option. FATAL: failed to lock /var/piler/sphinx/note1.tmp.spl: Resource temporarily unavailable, will not index. Try --rotate option. FATAL: failed to lock /var/piler/sphinx/delta1.tmp.spl: Resource temporarily unavailable, will not index. Try --rotate option.

Cronjob config is as follows:
### PILERSTART
5,35 * * * * /usr/local/libexec/piler/indexer.delta.sh
30   2 * * * /usr/local/libexec/piler/indexer.main.sh
15,45 * * * * /usr/local/libexec/piler/indexer.attachment.sh
*/15 * * * * /usr/bin/indexer --quiet tag1 --rotate --config /usr/local/etc/piler/sphinx.conf */15 * * * * /usr/bin/indexer --quiet note1 --rotate --config /usr/local/etc/piler/sphinx.conf 30 6 * * * /usr/bin/php /usr/local/libexec/piler/generate_stats.php --webui /var/www/piler */5 * * * * /usr/bin/find /var/www/piler/tmp -type f -name i.\* -exec rm -f {} \;
### PILEREND

Is the cause maybe that most jobs run at */15 or 15,30,45? Or is has a different cause. Or should I just use the --rotate option as suggested? Please let me know how to further investigate this.

Cheers
Stephan

Reply via email to