[Varnish] #1813: Duplicate -a leads to assert instead of error message.

Varnish varnish-bugs at varnish-cache.org
Mon Nov 2 11:23:45 CET 2015


#1813: Duplicate -a leads to assert instead of error message.
----------------------+--------------------
 Reporter:  lkarsten  |       Owner:
     Type:  defect    |      Status:  new
 Priority:  normal    |   Milestone:
Component:  varnishd  |     Version:  4.1.0
 Severity:  normal    |  Resolution:
 Keywords:            |
----------------------+--------------------
Description changed by lkarsten:

Old description:

> On 4.1.0, if you add the same -a twice, you get this error:
>
> {{{
> varnish> root at lima:/etc/varnish# varnishadm panic.show
> Last panic at: Mon, 02 Nov 2015 10:20:15 GMT
> Assert error in vca_acct(), cache/cache_acceptor.c line 490:
>   Condition((listen(ls->sock, cache_param->listen_depth)) == 0) not true.
> errno = 98 (Address already in use)
> thread = (cache-acceptor)
> version = varnish-4.1.0 revision 3041728
> ident =
> Linux,3.16.0-4-amd64,x86_64,-junix,-smalloc,-smalloc,-hcritbit,epoll
> Backtrace:
>   0x433505: varnishd() [0x433505]
>   0x410f65: varnishd() [0x410f65]
>   0x7f78a92230a4: libpthread.so.0(+0x80a4) [0x7f78a92230a4]
>   0x7f78a8f5804d: libc.so.6(clone+0x6d) [0x7f78a8f5804d]
> }}}
>
> Child is continously being restarted.

New description:

 On 4.1.0, if you add the same -a twice, you get this error:

 {{{
 varnish> root at lima:/etc/varnish# varnishadm panic.show
 Last panic at: Mon, 02 Nov 2015 10:20:15 GMT
 Assert error in vca_acct(), cache/cache_acceptor.c line 490:
   Condition((listen(ls->sock, cache_param->listen_depth)) == 0) not true.
 errno = 98 (Address already in use)
 thread = (cache-acceptor)
 version = varnish-4.1.0 revision 3041728
 ident =
 Linux,3.16.0-4-amd64,x86_64,-junix,-smalloc,-smalloc,-hcritbit,epoll
 Backtrace:
   0x433505: varnishd() [0x433505]
   0x410f65: varnishd() [0x410f65]
   0x7f78a92230a4: libpthread.so.0(+0x80a4) [0x7f78a92230a4]
   0x7f78a8f5804d: libc.so.6(clone+0x6d) [0x7f78a8f5804d]
 }}}

 Child is continuously being restarted.

--

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



More information about the varnish-bugs mailing list