Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
puppet: Increase maximum file descriptors.
Alex Vandiver1c76036c61d8
diff --git a/puppet/zulip/files/security/limits.conf b/puppet/zulip/files/security/limits.confindex c515877a17c..29361eb6ec3 100644--- a/puppet/zulip/files/security/limits.conf+++ b/puppet/zulip/files/security/limits.conf@@ -52,9 +52,9 @@#ftp hard nproc 0#ftp - chroot /ftp#@student - maxlogins 4-zulip soft nofile 40000-zulip hard nofile 50000-root soft nofile 40000-root hard nofile 50000+zulip soft nofile 1000000+zulip hard nofile 1048576+root soft nofile 1000000+root hard nofile 1048576# End of filediff --git a/puppet/zulip/templates/nginx.conf.template.erb b/puppet/zulip/templates/nginx.conf.template.erbindex 57f376484bf..f9d38ba9507 100644--- a/puppet/zulip/templates/nginx.conf.template.erb+++ b/puppet/zulip/templates/nginx.conf.template.erb@@ -4,9 +4,9 @@ worker_processes auto;pid /var/run/nginx.pid;include /etc/nginx/modules-enabled/*.conf;-worker_rlimit_nofile 40000;+worker_rlimit_nofile 1000000;events {- worker_connections 40000;+ worker_connections 1000000;use epoll;diff --git a/puppet/zulip/templates/supervisor/supervisord.conf.erb b/puppet/zulip/templates/supervisor/supervisord.conf.erbindex 0cd3ea02618..221e4989edd 100644--- a/puppet/zulip/templates/supervisor/supervisord.conf.erb+++ b/puppet/zulip/templates/supervisor/supervisord.conf.erb@@ -9,7 +9,7 @@ chown=zulip:zuliplogfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)childlogdir=/var/log/supervisor ; ('AUTO' child log dir, default $TEMP)-minfds=40000 ; file descriptor limit for children+minfds=1000000 ; file descriptor limit for children; the below section must remain in the config file for RPC; (supervisorctl/web interface) to work, additional interfaces may be