68

=> 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 . 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 ?

you are viewing a single comment's thread
view the rest of the comments
[-] frongt@lemmy.zip 1 points 5 months ago

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?

[-] irmadlad@lemmy.world 4 points 5 months ago

@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 curl in it's processes as I have not initiated any curl commands.

[-] someguy@lemmyland.com 2 points 5 months ago* (last edited 5 months ago)

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 --init when running a container. It's a pretty common problem.

[-] frongt@lemmy.zip -1 points 5 months ago

What is their parent process?

[-] irmadlad@lemmy.world 1 points 5 months ago* (last edited 5 months ago)

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

[-] surewhynotlem@lemmy.world 4 points 5 months ago
[-] irmadlad@lemmy.world 1 points 5 months ago

7791 7768 201 /usr/sbin/netdata -u netdat 8.8 0.5 01:49:50

[-] frongt@lemmy.zip -1 points 5 months ago

Sounds like netdata doing health checks but not always reaping its children. If you can reproduce it, I'd file a bug report.

[-] NotEasyBeingGreen@slrpnk.net 4 points 5 months ago

Seems like someone already did this:

https://github.com/netdata/netdata/issues/20565

Maybe upgrading will fix it?

[-] irmadlad@lemmy.world 2 points 5 months ago

Hey bro, thanks for the lead! I will read the issue report and check if netdata is current.

@ilyam8 - adding to it here, netdata does leave tons of zombies around, this is not a "cannot reproduce" (not sure why that tag was added without even the minimal response, and then removed needs triage on top of that, so this ticket just dies off) One simply needs a running netdata instance and let it run a while. With time, 1, three and then tens of zombies will be listed at login.

this post was submitted on 23 Apr 2026
68 points (98.6% liked)

Selfhosted

62987 readers
1745 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS