Increase udp buffer sizes when installing afs client
Linux default udp buffer sizes are somewhat small if sending much udp traffic. Openafs uses udp for all of its traffic so we increase the buffer size to 25MB. Change-Id: I62b86fa41e27d3b70c62afc0f069db44e61a7f31
This commit is contained in:
parent
3b4ec70584
commit
c19f2b0b2c
|
@ -24,6 +24,16 @@ class openafs::client (
|
|||
ensure => present,
|
||||
}
|
||||
|
||||
file_line { 'UDP default buffer size':
|
||||
path => '/etc/sysctl.conf',
|
||||
line => 'net.core.rmem_default=26214400',
|
||||
}
|
||||
|
||||
file_line { 'UDP max buffer size':
|
||||
path => '/etc/sysctl.conf',
|
||||
line => 'net.core.rmem_max=26214400',
|
||||
}
|
||||
|
||||
if ($::osfamily == 'RedHat') {
|
||||
|
||||
# There is no official release of AFS for RHEL/CentOS7 at this
|
||||
|
|
Loading…
Reference in New Issue