r25586 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25585‎ | r25586 | r25587 >
Date:14:15, 6 September 2007
Author:mark
Status:old
Tags:
Comment:
wikimedia-base (0.18) feisty; urgency=low

* Decrease default TCP keepalive parameters in sysctl.conf
Modified paths:
  • /trunk/debs/wikimedia-base/debian/changelog (modified) (history)
  • /trunk/debs/wikimedia-base/debian/postinst (modified) (history)
  • /trunk/debs/wikimedia-base/sysctl.conf (modified) (history)

Diff [purge]

Index: trunk/debs/wikimedia-base/debian/postinst
@@ -81,7 +81,7 @@
8282 fi
8383
8484 # Optimize TCP
85 - if ! grep -q "^### START: Added by wikimedia-base" /etc/sysctl.conf || dpkg --compare-versions "$2" lt "0.17"
 85+ if ! grep -q "^### START: Added by wikimedia-base" /etc/sysctl.conf || dpkg --compare-versions "$2" lt "0.18"
8686 then
8787 cat /usr/share/doc/wikimedia-base/sysctl.conf >> /etc/sysctl.conf
8888 sysctl -p /usr/share/doc/wikimedia-base/sysctl.conf
Index: trunk/debs/wikimedia-base/debian/changelog
@@ -1,3 +1,9 @@
 2+wikimedia-base (0.18) feisty; urgency=low
 3+
 4+ * Decrease default TCP keepalive parameters in sysctl.conf
 5+
 6+ -- Mark Bergsma <mark@wikimedia.org> Thu, 6 Sep 2007 14:04:31 +0000
 7+
28 wikimedia-base (0.17) feisty; urgency=low
39
410 * Set /proc/sys/vm/swappiness to 10 in sysctl.conf
Index: trunk/debs/wikimedia-base/sysctl.conf
@@ -19,4 +19,9 @@
2020
2121 # Swapping makes things too slow and should be done rarely
2222 vm.swappiness = 10
 23+
 24+# The default TCP keepalive time of 2H is too long
 25+net.ipv4.tcp_keepalive_time = 300
 26+net.ipv4.tcp_keepalive_intvl = 1
 27+net.ipv4.tcp_keepalive_probes = 2
2328 ### END: Added by wikimedia-base

Status & tagging log