=> There are 90 zombie processes.
On one of my Homelab servers running Ubuntu Jammy, I always seem to get zombie processes. A quick check with ps -eo pid,ppid,stat,cmd | grep -w Z shows them all <defunct>. It just bugs me. I shut down the server in the most nicest of ways I know how with sudo shutdown -h now but I always get zombie processes shown on start up.
Am I missing something? Do these show up on your servers? How do you deal with them besides just ignoring them if they are <defunct>?
Awww man. Here I was thinking we were having a movie night.
Right? I’ve got the original and the 90s version in Jellyfin on my home lab server. 🧟♂️

LOL
I got a few on my laptop but none on either of my long running homelab boxes (70-80 days uptime). On my laptop they all seem related to espeak, the tts program. Is there any pattern in what processes yours are from?
my long running homelab boxes (70-80 days uptime)
Ahh see I shut down my servers at night. I just couldn’t justify having them run while I was sleeping, and since I am the only user.
Makes sense. I share my media library with 10-15 friends so there’s usually a few streams late at night, and scrubs, container updates, and backups run early morning at like 2-4am.
Zero zombies here. I have a couple of Debian servers and one repeatedly upgraded Ubuntu on noble numbat that I’m too lazy to migrate to Debian. None have zombies.
Do you run a DE? Mine are headless.
Do you run a DE?
I’m not familiar with the acronym. I’m going to assume Desktop Environment. My servers are all headless as well
Sorry. That is what I meant.
s’ok bro. I’m not on all cylinders today.
I’ve never run into a situation where it’s a problem. But I just checked one of my Ubuntu servers and don’t have any. What were the processes doing? What do they belong to?
@BakedCatboy@lemmy.ml @frongt@lemmy.zip Most of them are from [curl] but one is from [health.sh]. I am assuming one of the docker containers uses
curlin it’s processes as I have not initiated anycurlcommands.If you use containers with health checks (including with curl), you need to tell docker (or podman) to provide an init process to reap child processes. For docker that means providing
--initwhen running a container. It’s a pretty common problem.What is their parent process?
Lots of these: Zombie PID: 230650 | Parent PID: 7791 | Parent Name: spawn-unnamed
Two of those: Zombie PID: 61072 | Parent PID: 7791 | Parent Name: bash
Lots of these: Zombie PID: 56798 | Parent PID: 7791 | Parent Name: health.sh
Lots of these: Zombie PID: 16761 | Parent PID: 7646 | Parent Name: curl
…and a box of naked lady tee’s
What is 7791?
7791 7768 201 /usr/sbin/netdata -u netdat 8.8 0.5 01:49:50
Sounds like netdata doing health checks but not always reaping its children. If you can reproduce it, I’d file a bug report.
Seems like someone already did this:
https://github.com/netdata/netdata/issues/20565
Maybe upgrading will fix it?



