r16968 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r16967‎ | r16968 | r16969 >
Date:12:03, 12 October 2006
Author:mark
Status:old
Tags:
Comment:
wikimedia-base (0.03) dapper; urgency=low

* Do not remove sysctl.conf settings on package upgrade,
as the user may have altered them
* Depend on mcelog, but only for arch amd64
Modified paths:
  • /trunk/debs/wikimedia-base/debian/changelog (modified) (history)
  • /trunk/debs/wikimedia-base/debian/control (modified) (history)
  • /trunk/debs/wikimedia-base/debian/prerm (modified) (history)
  • /trunk/debs/wikimedia-base/debian/sysctl.conf (modified) (history)

Diff [purge]

Index: trunk/debs/wikimedia-base/debian/control
@@ -8,7 +8,7 @@
99 Package: wikimedia-base
1010 Architecture: all
1111 Origin: Wikimedia
12 -Depends: ${shlibs:Depends}, ${misc:Depends}, openssh-server, sysstat, ntp-simple, zsh, joe, screen, smartmontools
 12+Depends: ${shlibs:Depends}, ${misc:Depends}, openssh-server, sysstat, ntp-simple, zsh, joe, screen, smartmontools, mcelog [amd64]
1313 Description: Base requirements for any Wikimedia server
1414 wikimedia-base provides the Wikimedia specific base requirements
1515 for any Wikimedia server. Currently that involves:
Index: trunk/debs/wikimedia-base/debian/prerm
@@ -18,9 +18,11 @@
1919
2020
2121 case "$1" in
22 - remove|upgrade|deconfigure)
 22+ remove|deconfigure)
2323 # Remove TCP optimizations
2424 sed -i '/^### START: Added by wikimedia-base/,/^### END: Added by wikimedia-base/d' /etc/sysctl.conf
 25+ ;;
 26+ upgrade)
2527 ;;
2628 failed-upgrade)
2729 ;;
Index: trunk/debs/wikimedia-base/debian/changelog
@@ -1,3 +1,11 @@
 2+wikimedia-base (0.03) dapper; urgency=low
 3+
 4+ * Do not remove sysctl.conf settings on package upgrade,
 5+ as the user may have altered them
 6+ * Depend on mcelog, but only for arch amd64
 7+
 8+ -- Mark Bergsma <mark@wikimedia.org> Thu, 12 Oct 2006 11:52:35 +0000
 9+
210 wikimedia-base (0.02) unstable; urgency=low
311
412 * Set up APT package pinning for Wikimedia packages in /etc/apt/preferences
Index: trunk/debs/wikimedia-base/debian/sysctl.conf
@@ -1,4 +1,3 @@
2 -
32 ### START: Added by wikimedia-base
43
54 # increase TCP max buffer size
@@ -14,4 +13,7 @@
1514 # recommended to increase this for 1000 BT or higher
1615 net.core.netdev_max_backlog = 2500
1716
 17+# Increase the queue size of new TCP connections
 18+net.core.somaxconn = 1024
 19+net.ipv4.tcp_max_syn_backlog = 4192
1820 ### END: Added by wikimedia-base