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.

Running systemd without systemd-journald

78 pointsby axyalmost 3 years ago

8 comments

pengarualmost 3 years ago
PSA: systemd-journald uses <i>shared</i> file-backed mappings via mmap() for its journal IO.<p>You must subtract its shared memory use from its resident memory use before judging how much memory it&#x27;s consuming. The file-backed shared mappings are <i>reclaimable</i>, because they are file-backed. The kernel will just evict the mapped journal pages at will, since they can always be faulted back in from the filesystem.<p>TFA is much ado about nothing, learn to measure memory use properly before breaking out the pitch forks.<p>Full disclosure: I&#x27;ve hacked a bunch on journald upstream.
评论 #31800860 未加载
评论 #31802596 未加载
评论 #31802221 未加载
评论 #31800846 未加载
评论 #31800669 未加载
saurikalmost 3 years ago
Would doing something like this work around the &quot;journald drops the most important error messages&quot; issue that has been known&#x2F;outstanding for ten years (bug moved to GitHub six years ago), or is that more of a fundamental design mistake in systemd itself?<p><a href="https:&#x2F;&#x2F;github.com&#x2F;systemd&#x2F;systemd&#x2F;issues&#x2F;2913" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;systemd&#x2F;systemd&#x2F;issues&#x2F;2913</a><p><a href="https:&#x2F;&#x2F;bugs.freedesktop.org&#x2F;show_bug.cgi?id=50184" rel="nofollow">https:&#x2F;&#x2F;bugs.freedesktop.org&#x2F;show_bug.cgi?id=50184</a>
评论 #31802400 未加载
db48xalmost 3 years ago
Weird; the systemd journal is the feature I want most! It would be the last thing I would ever consider disabling.
评论 #31802814 未加载
评论 #31801692 未加载
andrewstuartalmost 3 years ago
systemd is incredibly useful and powerful.<p>If you are a developer on Linux then you really owe it to yourself to learn as much as you can about systemd.<p>If you really understand systemd then you&#x27;ll find yourself architecting your software around its capabilities.<p>systemd, if you understand it, can mean you can completely avoid large chunks of development you might otherwise have assumed you need to do.<p>socket activated services, nspawn, traffic accounting, the list of juicy goodness goes on and on....<p>Ignore the haters, they wouldn&#x27;t hate if they dedicated their energy to understanding systemd instead of hating on it.<p>In 2022 you are a really an incomplete full stack developer if systemd is not one of the technologies you know very well.
评论 #31802733 未加载
评论 #31806414 未加载
评论 #31804255 未加载
frankharvalmost 3 years ago
I have but one word for this guy.<p>Devuan<p>I see no reason not to consider it.<p>He is a Debian user who hates the way systemd works.<p>Devuan is for you.
评论 #31802339 未加载
评论 #31802912 未加载
评论 #31802338 未加载
评论 #31801531 未加载
评论 #31803097 未加载
m463almost 3 years ago
&quot;when I needed systemd binary logs? - and I realized I never needed them.&quot;<p>that is my sentiment.<p>Linus was hesitant about binary logs.<p>I think they are just not unix. They are doing the wrong thing correctly (I would prefer doing the right thing poorly - or better yet doing it well)
rob_calmost 3 years ago
Can we just admit jourald is a thorn in the side of people taking systems seriously. The default behaviour even on polished distros is just bad and it&#x27;s mainly because of the mindsets behind it...
enriqutoalmost 3 years ago
Spam omelette with spam sausage and spam does not have too much spam in it!