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

Exception that crashes cluster node not reported to newrelic #114

Closed
itaifrenkel opened this issue Feb 4, 2014 · 1 comment
Closed

Exception that crashes cluster node not reported to newrelic #114

itaifrenkel opened this issue Feb 4, 2014 · 1 comment

Comments

@itaifrenkel
Copy link

When using the nodejs cluster module, I would like to get the exception that caused the node (child process) to crash. This could be done with domains, the question is whether there is a way for the agent to do it automatically.

@othiym23
Copy link
Contributor

othiym23 commented Feb 4, 2014

Hi, Ital!

When New Relic for Node is running under cluster, each worker (and the master) maintains its own connection to New Relic, as well as its own periodic harvest cycle.Because of this, there's no guaranteed way for it to send a message back to New Relic when it crashes. The module's connection to New Relic isn't persistent, and worker processes are unlikely to get enough time to establish a new one while they're crashing. Also, it's pretty important that New Relic not alter your app's crashing behavior itself.

So, no, we can't do this. We might come up with a way to do,something cluster-specific in the future, but that's uncertain, and so a ways off even if we do decide to do it. Sorry we don't have a better answer right now!

@othiym23 othiym23 closed this as completed Feb 4, 2014
cmcadams-newrelic pushed a commit to cmcadams-newrelic/node-newrelic that referenced this issue Jan 29, 2024
…/error-fingerprinting/word-wrap-1.2.4

chore(deps): bump word-wrap from 1.2.3 to 1.2.4 in /error-fingerprinting
jsumners-nr pushed a commit to jsumners-nr/node-newrelic that referenced this issue Apr 11, 2024
jsumners-nr pushed a commit to jsumners-nr/node-newrelic that referenced this issue Apr 16, 2024
…/urijs-1.19.11

Bump urijs from 1.19.10 to 1.19.11
bizob2828 pushed a commit to bizob2828/node-newrelic that referenced this issue Apr 19, 2024
added job to automatically add issues/pr to Node.js Engineering board
bizob2828 pushed a commit to bizob2828/node-newrelic that referenced this issue Apr 23, 2024
added job to automatically add issues/pr to Node.js Engineering board
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

No branches or pull requests

2 participants