nodejs / nodejs/build

DigitalOcean www server

Open
#3,424 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

build infra
Dominant language
Jinja
Stars
542
Forks
185
Avg merge
22h 15m
Merged PRs (30d)
4

Description

It doesn't look like we have a tracking issue for this, although much has been discussed spread out over several Slack discussion threads. See also https://github.com/nodejs/TSC/issues/1416.

Summary

Our DigitalOcean hosted droplet for our www server (one of two servers behind a Cloudflare load balancer) has become very unreliable this year, seemingly getting worse to the extent that over the last few weeks it "works" for about a day (or less) and then runs out of file descriptors (error messages visible in the nginx error logs) and Cloudflare believes the server to be unhealthy (=cannot reach the /traffic-manager endpoint?) and switches over to the other server (called Joyent but now resides on Equinix Metal).

Prior to the last few weeks the "unhealthy" state was temporary -- eventually CF would decide the server was healthy again and switch back to the DO server but now it appears that the DO server remains unhealthy in CF until we restart nginx.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked TSC issue and the Slack discussions referenced in the report, then inspect the DigitalOcean server's nginx error logs and the Cloudflare /traffic-manager health behavior. Done means identifying why the server exhausts file descriptors and remains unhealthy, and confirming reliable operation behind the load balancer.

Written by the indexing model from the issue text.

Assessment

Tech stack
nginx
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.