diff --git a/iso-profiles/antergos/root-overlay/etc/security/limits.d/99-nofile.conf b/iso-profiles/antergos/root-overlay/etc/security/limits.d/99-nofile.conf new file mode 100644 index 0000000..0b2aeec --- /dev/null +++ b/iso-profiles/antergos/root-overlay/etc/security/limits.d/99-nofile.conf @@ -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