Lurker News
- HN errored on all authenticated requests with 502 Bad Gateway. It did still respond to a limited amount of unauthenticated requests with presumably cached pages, which did not get updated. The last post on /newest claimed "0 minutes ago", but was actually much older (1:32:57 PM GMT) and not the newest post.

- This status page actually identified the outage: https://hackernews.onlineornot.com/ - Pages by Hund and Statuspal did not show the outage.
- The last post before the outage was https://news.ycombinator.com/item?id=46301823 (1:39:59 PM GMT). The last comment was https://news.ycombinator.com/item?id=46301848 (1:41:54 PM GMT).
- There was an average of ~4 seconds per comment just prior to the outage. Based on this, HN likely went down at 1:41:58 PM GMT.

Comments (327) 71 threads

Show all comments

Showing thread 1 of 71

dang24 replies#
Yes, sorry! We're investigating, but my current theory is we got overloaded because I relaxed some of our anti-crawler protections a few days ago.

(The reason I did that is that the anti-crawler protections also unfortunately hit some legit users, and we don't want to block legit users. However, it seems that I turned the knobs down too far.)
In this case, we also had a secondary failure: PagerDuty woke me up at 5:24am, I checked HN and it seemed fine, so I told PagerDuty the problem was resolved. But the problem wasn't resolved - at that point I was just sleeping through it.
I'll add more as we find out more, but it probably won't be till later this afternoon PST.
Edit: later than I expected, but for those still following, the main things I've learned are (1) pkill wasn't able to kill SBCL this time - we have a script that does that when HN stops responding, but it didn't work, so we'll revise the script; and (2) how to get PagerDuty not to let you go back to sleep if your site is actually still down.

shmeeed1 reply#
Looking forward to the post mortem. :)
michelsedgh1 reply#
dang
shmeeed2 replies#
In my defense, I was commenting at 0 min, since then he made several updates explaining the situation.

Continue this thread — 2 replies

echelon1 reply#
I didn't realize you were carrying the pager too! Kudos!
malwrar3 replies#
I feel such a sense of kinship for anyone who carries a pager, almost 7 years at my current role doing it. Super cool that dang is among our number :)
geocrasher1 reply#
Yep, have been on constant "pager duty" for 2+ years, although I have more help now and I get paged 1-3 times a week instead of per night. Still, carry my lappy everywhere I go. Bought an ARM Windows laptop to get that 20hr battery life so I could worry less during my travels. You know, fancy things like going get food or going grocery shopping.

Continue this thread — 1 reply

idontwantthis12 replies#
Do you carry a literal pager? We use the PagerDuty app.

Continue this thread — 12 replies

wkat4242#
I wish I could still buy a pager where I live :'(
Rooster61#
No apology needed. We all needed to stop procrastinating anyways :)
shlomo_z5 replies#
Crazy that Dang literally manages HN in his sleep!

We all knew that but I haven't seen any confirmation before this.

dang12 replies#
failing to manage HN in my sleep is more like it
commandersaki#
Do you have nightmares of failing to manage HN when you sleep too?
dijit11 replies#
We all have our moments, and I personally consider HN to be “best effort”, almost like a volunteer project. I’m not certain I’m correct: but thats the optics I have so my expectations are adjusted to that.

So don’t beat yourself up please.
When I worked for “SaaS unicorn” we typically had multiple levels of escalation, and acknowledging would have done nothing because the alarm would continue firing until fixed. Not sure what’s changed in 15 years of ops, I had assumed it would be better now- I can’t imagine silencing an alert totally by acknowledging it- if its still occurring.
I’m totally fine with how you handled it, if anything I am thankful. But that seems to be a system I would improve if I had the time.
“mute” is different than “resolve” to me, and both should exist. (Where mute is an acknowledgement of an issue as ongoing.)

Continue this thread — 11 replies

notachatbot123#
And that is a good thing. Sleep tight!
jonny_eh5 replies#
Your sleep is more important than our work distraction.

Continue this thread — 5 replies

sailfast#
Yeah, I mean how dare you?! I pay good money for high uptime SLAs! :)
franciscop#
No worries, please take care of your sleep and thanks for all your hard work
zenoprax#
Which is fine! I don't mind if it's down for a few hours. It reminds me that it's just a place to stop by for a bit before moving on. Like a digital coffee shop that sometimes has a leaky pipe and isn't open right at 7am.

I hope it doesn't change (much).

djmips#
I appreciate what you do. Hope you got some rest when it was all over.
feczeri_c#
You deserve a lot of rest!
wkat42421 reply#
You're still a miracle worker. Single-handedly managing a well-known fully user-contributed site not just technically but moderation in contentious times like these and still keeping it working well and encouraging a positive user community can't be an easy task.

Continue this thread — 1 reply

nubinetwork#
I was starting to think you never slept, I remember that one time I emailed you at 1am. :)
sizzle1 reply#
Time to train an AI agent on your moderation activity and get some well deserved sleep!

Continue this thread — 1 reply

qingcharles5 replies#
I was today years old when I found out Dan sleeps.

Continue this thread — 5 replies

Continue this thread — 3 more replies

QuantumNomad_1 reply#
> the anti-crawler protections also unfortunately hit some legit users, and we don't want to block legit users

Was the blocking returning “Sorry.” instead of any page content? A couple of days ago there was a few hours where when I’d go to HN I could load the main page as a non-logged in user. But if I tried to log in I would get “Sorry.” instead. I also got the sorry message if I tried to click on user profiles of other people and a few other pages.
I am assuming that the reason I could see the front page itself and discussions on posts on the front page is that they were in a shared cache for non-logged in users, but that when I clicked on some pages like some random user pages those were not in cache and hit the origin server and it blocked those with “Sorry.” like it did for log-in attempts.
I also tried to go to the unblock IP page, but that one also returned “Sorry.”
For a while I was scratching my head wondering if I had gotten some malware on one of my computers that was aggressively making requests to HN, and that I had become IP banned because of that. Since I think my actual request rate from browsing and commenting should be pretty average. I read HN a lot, but not that much :p
Later in the day, or the next day, things were back to normal and I could log in again. Presumably after those anti-crawler protections had been relaxed again.

dang#
> Was the blocking returning “Sorry.”

> Presumably after those anti-crawler protections had been relaxed again
Yup and yup. Apologies for the inconvenience! If it happens again you're welcome to email us at hn@ycombinator.com with your IP and we'll unblock it for you.

Continue this thread — 19 more replies