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

easterncalculus1 reply#
I like hacker news but I don't think this site is worth getting paged over lol
archon8101 reply#
You might be underestimating HN's popularity.
locknitpicker1 reply#
> You might be underestimating HN's popularity.

I think you're confusing popularity with criticality. I'm sure everyone in here can withstand a few hours without browsing the page.

bayindirh1 reply#
If you like the thing you're managing, then its health is critical for you, not your users.

It's dang's baby at this point, and this is a good thing, as long as HN doesn't affect his life in ways he doesn't want.

locknitpicker2 replies#
[flagged]
bayindirh1 reply#
I have a pretty firm grip on life and touch plenty of grass both literally and figuratively.

However, when something I care about crashes and burns once in a blue moon, I make sure to put the fire out, at least to make it survive till regular hours. Things I care about can be both business and personal, and nobody bugs me for them.
Maybe we shouldn't make any assumptions about people we don't personally know, while we are at it.

locknitpicker1 reply#
> However, when something I care about crashes and burns once in a blue moon, I make sure to put the fire out, at least to make it survive till regular hours.

You are free what you choose to do with your personal life.
Meanwhile, it is pretty obvious that it's pointless to demand or expect personal sacrifice to maintain unrealistic levels of high-availability in services that are far from critical. I mean, do you honestly believe that these messages you and I are writing are so important to get out that someone must sacrifice their personal time to ensure it is served to the world in this very instant instead of, say, 3 or 6 or 13 hours? Absurd.

bayindirh#
It looks like I failed to convey what I've tried to say in the first comment. Let me reiterate one more time.

    - I believe dang sees HN as his baby, so *voluntarily* monitors it as a critical infrastructure *for him*.
    - I personally like this kind of commitment from people who like their job, however *I don't expect or demand it in any way*.
    - I also hope that attention doesn't affect his life. *Especially negatively and/or in a crippling way*.
I don't care whether this site is down for 6 seconds or 6 hours. I just wanted to commend him for liking what he's doing this much. I demand nothing from any service provider I use. Let it be a small, one person operation or dang or Amazon/Google.

I also keep servers up in my daily job, and some are more important than others, but none of them requires me to wake up 5AM to solve a problem (by design). So I don't demand anything from others something which I won't do.
As long as nobody is dying, nobody should stop, drop, and work on something else regardless of time, date and location.

Continue this thread — 1 more reply

Continue this thread — 2 more replies

Continue this thread — 20 more replies