Permalink
Browse files

Aggressive TCP keepalive/keepidle settings

...to match Pivotal's equally aggressive firewall setttings'
  • Loading branch information...
1 parent 32950b8 commit 3172d8e78cc1376ea27c42d43b51a7f252b91b68 Brian Cunnie and Doc Ritezel committed Jan 8, 2013
Showing with 9 additions and 0 deletions.
  1. +9 −0 recipes/tcp_keepalive.rb
View
@@ -0,0 +1,9 @@
+pivotal_workstation_sysctl "send keepalive packets" do
+ name "net.inet.tcp.always_keepalive"
+ value "1"
+end
+
+pivotal_workstation_sysctl "send keepalive packets every 74.5 seconds" do
+ name "net.inet.tcp.keepidle"
+ value "149000"
+end

0 comments on commit 3172d8e

Please sign in to comment.