[Pkg-varnish-devel] Bug#709954: varnish: Varnish consumes 100% CPU without handling requests

Stefan Freudenberg stefan at agaric.com
Mon May 27 00:38:11 UTC 2013

Package: varnish
Version: 3.0.2-2~bpo60+1
Severity: important

During a stress test one of two load balanced varnish servers started to 
consume 100% of one CPU. The instance seemed to be functional, but it continued
to keep one CPU 100% busy until a restart of varnish.

-- System Information:
Debian Release: 6.0.7
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages varnish depends on:
ii  adduser                  3.112+nmu2      add and remove users and groups
ii  gcc                      4:4.4.5-1       The GNU C compiler
ii  libc6                    2.11.3-4        Embedded GNU C Library: Shared lib
ii  libc6-dev [libc-dev]     2.11.3-4        Embedded GNU C Library: Developmen
ii  libedit2                 2.11-20080614-2 BSD editline and history libraries
ii  libncurses5              5.7+20100313-5  shared libraries for terminal hand
ii  libpcre3                 8.02-1.1        Perl 5 Compatible Regular Expressi
ii  libvarnishapi1           3.0.2-2~bpo60+1 shared libraries for Varnish

varnish recommends no packages.

Versions of packages varnish suggests:
pn  varnish-doc                   <none>     (no description available)

-- Configuration Files:
/etc/default/varnish changed:
INSTANCE=$(uname -n)
             -f /etc/varnish/nyrr.vcl \
             -T \
	     -p thread_pools=4 \
	     -p thread_pool_add_delay=2 \
	     -p thread_pool_min=200 \
	     -p thread_pool_max=4000 \
	     -p session_linger=100 \
	     -p sess_workspace=262144 \
	     -p cli_timeout=25 \
             -S /etc/varnish/secret \
             -s malloc,6G"

-- no debconf information

More information about the Pkg-varnish-devel mailing list