Skip to content

service: the systemd unit needs the same descriptor ceiling - #79

Merged
myobie merged 1 commit into
mainfrom
service/systemd-needs-the-same-descriptor-ceiling
Aug 25, 2026
Merged

service: the systemd unit needs the same descriptor ceiling#79
myobie merged 1 commit into
mainfrom
service/systemd-needs-the-same-descriptor-ceiling

Conversation

@myobie

@myobie myobie commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

#78 gave the launchd plist a NumberOfFiles because the Mac daemon had died of Too many open files. The systemd unit has the same omission and I only fixed one side — which is how a defect keeps a door open.

LimitNOFILE appeared nowhere in render_systemd_user_unit, so a Linux agent inherits whatever the user manager defaults to.

Measured on both peers rather than assumed

Linux is not in the same trouble the Mac was, and that is worth stating plainly:

soft hard in use
hetz 1024 524288 53
droppy 1024 524288 27

1024 is four times launchd's default and neither peer has come close to it. So this is not a fire. It is the same inherited-number problem: 1024 is still a ceiling nobody picked for a daemon that holds a QUIC endpoint, a connection per peer, a control socket, and a dial socket per tunnel.

8192 matches the plist, and it is not a measurement there either. Both platforms now state the ceiling instead of inheriting one.

Agent: Silber.fabric

#78 gave the launchd plist a `NumberOfFiles` because the Mac daemon had
died of `Too many open files`. The systemd unit has the same omission and
I only fixed one side, which is how a defect keeps a door open.

`LimitNOFILE` appeared nowhere in `render_systemd_user_unit`, so a Linux
agent inherits whatever the user manager defaults to.

MEASURED ON BOTH PEERS RATHER THAN ASSUMED. Linux is not in the same
trouble the Mac was, and that is worth stating plainly:

  hetz     soft 1024, hard 524288, 53 descriptors in use
  droppy   soft 1024, hard 524288, 27 descriptors in use

1024 is four times launchd's default and neither peer has come close to
it. So this is not a fire. It is the same inherited-number problem, and
1024 is still a ceiling nobody picked for a daemon that holds a QUIC
endpoint, a connection per peer, a control socket and a dial socket per
tunnel.

8192 matches the plist, and it is not a measurement there either. Both
platforms now state the ceiling instead of inheriting one.

Agent: Silber.fabric
@myobie
myobie merged commit 76376d4 into main Aug 25, 2026
2 checks passed
@myobie
myobie deleted the service/systemd-needs-the-same-descriptor-ceiling branch August 25, 2026 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant