From 5d58c14ee0bde26e709d6bd2256238a4d0567bc1 Mon Sep 17 00:00:00 2001 From: SulfurNitride Date: Sat, 21 Mar 2026 11:05:40 -0500 Subject: 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) --- docker/build-inner.sh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docker/build-inner.sh') 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" "$@" -- cgit v1.3.1