this post was submitted on 23 Apr 2026
55 points (98.2% liked)

Selfhosted

56957 readers
803 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

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

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

=> 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
[–] irmadlad@lemmy.world 2 points 18 hours ago (2 children)

It could be harmless, but it could become a problem if you need the resources.

That's the thing. None of them are consuming resources. I guess I should just ignore them, but it irritates me when I start my server, to see zombie processes. Makes me think something is askew.

[–] jj4211@lemmy.world 2 points 13 hours ago (1 children)

Zombie processes do not use resources, well, a little, it's basically an entry describing how it exited.

The parent process is the thing keeping the zombie entry open. Killing it's parent should work if they bother you.

[–] non_burglar@lemmy.world 1 points 12 hours ago

Zombie processes do not use resources, well, a little, it's basically an entry describing how it exited.

Agreed, but a very poorly-written program having a hanging memory or disk write, or a file lock could become a problem, especially if hundreds or thousands of zombies are waiting for something.

[–] GreenKnight23@lemmy.world 2 points 16 hours ago

that sounds like poor garbage collection in an application.

I've written software that had similar issues when writing to files and I failed to "close" the file after writing.

processes stay open, files stay open. 500 byte processes times 10000 orphaned process can make for a bad time.