Skip to content
Snippets Groups Projects
Commit 503a316e authored by Micah Anderson's avatar Micah Anderson
Browse files

ship a modified runit config for bigcouch that raises the open file

descriptor limits to account for bigcouch sync spikes (#4935)

Change-Id: I242fba31f961b6139ec641e1708b170f5c0d009b
parent dff94981
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
exec 2>&1
export HOME=/home/bigcouch
ulimit -H -n 32768
ulimit -S -n 32768
exec chpst -u bigcouch /opt/bigcouch/bin/bigcouch
......@@ -31,4 +31,14 @@ class site_couchdb::bigcouch {
file { '/var/log/bigcouch':
ensure => directory
}
file { '/etc/sv/bigcouch/run':
ensure => present,
source => 'puppet:///modules/site_couchdb/runit_config',
owner => root,
group => root,
mode => '0755',
require => Package['couchdb'],
notify => Service['couchdb']
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment