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 | |
| 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')
| -rw-r--r-- | docker/AppRun.sh | 4 | ||||
| -rwxr-xr-x | docker/build-inner.sh | 8 |
2 files changed, 12 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" "$@" diff --git a/docker/build-inner.sh b/docker/build-inner.sh index 98b8932..10c1818 100755 --- a/docker/build-inner.sh +++ b/docker/build-inner.sh @@ -432,6 +432,10 @@ unset PYTHONPATH PYTHONNOUSERSITE PYTHONHOME MO2_PYTHON_DIR export QT_PLUGIN_PATH="${RUN}/qt6plugins" export QT_QPA_PLATFORM_PLUGIN_PATH="${RUN}/qt6plugins/platforms" +# Raise open file descriptor limit — large modlists with FUSE VFS +# can easily exceed the default 1024 +ulimit -n 65536 2>/dev/null + export FLUORINE_LAUNCH_DIR="${PWD}" cd "${RUN}" exec "${RUN}/ModOrganizer-core" "$@" @@ -663,6 +667,10 @@ export QT_ICON_THEME_NAME="${QT_ICON_THEME_NAME:-breeze}" export QT_STYLE_OVERRIDE="${QT_STYLE_OVERRIDE:-Breeze}" export XDG_CURRENT_DESKTOP="${XDG_CURRENT_DESKTOP:-KDE}" +# Raise open file descriptor limit — large modlists with FUSE VFS +# can easily exceed the default 1024 +ulimit -n 65536 2>/dev/null + export FLUORINE_LAUNCH_DIR="${PWD}" cd "${APPIMAGE_DIR}" exec "${BIN}/ModOrganizer-core" "$@" |
