Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Commit

Permalink
Removed the usage of -w in the initscript until that bug is fixed in …
Browse files Browse the repository at this point in the history
…varnishd

git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1222 d4fa192b-c00b-0410-8231-f00ffab90ce4
  • Loading branch information
ingvarha committed Nov 8, 2006
1 parent 1457a23 commit a5042f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion redhat/varnish.initrc
Expand Up @@ -21,9 +21,11 @@ DAEMON_OPTS="-a ${VARNISH_LISTEN_ADDRESS}:${VARNISH_LISTEN_PORT} \
-f ${VARNISH_VCL_CONF} \
-T ${VARNISH_ADMIN_LISTEN_ADDRESS}:${VARNISH_ADMIN_LISTEN_PORT} \
-t ${VARNISH_TTL} \
-w ${VARNISH_MIN_WORKER_THREADS},${VARNISH_MAX_WORKER_THREADS},${VARNISH_WORKER_THREAD_TIMEOUT} \
-s ${VARNISH_BACKEND_STORAGE}"

# Note: The set of working threads is temporary broken in varnish-1.0.2.
# This will be fixed in an upcoming release
# -w ${VARNISH_MIN_WORKER_THREADS},${VARNISH_MAX_WORKER_THREADS},${VARNISH_WORKER_THREAD_TIMEOUT} \

mkdir -p /var/run/varnish 2>/dev/null

Expand Down
3 changes: 3 additions & 0 deletions redhat/varnish.sysconfig
Expand Up @@ -20,6 +20,9 @@ VARNISH_LISTEN_PORT=6081
VARNISH_ADMIN_LISTEN_ADDRESS=127.0.0.1
VARNISH_ADMIN_LISTEN_PORT=6082

# Note: The working set of threads is temporary broken in
# varnish-1.0.2. The following 3 entries will not be used.
# This will be fixed in an upcoming release

# The minimum number of threads to start
VARNISH_MIN_WORKER_THREADS=1
Expand Down

0 comments on commit a5042f3

Please sign in to comment.