generate-dhparam becomes a zombie process
See original GitHub issueWhen running a nginx proxy the generation of a dhparam file is executed in the background. However, this causes the process to become a zombie process.
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
xxxx 16431 0.0 0.0 0 0 ? Z 13:07 0:00 [generate-dhpara] <defunct>
My bash knowledge is limited, but I guess this is caused in these lines. Maybe someone with bash knowledge knows how to prevent this.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:6
Top Results From Across the Web
Creating & troubleshooting Zombie processes in Python
In Linux terms, a zombie process is a process that has finished its execution but is still waiting for its Parent Process to...
Read more >Create zombie process - Stack Overflow
To see a zombie process, you need to make the child exit while the parent is still alive but hasn't waited on the...
Read more >Zombie and Orphan Processes in C - GeeksforGeeks
A child process always first becomes a zombie before being removed from the process table. The parent process reads the exit status of...
Read more >Angelic Crucibles Mechanics in Diablo 3 Season 27 - Icy Veins
Season 27 introduces a new type of consumable item called Angelic Crucibles. Once uncovered by the player, these heavenly artifacts can be ...
Read more >costume ideas for girl best friends - Lampadis Media
Oct 01, 2022 · Check out some of these awesome costume ideas: -A Zombie: This ... Become the human version of the best...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@frederikbosch OK I tested the better workaround: we upgraded our docker environment to use docker-compose file version 3.7 and docker-engine 18.06 and are able to eliminate zombie processes by specifying init: true ( under nginx service in the yml), without modifying the CMD line.
If you don’t use docker-compose, you should be able to specify docker run --init to achieve the same result
pstree command shows that the forego is now a child of init instead of /bin/sh.
it worked for me.