r2562 - trunk/varnish-cache/redhat
ingvar at projects.linpro.no
ingvar at projects.linpro.no
Fri Mar 7 16:07:31 CET 2008
Author: ingvar
Date: 2008-03-07 16:07:31 +0100 (Fri, 07 Mar 2008)
New Revision: 2562
Modified:
trunk/varnish-cache/redhat/varnish.initrc
trunk/varnish-cache/redhat/varnish.spec
trunk/varnish-cache/redhat/varnish.sysconfig
Log:
This is more pre-2.0 than 1.1.2+
Modified: trunk/varnish-cache/redhat/varnish.initrc
===================================================================
--- trunk/varnish-cache/redhat/varnish.initrc 2008-03-07 11:43:38 UTC (rev 2561)
+++ trunk/varnish-cache/redhat/varnish.initrc 2008-03-07 15:07:31 UTC (rev 2562)
@@ -26,6 +26,9 @@
# Open files (usually 1024, which is way too small for varnish)
ulimit -n ${NFILES:-131072}
+# Varnish wants to lock shared memory log in memory.
+ulimit -l ${MEMLOCK:-82000}
+
# See how we were called.
case "$1" in
start)
Modified: trunk/varnish-cache/redhat/varnish.spec
===================================================================
--- trunk/varnish-cache/redhat/varnish.spec 2008-03-07 11:43:38 UTC (rev 2561)
+++ trunk/varnish-cache/redhat/varnish.spec 2008-03-07 15:07:31 UTC (rev 2562)
@@ -1,7 +1,7 @@
Summary: Varnish is a high-performance HTTP accelerator
Name: varnish
-Version: 1.1.2
-Release: 5%{?dist}
+Version: 2.0
+Release: pre_svn20080307%{?dist}
License: BSD
Group: System Environment/Daemons
URL: http://www.varnish-cache.org/
Modified: trunk/varnish-cache/redhat/varnish.sysconfig
===================================================================
--- trunk/varnish-cache/redhat/varnish.sysconfig 2008-03-07 11:43:38 UTC (rev 2561)
+++ trunk/varnish-cache/redhat/varnish.sysconfig 2008-03-07 15:07:31 UTC (rev 2562)
@@ -7,6 +7,10 @@
# Maximum number of open files (for ulimit -n)
NFILES=131072
+# Locked shared memory (for ulimit -l)
+# Default log size is 82MB + header
+MEMLOCK=82000
+
# This file contains 4 alternatives, please use only one.
## Alternative 1, Minimal configuration, no VCL
More information about the varnish-commit
mailing list