Alerts by email

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. 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. 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 only staff will see it

Markdown

Attaching KB article:

» »

Read more…

Attach files

Up to 10MB each.

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

Recent Discussions