[Varnish] #1083: Persistent Varnish crashes since using bans and lurker

Varnish varnish-bugs at varnish-cache.org
Tue Apr 23 17:11:05 CEST 2013


#1083: Persistent Varnish crashes since using bans and lurker
-------------------------+---------------------
 Reporter:  rmohrbacher  |       Owner:  martin
     Type:  defect       |      Status:  new
 Priority:  high         |   Milestone:
Component:  varnishd     |     Version:  3.0.2
 Severity:  major        |  Resolution:
 Keywords:               |
-------------------------+---------------------

Comment (by numard):

 Hi Martin,
 I've had this in production for a few days - not great results I'm afraid.
 Tried the 3.0.3-plus branch, as well as 'persistent'. Crashes still
 happen, though not exact output in panic (as expected).

 From branch persistent, panic is :


 {{{
 Last panic at: Mon, 22 Apr 2013 01:40:53 GMT
 Assert error in smp_appendban(), storage/storage_persistent.c line 98:
   Condition(4 + sizeof t + 4 + len < left) not true.
 thread = (cache-main)
 ident =
 Linux,3.2.0-40-virtual,x86_64,-spersistent,-smalloc,-hcritbit,epoll
 Backtrace:
   0x4331d5: pan_ic+d5
   0x455f05: smp_appendban+e5
   0x45603e: smp_newban+4e
   0x451ba9: STV_NewBan+29
   0x4157d3: BAN_Compile+43
   0x431e0a: child_main+10a
   0x4491a2: start_child+962
   0x4496df: mgt_sigchld+51f
   0x7f2c671874d2: _end+7f2c66afbcea
   0x7f2c67187b98: _end+7f2c66afc3b0
 }}}

 from 3.0.3-plus, almost identical to previous,

 {{{
 Assert error in smp_appendban(), storage_persistent.c line 97:
   Condition(4 + sizeof t + 4 + len < left) not true.
 thread = (cache-main)
 ident =
 Linux,3.2.0-40-virtual,x86_64,-spersistent,-smalloc,-hcritbit,no_waiter
 Backtrace:
   0x432b75: pan_ic+d5
   0x451465: smp_appendban+e5
   0x45159e: smp_newban+4e
   0x44d969: STV_NewBan+29
   0x416853: BAN_Compile+43
   0x43187a: child_main+ca
   0x445ed7: start_child+8c7
   0x44641f: mgt_sigchld+51f
   0x7fc825ea5312: _end+7fc82581ff62
   0x7fc825ea59d8: _end+7fc825820628
 }}}

 I'm building on up to date Precise 12.0.4 LTS, with nothing special :

 {{{
 ./autogen.sh
 ./configure --exec-prefix=/usr
 make
 make install
 ldconfig

 }}}

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




More information about the varnish-bugs mailing list