-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Zombie process in/from Docker container #1428
Comments
I got same issue / after upgrading umami version v1.36.1 > v1.37.0 here is an example:
btw container logs seems ok:
FYI: about image content
could you tell us a way to troubleshoot? or help you to reproduce ? |
Updated to 1.38.0 and the zombie process still remains :( |
zombie still there in 1.38 too. I tried to change for
What I see is :
between first and second Not easy to go deep :
|
After upgrading to 1.39.3 there are now 2 zombie processes. Did also a reboot of the host – no change. |
I have 2 zombie processes with 1.38.0 |
Today on one machine one zombie process disappeared (without any restart/reboot), so there still is one. On another machine, same setup, same host os etc. there are still 2 zombie processes. |
I found a possible workaround for zombie issue according to the following context:
Patch umami startup sequence to ignore
this is proof that the zombie is from the migration process We could imagine an improvement where a given environnement variable could drive check-db execution or skip. Example: |
This issue is stale because it has been open for 60 days with no activity. |
This issue was closed because it has been inactive for 7 days since being marked as stale. |
I stayed a long time with 1.40 version on some site without issue/maintenance A special thanks to the Umami high quality project, especially migration guide dedicated doc/repo which was just perfect 👏 🥇 |
I still have the zombie on |
unfortunately you're right @simonwiles following double-check my vm, it's true that the zombie still appears (with ome delay after |
The issue is still present in 2.12.1. But running the container with the |
When the `start-docker` script is executed, some process is not properly cleaned up and ends up in a zombie state. Using the `init` flag when launching the container runs an init process inside the container that will forward signals to node and reap processes. Fixes: umami-software#1428
I just noticed a zombie process on my server. After some further investigation I found the course of the problem, the zombie process belongs to the umami docker container. Here is the output of
top
on the containers console:Load average: 0.10 0.03 0.01 2/519 282
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
237 226 nextjs S 20.3g1080% 1 0% /usr/local/bin/node serve
226 28 nextjs S 306m 16% 1 0% /usr/local/bin/node /opt/
1 0 nextjs S 305m 16% 0 0% node /opt/yarn-v1.22.19/b
28 1 nextjs S 284m 15% 0 0% /usr/local/bin/node /app/
276 0 nextjs S 1680 0% 0 0% sh
282 276 nextjs R 1608 0% 0 0% top
197 1 nextjs Z 0 0% 1 0% [node]
Same problem is present on two different systems. Any suggestions?
The text was updated successfully, but these errors were encountered: