We’re up and running again!

What a day! It turns out the co.mments server had an obscure bug, very simple to fix but also hard to identify. I noticed that bug before, but it happend so infrequently that I couldn’t determine when or why it happens. Today, it started showing up much more frequently on many WordPress blogs.

The bug causes the server to enter an infinite loop, eat up memory and stop processing requests. Tracking a conversation on one of the many blogs that exhibit this behavior caused part of the server to crash, and instead of seeing an error message you would get no response. It happened on too many blogs at once, that all that load caused the entire server to crash repeatedly.

To add insult to injury, the load on the server was so high it would take several minutes to restart, and then a few more minutes to come crashing down. Unfortunately, my attempts to keep it running while fixing the bug only worsened the situation, and the entire site was down for most of the day.

Thankfully, once I found it, the fix was easy. The bug is squashed, co.mments is up and running, speedy and responsive, and has already caught up with all of the day’s comments. No data lost.

We’re back to normal. Thank you for your patience.

11 Responses to “We’re up and running again!”

  1. http://openid.aol.com/cpoteet04

    Thanks Assaf. Any chance you’ll be rolling out new features soon?

  2. D. C.

    I’m really curious what your revenue model is. You’ve got a great service that I use every day, but for all I can tell you’re picking up all the costs yourself with no one paying you anything, not even advertisers.

  3. Michael Meiser

    FYI,

    Why do I have to login to co.comment every time I use it anymore.

    It seems the “keep me logged in” feature does not work anymore.

    It used to work across multiple browser sessions.

    My use of co.mmments.com has declined in direct proportion to the hassel of having to login over and over and over.

    Just thought you might like to know

  4. kobak

    Thanks, co.mments.com is great, and I use it everyday too!

  5. Assaf

    D.C, maybe advertising if I can find a good ad network, I’m not too happy with AdSense.

    Michael, I’m not seeing any logging issues on my side, I’ll e-mail you to figure out why it happens.

    I’m not planning on new features, but will be rolling out bug fixes.

  6. http://pratham.name/

    Assaf,
    Your RSS feed (for this post) has spam links in it.

  7. mitchell2008

    would mind sharing how did you fix the bug? and also, just curious…have you thought of naming the bug, just like “bugs bunny”…i know it’s funny. :)

    keep it the good work going… cheers!

  8. Assaf

    Spammers … they take so much cleaning after!

    Mitchell, it was basically a loop that would search & replace repeatedly (couldn’t be done in a single regexp, I tried), and under some conditions it would search but not replace, and so would end in an infinite search loop.

    I only name bugs that take a long time to fix, this one was too trivial to deserve a name.

  9. Adrian near Seattle

    I love your service, and use it often via my Google Reader.
    You rock, thank you!

  10. Babarum

    Thank you for co.mments, I tested many services but this is the best.

    You wrote you aren’t planning any new feature but bugfixes.

    I have just one question: can we have a “Recheck all” button?

    Thank you again

    Babarum

  11. Assaf

    I’m going to look at that for the next update.

Leave your response

Where's my comment? I get too much comment spam, so I have to moderate comments. If you don't see your comment immediately, be patient. I'll approve it the minute I see it. Want to know when your comment shows up, or check if anyone responded? Track it.

Or using OpenID