Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

Commit

Permalink
Aggressive TCP keepalive/keepidle settings
Browse files Browse the repository at this point in the history
...to match Pivotal's equally aggressive firewall setttings'
  • Loading branch information
Brian Cunnie and Doc Ritezel committed Jan 8, 2013
1 parent 32950b8 commit 3172d8e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions recipes/tcp_keepalive.rb
@@ -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.