mysociety / alaveteli

Provide a Freedom of Information request system for your jurisdiction
https://alaveteli.org
Other
387 stars 195 forks source link

update-xapian-index fails with poor error message #3127

Open garethrees opened 8 years ago

garethrees commented 8 years ago
[cron-alaveteli] Cron <foi@FILTERED> run-with-lockfile -n /FILTERED/www.whatdotheyknow.com/change-xapian-database.lock "/FILTERED/www.whatdotheyknow.com/alaveteli/script/update-xapian-index verbose=true" >> /FILTERED/www.whatdotheyknow.com/alaveteli/log/update-xapian-index.log || echo "stalled?

stalled?

Should produce something that's useful for diagnostics, like why it stalled or what to go and do next.

garethrees commented 8 years ago

Reword stalled to "Took longer than 5 minutes to run; if you see this multiple times in a row over a small period you should look in to it"