From fa98278ccedaea96689e4f20f4735d8e73008034 Mon Sep 17 00:00:00 2001 From: PinkLolicorn <44551064+PinkLolicorn@users.noreply.github.com> Date: Wed, 8 Apr 2020 01:04:24 +0200 Subject: [PATCH] Solve "Too many open files" issues with screend.sh --- screend.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/screend.sh b/screend.sh index bc23e7e..70de135 100644 --- a/screend.sh +++ b/screend.sh @@ -27,6 +27,9 @@ SCRIPTNAME=/etc/init.d/$NAME # and status_of_proc is working. . /lib/lsb/init-functions +# Increase open files limit +ulimit -n 515214 + # Make sure we have started with system locale if [ -r /etc/default/locale ]; then . /etc/default/locale