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

Defunct process leading high CPU usage #97

Open
L3o-pold opened this issue Sep 17, 2018 · 0 comments
Open

Defunct process leading high CPU usage #97

L3o-pold opened this issue Sep 17, 2018 · 0 comments

Comments

@L3o-pold
Copy link
Contributor

L3o-pold commented Sep 17, 2018

After some usage, seems that manet will let some zombie process.
It leads to high CPU usage after some times.

Here is an example of a manet instance runned since 2 hours.

ps -aux

root 1 0.1 0.3 939332 65224 ? Ssl 14:21 0:06 node /usr/local
root 398 0.0 0.0 0 0 ? Z 14:28 0:00 [node] <defunct
root 405 0.0 0.0 0 0 ? Z 14:28 0:00 [phantomjs] <de

I saw this thread that could help https://stackoverflow.com/questions/37825670/why-nodejs-spawn-process-become-defunct-until-parent-exited.

I am not sure how to fix it, and I couldn't reproduce this behavior outside of our production environment (xenial/puppet with docker and nodejs:8 official image).

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

1 participant