mirror of
https://github.com/nestriness/nestri.git
synced 2026-11-19 21:49:50 +02:00
There is no service manager in a box, so nothing applies the distribution's sysctl configuration, and the guest ran on the kernel's own defaults. Two of them are too low for a modern engine under Proton: - vm.max_map_count defaults to 65530. A large Unreal Engine 5 title maps far more regions than that, and the failure is a null allocation deep inside the engine or Wine rather than a message about mappings. It is set to 2147483642, the value SteamOS and the distributions that package Proton use. It is read back after the write, because an accepted write that did not take reports success while the box is still unconfigured. - RLIMIT_NOFILE is raised on init, which every process in the box inherits. A child can lower a limit but cannot raise its hard one, so the unprivileged workload could never get above what it started with. 524288 is the hard limit Proton's documentation asks for. It is only ever raised. Both are best effort and each failure says what it costs. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>