File steam--systemd-file_descriptor_limit.conf of Package steam

# A SystemD configuration override.
# This belongs into /usr/lib/systemd/{system,user}.conf.d/

[Manager]
# Increase the file descriptor limit to support Steam Proton/Wine
# Esync and potential future requirements.
# Set to 2097152 to allow for heavy workloads or newer Proton versions.
DefaultLimitNOFILE=1024:2097152
# Ensure fs.nr_open is at least 2097152 (or via: `sysctl -w fs.nr_open=2097152`).
# And check with:
# ulimit -Hn
# 2097152
# Or check with:
# `cat /usr/lib/systemd/system.conf.d/10-steam.conf | grep DefaultLimitNOFILE`
# The (uncommented) output should be:
# `DefaultLimitNOFILE=1024:2097152`
#
# As of Proton 5+, the limit should be 1048576, but we can double this to: 2097152 with ease
# https://github.com/zfigura/wine/blob/esync/README.esync#L26
DefaultLimitNOFILE=1024:2097152
openSUSE Build Service is sponsored by