From 1a5c3473592dba228babb6d982ff0b390c8d9def Mon Sep 17 00:00:00 2001 From: Ivan Tyagov <ivan@nexedi.com> Date: Thu, 1 Mar 2018 14:51:54 +0200 Subject: [PATCH] Raise soft limit of N(ofile) so we can use > 1024 fds This is needed for example for wendelin.core arrays + connections See https://lab.nexedi.com/nexedi/slapos.core/commit/b5a1e3522864876de0ae1eb36d59d6cdcaa1cf4f /reviewed-on https://lab.nexedi.com/nexedi/slapos/merge_requests/297 --- software/slaprunner/buildout.hash.cfg | 2 +- software/slaprunner/template/supervisord.conf.in | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/software/slaprunner/buildout.hash.cfg b/software/slaprunner/buildout.hash.cfg index a3b9ec209..7666d53d5 100644 --- a/software/slaprunner/buildout.hash.cfg +++ b/software/slaprunner/buildout.hash.cfg @@ -67,7 +67,7 @@ md5sum = 37eea89042a58127c85e6b3886260e59 [template-supervisord] filename = template/supervisord.conf.in -md5sum = d294d0dafd265048399de6da8c96345f +md5sum = a7ae4e207df55dab2d01d67ddc7cb1b9 [template-listener-slapgrid] filename = template/listener_slapgrid.py.in diff --git a/software/slaprunner/template/supervisord.conf.in b/software/slaprunner/template/supervisord.conf.in index d9b46f111..416eee86a 100644 --- a/software/slaprunner/template/supervisord.conf.in +++ b/software/slaprunner/template/supervisord.conf.in @@ -10,6 +10,9 @@ port = {{ supervisord['server'] }} [supervisord] logfile = {{ supervisord['logfile'] }} pidfile = {{ supervisord['pidfile'] }} +#raise soft limit of N(ofile) so we can use > 1024 fds +#needed for example for wendelin.core arrays + connections +minfds = 65536 [rpcinterface:supervisor] supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface -- 2.30.9