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/AppRun.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docker/AppRun.sh') 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" "$@" -- cgit v1.3.1