Raise default nofile limit to fix silent game launch failures

Wine/Proton's winediag channel logs 'Too many open files' when the
common Linux default (1024–4096) is hit, which can cause a game to
silently fail to launch with no other visible error in Steam's own
console. Confirmed via a real Path of Exile 2 launch failure, fully
resolved by raising the limit via a PAM limits.d drop-in.
This commit is contained in:
John
2026-08-16 07:29:58 -07:00
parent 76e1bb1fc1
commit 49da25dcfb
@@ -0,0 +1,14 @@
# Raises the default open-file limit system-wide.
#
# The stock Linux default (1024, or ~4096 on some distros) is too low for
# some modern games and other heavy-I/O applications — Wine/Proton's own
# winediag channel explicitly flags "Too many open files" when this is
# hit, which can manifest as a game silently failing to start with no
# other visible error. Confirmed via a real Path of Exile 2 launch
# failure that was resolved entirely by this change.
#
# Shipped as a drop-in (rather than editing limits.conf directly) so it
# can be overridden or removed cleanly without touching a shared file.
* soft nofile 524288
* hard nofile 524288