mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	puppet: Raise net.core.somaxconn on redis.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							ec59b4fd78
						
					
				
				
					commit
					dc950235e5
				
			@@ -2,6 +2,11 @@ class zulip_ops::profile::redis inherits zulip_ops::profile::base {
 | 
				
			|||||||
  include zulip::profile::redis
 | 
					  include zulip::profile::redis
 | 
				
			||||||
  include zulip_ops::prometheus::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
 | 
					  # Need redis_password in its own file for Nagios
 | 
				
			||||||
  file { '/var/lib/nagios/redis_password':
 | 
					  file { '/var/lib/nagios/redis_password':
 | 
				
			||||||
    ensure  => file,
 | 
					    ensure  => file,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user