diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-03-21 11:05:40 -0500 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-03-21 11:05:40 -0500 |
| commit | 5d58c14ee0bde26e709d6bd2256238a4d0567bc1 (patch) | |
| tree | 8590c021c20f132e5542b2015821ac6e8989659f /docker/AppRun.sh | |
| parent | 265c1fecf63ad2c2383bd7de7be6d33a32f0b77d (diff) | |
Raise open file descriptor limit to 65536 in all launchers
Large modlists (e.g. Gate To Sovngarde) exceed the default 1024 fd
limit during FUSE VFS recursive directory iteration, causing
"Too many open files" errors.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'docker/AppRun.sh')
| -rw-r--r-- | docker/AppRun.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/AppRun.sh b/docker/AppRun.sh index e897309..41d1223 100644 --- a/docker/AppRun.sh +++ b/docker/AppRun.sh @@ -124,5 +124,9 @@ fi # use their own system Python environment. unset PYTHONHOME PYTHONPATH PYTHONNOUSERSITE +# Raise open file descriptor limit — large modlists with FUSE VFS +# can easily exceed the default 1024 +ulimit -n 65536 2>/dev/null + cd "${APPIMAGE_DIR}" exec "${HERE}/usr/bin/ModOrganizer.bin" "$@" |
