Puppet Class: profile::phabricator::performance

Defined in:
modules/profile/manifests/phabricator/performance.pp

Overview

Class: profile::phabricator::performance

Set of sysctl network tuning parameters to improve Phabricator's performance under load.



6
7
8
9
10
11
12
13
14
15
# File 'modules/profile/manifests/phabricator/performance.pp', line 6

class profile::phabricator::performance {
    sysctl::parameters { 'phabricator network tuning':
        values => {
            # Increase the number of ephemeral ports
            'net.ipv4.ip_local_port_range' => [ 4001, 65534 ],
            # This helps prevent TIME_WAIT issues for our $localip<->$dbproxy connections.
            'net.ipv4.tcp_tw_reuse'        => 1,
        }
    }
}