Index: trunk/debs/wikimedia-base/debian/control |
— | — | @@ -8,7 +8,7 @@ |
9 | 9 | Package: wikimedia-base |
10 | 10 | Architecture: all |
11 | 11 | 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] |
13 | 13 | Description: Base requirements for any Wikimedia server |
14 | 14 | wikimedia-base provides the Wikimedia specific base requirements |
15 | 15 | for any Wikimedia server. Currently that involves: |
Index: trunk/debs/wikimedia-base/debian/prerm |
— | — | @@ -18,9 +18,11 @@ |
19 | 19 | |
20 | 20 | |
21 | 21 | case "$1" in |
22 | | - remove|upgrade|deconfigure) |
| 22 | + remove|deconfigure) |
23 | 23 | # Remove TCP optimizations |
24 | 24 | sed -i '/^### START: Added by wikimedia-base/,/^### END: Added by wikimedia-base/d' /etc/sysctl.conf |
| 25 | + ;; |
| 26 | + upgrade) |
25 | 27 | ;; |
26 | 28 | failed-upgrade) |
27 | 29 | ;; |
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 | + |
2 | 10 | wikimedia-base (0.02) unstable; urgency=low |
3 | 11 | |
4 | 12 | * 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 | | - |
3 | 2 | ### START: Added by wikimedia-base |
4 | 3 | |
5 | 4 | # increase TCP max buffer size |
— | — | @@ -14,4 +13,7 @@ |
15 | 14 | # recommended to increase this for 1000 BT or higher |
16 | 15 | net.core.netdev_max_backlog = 2500 |
17 | 16 | |
| 17 | +# Increase the queue size of new TCP connections |
| 18 | +net.core.somaxconn = 1024 |
| 19 | +net.ipv4.tcp_max_syn_backlog = 4192 |
18 | 20 | ### END: Added by wikimedia-base |