[Varnish] #1675: Condition((vbc->in_waiter) != 0) not true.

Varnish varnish-bugs at varnish-cache.org
Mon May 18 15:19:44 CEST 2015


#1675: Condition((vbc->in_waiter) != 0) not true.
----------------------------------+----------------------------------
 Reporter:  zaterio@…             |       Owner:  phk
     Type:  defect                |      Status:  needinfo
 Priority:  normal                |   Milestone:  Varnish 4.0 release
Component:  varnishd              |     Version:  trunk
 Severity:  normal                |  Resolution:
 Keywords:  in_waiter tcp_handle  |
----------------------------------+----------------------------------

Comment (by zaterio@…):

 '''Installation Procedure:'''
 {{{
 git clone https://github.com/varnish/Varnish-Cache.git
 git reset --hard eb8f35bd79206ff489b895ffb2dc3fb07cabfce5
 ./autogen.sh
 ./configure --prefix=/usr/local/varnish-eb8f35b
 make
 make install
 cat /etc/ld.so.conf.d/varnish.conf
 /usr/local/varnish-eb8f35b/lib/
 /usr/local/varnish-eb8f35b/lib/varnish/
 ldconfig
 cp /usr/local/varnish-eb8f35b/sbin/* /usr/sbin/
 cp /usr/local/varnish-eb8f35b/bin/* /usr/bin/
 /etc/init.d/varnish start
 }}}

 '''lsof |grep varnishd |grep lib|awk '{print $10}'|sort|uniq -c|sort
 -n|awk '{print $2}''''
 {{{
 /lib/x86_64-linux-gnu/ld-2.13.so
 /lib/x86_64-linux-gnu/libc-2.13.so
 /lib/x86_64-linux-gnu/libdl-2.13.so
 /lib/x86_64-linux-gnu/libm-2.13.so
 /lib/x86_64-linux-gnu/libnsl-2.13.so
 /lib/x86_64-linux-gnu/libnss_compat-2.13.so
 /lib/x86_64-linux-gnu/libnss_files-2.13.so
 /lib/x86_64-linux-gnu/libnss_nis-2.13.so
 /lib/x86_64-linux-gnu/libpcre.so.3.13.1
 /lib/x86_64-linux-gnu/libpthread-2.13.so
 /lib/x86_64-linux-gnu/librt-2.13.so
 /usr/lib/x86_64-linux-gnu/libjemalloc.so.1
 /usr/local/varnish-eb8f35b/lib/varnish/libvarnishcompat.so
 /usr/local/varnish-eb8f35b/lib/varnish/libvarnish.so
 /usr/local/varnish-eb8f35b/lib/varnish/libvcc.so
 /usr/local/varnish-eb8f35b/lib/varnish/libvgz.so
 /usr/local/varnish-eb8f35b/lib/varnish/vmods/libvmod_directors.so
 /usr/local/varnish-eb8f35b/lib/varnish/vmods/libvmod_std.so
 }}}

 '''varnishd -V'''
 {{{
 varnishd (varnish-trunk revision eb8f35b)
 Copyright (c) 2006 Verdens Gang AS
 Copyright (c) 2006-2015 Varnish Software AS
 }}}

 '''testing epoll (panic every 3 min):'''
 {{{
 varnishadm panic.show
 Last panic at: Mon, 18 May 2015 12:19:14 GMT
 Assert error in vwe_inject(), waiter/cache_waiter_epoll.c line 76:
   Condition((epoll_ctl(vwe->epfd, 1, wp->fd, &ev)) == 0) not true.
 errno = 17 (File exists)
 thread = (cache-epoll)
 version = varnish-trunk revision eb8f35b
 ident =
 Linux,3.2.0-4-amd64,x86_64,-junix,-smalloc,-smalloc,-hclassic,epoll
 Backtrace:
   0x4334e4: pan_ic+0x134
   0x4638ca: vwe_inject+0x9a
   0x4635a1: Wait_Handle+0x171
   0x463c57: vwe_thread+0x147
   0x7f2018de6b50: libpthread.so.0(+0x6b50) [0x7f2018de6b50]
   0x7f2018b3095d: libc.so.6(clone+0x6d) [0x7f2018b3095d]
 }}}

 {{{
 varnishadm panic.show
 Last panic at: Mon, 18 May 2015 12:22:17 GMT
 Assert error in vwe_inject(), waiter/cache_waiter_epoll.c line 76:
   Condition((epoll_ctl(vwe->epfd, 1, wp->fd, &ev)) == 0) not true.
 errno = 17 (File exists)
 thread = (cache-epoll)
 version = varnish-trunk revision eb8f35b
 ident =
 Linux,3.2.0-4-amd64,x86_64,-junix,-smalloc,-smalloc,-hclassic,epoll
 Backtrace:
   0x4334e4: pan_ic+0x134
   0x4638ca: vwe_inject+0x9a
   0x4635a1: Wait_Handle+0x171
   0x463c57: vwe_thread+0x147
   0x7f2018de6b50: libpthread.so.0(+0x6b50) [0x7f2018de6b50]
   0x7f2018b3095d: libc.so.6(clone+0x6d) [0x7f2018b3095d]
 }}}

 '''OBS: I have attached the output of sysctl -a'''

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1675#comment:21>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list