Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

puppet: Raise net.core.somaxconn on redis.

Alex Vandiverdc950235e5bc
diff --git a/puppet/zulip_ops/manifests/profile/redis.pp b/puppet/zulip_ops/manifests/profile/redis.pp
index 004bdf18bf1..e9e980bfb14 100644
--- a/puppet/zulip_ops/manifests/profile/redis.pp
+++ b/puppet/zulip_ops/manifests/profile/redis.pp
@@ -2,6 +2,11 @@ class zulip_ops::profile::redis inherits zulip_ops::profile::base {
include zulip::profile::redis
include zulip_ops::prometheus::redis
+ zulip::sysctl { 'redis-somaxconn':
+ key => 'net.core.somaxconn',
+ value => '65535',
+ }
+
# Need redis_password in its own file for Nagios
file { '/var/lib/nagios/redis_password':
ensure => file,