Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update production keepalive/header timeouts to avoid hung connections to ELB #5522

Closed
wants to merge 2 commits into from

Conversation

zephraph
Copy link
Contributor

@zephraph zephraph commented May 7, 2020

This is related to nodejs/node#27363

Background:

Somewhere after Node 10.13 a security fix for the slow mo attack was added to node. This caused us to see an elevated rate of 502s due to some timeout connections between the node processes and the ELB. (I won't pretend to understand all the specifics). @mzikherman updated node for force and added the these settings for staging in #5022, but that we never updated production... which seems important?

I'm also going through this song and dance for metaphysics via artsy/metaphysics#2358

@codecov
Copy link

codecov bot commented May 7, 2020

Codecov Report

Merging #5522 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #5522   +/-   ##
======================================
  Coverage    79.5%   79.5%           
======================================
  Files        1245    1245           
  Lines       33903   33903           
  Branches     2048    2048           
======================================
  Hits        26955   26955           
  Misses       5938    5938           
  Partials     1010    1010           

@zephraph
Copy link
Contributor Author

zephraph commented May 7, 2020

Historical context: #3568 (comment)

Copy link
Contributor

@izakp izakp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @zephraph I was unaware of this change in node to avoid a slow-mo attack

@zephraph
Copy link
Contributor Author

zephraph commented May 7, 2020

Given that production isn't currently having issues, let's hold on this.

@zephraph zephraph marked this pull request as draft May 7, 2020 16:22
@damassi
Copy link
Member

damassi commented Aug 26, 2020

@zephraph can this be closed?

@zephraph
Copy link
Contributor Author

Oh, definitely yes.

@zephraph zephraph closed this Aug 26, 2020
@zephraph zephraph deleted the update-timeouts branch August 26, 2020 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants