cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject git commit: updated refs/heads/4.4 to c4d1bf7
Date Thu, 14 Aug 2014 12:05:43 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/4.4 8b7130fa6 -> c4d1bf7f2


sysctl improvements. 1. ip_nonlocal_bind for smooth transition in case of a keepalived failover.
2. panic settings so that a vm dies in a way that ACS understands it's down. 3. also up the
nf_conntrack limits.

Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit 45deade1df171d9ae5562111bf011ee913ff9dc0)

Conflicts:
	systemvm/patches/debian/config/etc/sysctl.conf


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/c4d1bf7f
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c4d1bf7f
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/c4d1bf7f

Branch: refs/heads/4.4
Commit: c4d1bf7f2426bfddd96ab9415fe793647e67a5a4
Parents: 8b7130f
Author: Joris van Lieshout <jvanlieshout@schubergphilis.com>
Authored: Wed May 21 17:25:46 2014 +0200
Committer: Daan Hoogland <daan@onecht.net>
Committed: Thu Aug 14 14:00:23 2014 +0200

----------------------------------------------------------------------
 systemvm/patches/debian/config/etc/sysctl.conf | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c4d1bf7f/systemvm/patches/debian/config/etc/sysctl.conf
----------------------------------------------------------------------
diff --git a/systemvm/patches/debian/config/etc/sysctl.conf b/systemvm/patches/debian/config/etc/sysctl.conf
index c8f4bfb..f5b1086 100644
--- a/systemvm/patches/debian/config/etc/sysctl.conf
+++ b/systemvm/patches/debian/config/etc/sysctl.conf
@@ -27,6 +27,9 @@ net.ipv4.conf.default.send_redirects = 0
 net.ipv4.conf.all.secure_redirects = 0
 net.ipv4.conf.default.secure_redirects = 0
 
+# For smooth transition of the vip address in case of a keepalived failover
+net.ipv4.ip_nonlocal_bind = 1
+
 # Controls the System Request debugging functionality of the kernel
 kernel.sysrq = 0
 
@@ -34,13 +37,20 @@ kernel.sysrq = 0
 # Useful for debugging multi-threaded applications.
 kernel.core_uses_pid = 1
 
+# A better way for the instance to die
+kernel.panic = 10
+kernel.panic_on_oops = 1
+vm.panic_on_oom = 1
+
 # Controls the use of TCP syncookies
 net.ipv4.tcp_syncookies = 1
 
-net.ipv4.netfilter.ip_conntrack_max=1000000
-net.ipv4.tcp_tw_reuse=1
-net.ipv4.tcp_max_tw_buckets=1000000
-net.core.somaxconn=1000000
+net.ipv4.netfilter.ip_conntrack_max = 1000000
+net.ipv4.tcp_tw_reuse = 1
+net.ipv4.tcp_max_tw_buckets = 1000000
+net.core.somaxconn = 1000000
+net.nf_conntrack_max = 1000000
+net.netfilter.nf_conntrack_max = 1000000
 
 # Disable IPv6
 net.ipv6.conf.all.disable_ipv6 = 1


Mime
View raw message