Live data from Hacker News

What caused that outage

news.ycombinator.com

1–10 of 65 posts

What caused that outage

#1
HN was down today for around 2 hours. Sorry about that.

The News server currently crashes a couple times a day when it runs out of memory. All the comments and stories no longer fit in the 2 GB we can get on a 32 bit machine. We'd been planning to upgrade to a new 64 bit server. In the meantime it was arguably a rather slow form of GC.

Unfortunately the process somehow got wedged in the middle of segfaulting. We're not sure why and will probably never know. But that meant the process that usually notices when News is wedged and restarts it was unable to kill it.

Fortunately rebooting the machine solved the problem. But now we'll presumably be switching to that new, bigger server sooner rather than later.

As far as I can tell it was a coincidence that this happened today. It doesn't seem to have been caused either by the increased traffic, or the excessive number of posts about Erlang.

Re: What caused that outage

#3
That's what happens when you make something in a new and unproven language.

And I think that it deserves tremendous respect that you have done so. You could have hacked HN in python (or lisp?) in a weekend with the knowledge that it would scale, yet you decided to go with Arc. Very bold. And a great way to battletest a new language.

It's great to see people eat their own dogfood.

Re: What caused that outage

#4
post #3

That's what happens when you make something in a new and unproven language. And I think that it deserves tremendous respect that you have done so. You could have hacked HN in python (or lisp?) in a weekend with the knowledge that it would scale, yet you decided to go with Arc. Very bold. And a great way to battletest a new language. It's great to see people eat their own dogfood.

Wow, had no idea this was written in Arc. +1 to what mixmax said. It's the only way to keep pushing the envelope.

Re: What caused that outage

#7
post #4
post #3

That's what happens when you make something in a new and unproven language. And I think that it deserves tremendous respect that you have done so. You could have hacked HN in python (or lisp?) in a weekend with the knowledge that it would scale, yet you decided to go with Arc. Very bold. And a great way to battletest a new language. It's great to see people eat their own dogfood.

Wow, had no idea this was written in Arc. +1 to what mixmax said. It's the only way to keep pushing the envelope.

Boldness drives innovation

Re: What caused that outage

#9
Speaking of bugs, pages don't load for me when I'm logged into my real account (without the 2). The front page cuts off after "1." and comments pages cut off right after the first sub-table opens. The leaders and submit pages load fine.

I thought it was just a sign that I should get back to work, but maybe my account got put into some sort of inconsistent state?

Re: What caused that outage

#10
post #8

Why was the site using a 32-bit environment to begin with? Opterons have been cheap for years now, and all new Xeons are capable of 64-bit operation.

What chip in put out in the last 2 years or so couldn't run a 64 bit system? I'm pretty sure most of the AMD chips could... Edit: By chip I mean one for a desktop CPU, e.g. Atom don't count.
Post reply on HN