You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux 5.10.0-1.0.0.26 #1 SMP Thu Apr 20 06:40:16 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
CentOS release 4.3 (Final)
What steps will reproduce the bug?
We have a large Node.js cluster running over 1000 Node processes, each has 10 worker_threads handling SSR rendering tasks in parallel, one process has 8 cores to use.
Within these threads, there are some native binding modules, including NAN and N-API modules. These modules are likely has no problem, because a larger cluster has no crashes under Node 14.
When we deploy new codes, we stop the old Node services and restart them.
During the shutdown process, there is a certain probability that the process crash and generate a core dump. Below is the core dump information:
The probability of generating a core dump is approximately 10 crashes per restart.
Each core dump is related to the ResetCreateHistogramFunction, and only happens in x64 arch, in aarch64 arch has no core issue.
Since our app need to be deployed multiple times a day, too much cores will trigger deploy warnings, we have to fix this core problems.
I checked ResetCreateHistogramFunction in Node V8 engine and found that this function is not called in the release of Node. It is only invoked in the d8 and debug mode.
Could you please give me some advises on this issue, and solve this crash problem?
Thanks.
How often does it reproduce? Is there a required condition?
Node20 in x64 arch and worker_threads, when process exiting.
What is the expected behavior? Why is that the expected behavior?
Expect no cores on process existing.
What do you see instead?
Process crashed randomly, and 1% process crashes on existing during one deploy.
Additional information
No response
The text was updated successfully, but these errors were encountered:
Version
20.15.0
Platform
Subsystem
CentOS release 4.3 (Final)
What steps will reproduce the bug?
We have a large Node.js cluster running over 1000 Node processes, each has 10 worker_threads handling SSR rendering tasks in parallel, one process has 8 cores to use.
Within these threads, there are some native binding modules, including NAN and N-API modules. These modules are likely has no problem, because a larger cluster has no crashes under Node 14.
When we deploy new codes, we stop the old Node services and restart them.
During the shutdown process, there is a certain probability that the process crash and generate a core dump. Below is the core dump information:
The probability of generating a core dump is approximately 10 crashes per restart.
Each core dump is related to the ResetCreateHistogramFunction, and only happens in x64 arch, in aarch64 arch has no core issue.
Since our app need to be deployed multiple times a day, too much cores will trigger deploy warnings, we have to fix this core problems.
I checked ResetCreateHistogramFunction in Node V8 engine and found that this function is not called in the release of Node. It is only invoked in the d8 and debug mode.
Could you please give me some advises on this issue, and solve this crash problem?
Thanks.
How often does it reproduce? Is there a required condition?
Node20 in x64 arch and worker_threads, when process exiting.
What is the expected behavior? Why is that the expected behavior?
Expect no cores on process existing.
What do you see instead?
Process crashed randomly, and 1% process crashes on existing during one deploy.
Additional information
No response
The text was updated successfully, but these errors were encountered: