[Varnish] #1028: varnishncsa crashes randomly

Varnish varnish-bugs at varnish-cache.org
Thu Oct 6 15:32:45 CEST 2011


#1028: varnishncsa crashes randomly
-------------------+--------------------------------------------------------
 Reporter:  ljorg  |        Type:  defect     
   Status:  new    |    Priority:  normal     
Milestone:         |   Component:  varnishncsa
  Version:  3.0.0  |    Severity:  major      
 Keywords:         |  
-------------------+--------------------------------------------------------
 varnishncsa crashes randomly about 40-50 times a day. Running varnish
 3.0.0 on RHEL 6 64bit.

 Varnishncsa runs as /usr/local/bin/varnishncsa -a -w
 /var/log/httpd/access_log -D -P /var/run/varnishncsa.pid -F %h %l %u %t
 "%m %U %H" %s %b "%{Referer}i" "%{User-agent}i"

 I have a coredump (attached) and when trying the suggested backtrace get
 this information:

 (gdb) bt
 #0  0x00000039fc47fa32 in __strlen_sse2 () from /lib64/libc.so.6
 #1  0x00000039fc46663e in fputs () from /lib64/libc.so.6
 #2  0x000000000040217c in h_ncsa (priv=0x13b4c00, tag=20669768,
     fd=<value optimized out>, len=72, spec=<value optimized out>,
     ptr=<value optimized out>, bitmap=0) at varnishncsa.c:567
 #3  0x00007f5997de4e43 in VSL_Dispatch (vd=0x13b3010, func=0x401d20
 <h_ncsa>,
     priv=0x13b4c00) at vsl.c:308
 #4  0x00000000004017fc in main (argc=9, argv=<value optimized out>)
     at varnishncsa.c:817

 I have tried the trunk+2011-10-04 version, but that also crashes randomly.

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1028>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list