VMWare Linux parameter: Difference between revisions
From Lolly's Wiki
Jump to navigationJump to search
(Die Seite wurde neu angelegt: „==/etc/sysctl.conf== <source lang=bash> # vm.swappiness = 0 The kernel will swap only to avoid an out of memory condition. vm.swappiness = 0 # TCP SYN Flood Pro…“) |
No edit summary |
||
Line 1: | Line 1: | ||
[[Kategorie:VMWare]] | |||
==/etc/sysctl.conf== | ==/etc/sysctl.conf== | ||
Line 9: | Line 10: | ||
net.ipv4.tcp_max_syn_backlog = 4096 | net.ipv4.tcp_max_syn_backlog = 4096 | ||
net.ipv4.tcp_synack_retries = 3 | net.ipv4.tcp_synack_retries = 3 | ||
</source> | |||
==Pinning kernel to 2.6 for ESX 4.1== | |||
Create /etc/apt/preferences.d/linux-image with this content: | |||
<source lang=bash> | |||
Package: linux-image-server linux-server linux-headers-server | |||
Pin: version 2.6.* | |||
Pin-Priority: 1000 | |||
</source> | </source> |
Revision as of 14:53, 2 September 2013
/etc/sysctl.conf
# vm.swappiness = 0 The kernel will swap only to avoid an out of memory condition.
vm.swappiness = 0
# TCP SYN Flood Protection
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_max_syn_backlog = 4096
net.ipv4.tcp_synack_retries = 3
Pinning kernel to 2.6 for ESX 4.1
Create /etc/apt/preferences.d/linux-image with this content:
Package: linux-image-server linux-server linux-headers-server
Pin: version 2.6.*
Pin-Priority: 1000