Raise ulimit headroom

Closes #1758
This commit is contained in:
David Heinemeier Hansson
2026-05-03 15:08:01 +02:00
parent 70258684a2
commit fcf742a3a1
3 changed files with 15 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
# Raise soft file descriptor limit from systemd's default of 1024 to 65536
# so dev tools (VS Code, Docker, dev servers, databases) get the headroom they need
sudo mkdir -p /etc/systemd/system.conf.d /etc/systemd/user.conf.d
sudo tee /etc/systemd/system.conf.d/99-omarchy-nofile.conf >/dev/null <<'EOF'
[Manager]
DefaultLimitNOFILESoft=65536
EOF
sudo cp /etc/systemd/system.conf.d/99-omarchy-nofile.conf \
/etc/systemd/user.conf.d/99-omarchy-nofile.conf