Alerts by email
Sometimes when we run a rebuild or index task on Heroku we have weird errors like:
FATAL: failed to lock /mnt/local/flying-sphinx/xxxxxxxxxxxx/indexes/xxxx_core.spl: Resource temporarily unavailable, will not index. Try --rotate option.
We found that the error basically tell us "hey, you don't have free space in your plan to store your indexes, so upgrade your plan".
Is there a possibility to have an alert by email to say us "Your free space is reaching your plan's limits, please upgrade", when the free space is under a specific umbral ?
|?||Show this help|
|ESC||Blurs the current field|
|r||Focus the comment reply box|
|^ + ↩||Submit the comment|
You can use
Command ⌘ instead of
Control ^ on Mac
Support Staff 1 Posted by Pat Allan on 18 Apr, 2015 08:29 AM
It actually sounds like you had multiple index requests happening at once, and the second couldn't operate properly because the first had the specific index file locked.
There are alert emails that go out when you're using more than your allocated data limit (though you're not automatically cut off from Sphinx working in these situations).
If you want me to investigate in more detail for your specific case, feel free to make this ticket private and let me know what the name of your app is on Heroku.
2 Posted by Geronimo Diaz on 21 Apr, 2015 12:28 PM
Thanks for your response, what you said sounds like the problem we had in the past, so i think we are ok, no need to create a private ticket.
Thanks for your help !!