godaddy / godaddy/node-cluster-service

Kill unresponsive workers

Open
#70 1 comment 0 reactions 0 assignees View on GitHub
enhancement Hacktoberfest low priority
Dominant language
JavaScript
Stars
168
Forks
28
PR merge metrics
No merged PRs in 30d

Description

A recent situation came up (related to very complex regular expressions) that resulted in the worker hanging. Scenarios like this cannot be auto-fixed by the worker/app itself, as the event loop is dead in the water. No other processing will take place when this happens.

This would be a great addition to cservice, periodic heartbeats. If no response after X seconds, force terminate (and restart) the worker process.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.