Alerts by email

Geronimo Diaz's Avatar

Geronimo Diaz

14 Apr, 2015 03:15 PM

Hi there,

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 ?

Thanks.

  1. Support Staff 1 Posted by Pat Allan on 18 Apr, 2015 08:29 AM

    Pat Allan's Avatar

    Hi Geronimo

    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.

    Cheers

    Pat

  2. 2 Posted by Geronimo Diaz on 21 Apr, 2015 12:28 PM

    Geronimo Diaz's Avatar

    Hi Pat,

    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 !!

    Cheers.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac