TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Systemd vs. Docker

99 pointsby tomaacabout 9 years ago

5 comments

js2about 9 years ago
<i>One of these is killing &quot;zombie&quot; processes that have been abandoned by their calling session.</i><p>That&#x27;s funny terminolgy, isn&#x27;t it? Killing a process usually means sending it a signal, typically TERM or KILL, that causes it to exit. But a zombie process is one that has already exited, but hasn&#x27;t been waited for by its parent, where its parent is either the process that spawned it, or if that process has died, the process with PID 1. This is usually referred to as reaping the zombie process, not killing it. AFAIK, a signal sent to a zombie process is simply ignored.<p>Or do the quotes around zombie imply a different meaning, such as &quot;zombie-like&quot;?
评论 #11219860 未加载
评论 #11219131 未加载
thwartedabout 9 years ago
<i>Poettering says that PID 1 has special requirements. One of these is killing &quot;zombie&quot; processes that have been abandoned by their calling session. This is a real problem for Docker since the application runs as PID 1 and does not handle the zombie processes. For example, containers running the Oracle database can end up with thousands of zombie processes.</i><p>Why does Poettering keep claiming this when he&#x27;s the one who submitted the patch that adds the PR_SET_CHILD_SUBREAPER prctl(2) [0] functionality?<p>[0] <a href="http:&#x2F;&#x2F;man7.org&#x2F;linux&#x2F;man-pages&#x2F;man2&#x2F;prctl.2.html" rel="nofollow">http:&#x2F;&#x2F;man7.org&#x2F;linux&#x2F;man-pages&#x2F;man2&#x2F;prctl.2.html</a>
评论 #11217660 未加载
评论 #11217647 未加载
storrgieabout 9 years ago
why not systemd-nspawn (zoidberg voice)<p>Seems like the way Fedora is packaging systemd for 24 is going to move systemd-nspawn to a level of maturity that will likely surpass some of the clunky issues folks have with running docker.
pmoriartyabout 9 years ago
CoreOS&#x27;s Rocket is built around systemd?<p>That alone disqualifies it for me right there.
评论 #11217333 未加载
评论 #11217394 未加载
评论 #11217316 未加载
atemerevabout 9 years ago
I don&#x27;t always run containerized applications, but when I do, I prefer them completely systemd-free, thank you.<p>Sometimes I wonder if systemd is actually a part of big plan of moving everyone to microservices and containers and maybe even unikernels — anything, just anything without this abomination.
评论 #11217780 未加载