1Zvj1XkX75eKqdzrJQZcfK changeset

Changeset376430366266 (b)
ParentNone (a)
ab
0+# Configuration file for varnish
0+#
0+# /etc/init.d/varnish expects the variable $DAEMON_OPTS to be set from this
0+# shell script fragment.
0+#
0+
0+# Maximum number of open files (for ulimit -n)
0+NFILES=131072
0+
0+# Default varnish instance name is the local nodename.  Can be overridden with
0+# the -n switch, to have more instances on a single server.
0+INSTANCE=$(uname -n)
0+
0+#
0+# Listen on port 5984, administration on localhost:6082, and forward to
0+# one content server selected by the vcl file, based on the request.  Use a
0+# fixed-size cache file.
0+#
0+
0+MEMLOCK=90000
0+
0+DAEMON_OPTS="-a :5984 \
0+              -T localhost:6082 \
0+              -u varnish \
0+              -g varnish \
0+              -p thread_pool_max=8000 \
0+              -p thread_pools=8 \
0+              -p thread_pool_min=500 \
0+              -p thread_pool_add_delay=1 \
0+              -p obj_workspace=4096 \
0+              -p sess_workspace=131072 \
0+              -p listen_depth=4096 \
0+              -h classic,500009 \
0+              -p lru_interval=60 \
0+              -p ping_interval=2 \
0+              -p sess_timeout=10 \
0+              -p max_restarts=2 \
0+              -f /etc/varnish/default.vcl \
0+              -s file,/srv/varnish/storage.bin,400GB"
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
--- Revision None
+++ Revision 376430366266
@@ -0,0 +1,39 @@
+# Configuration file for varnish
+#
+# /etc/init.d/varnish expects the variable $DAEMON_OPTS to be set from this
+# shell script fragment.
+#
+
+# Maximum number of open files (for ulimit -n)
+NFILES=131072
+
+# Default varnish instance name is the local nodename. Can be overridden with
+# the -n switch, to have more instances on a single server.
+INSTANCE=$(uname -n)
+
+#
+# Listen on port 5984, administration on localhost:6082, and forward to
+# one content server selected by the vcl file, based on the request. Use a
+# fixed-size cache file.
+#
+
+MEMLOCK=90000
+
+DAEMON_OPTS="-a :5984 \
+ -T localhost:6082 \
+ -u varnish \
+ -g varnish \
+ -p thread_pool_max=8000 \
+ -p thread_pools=8 \
+ -p thread_pool_min=500 \
+ -p thread_pool_add_delay=1 \
+ -p obj_workspace=4096 \
+ -p sess_workspace=131072 \
+ -p listen_depth=4096 \
+ -h classic,500009 \
+ -p lru_interval=60 \
+ -p ping_interval=2 \
+ -p sess_timeout=10 \
+ -p max_restarts=2 \
+ -f /etc/varnish/default.vcl \
+ -s file,/srv/varnish/storage.bin,400GB"