Varnish logging

Dirk Gomez lists at dirkgomez.de
Mon Apr 30 13:41:49 CEST 2007


>> No output is written with this command:
>>
>> varnishncsa -adw foo
>>
>> (Just tried: it now segfaults)
>
> I'm unable to reproduce this.  Are you sure varnishd and varnishncsa
> are using the same library versions?  And do you have a backtrace for
> the segfault?

Hmm, not able to reproduce twenty minutes later.

Here are the library versions:

anadyr:~# ldd /usr/bin/varnishncsa
         linux-gate.so.1 =>  (0xffffe000)
         libvarnish.so.0 => /usr/lib/libvarnish.so.0 (0x4001e000)
         libvarnishapi.so.0 => /usr/lib/libvarnishapi.so.0 (0x40023000)
         libdl.so.2 => /lib/tls/libdl.so.2 (0x40027000)
         librt.so.1 => /lib/tls/librt.so.1 (0x4002b000)
         libc.so.6 => /lib/tls/libc.so.6 (0x40033000)
         /lib/ld-linux.so.2 (0x40000000)
         libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40166000)
anadyr:~# ldd /usr/sbin/varnishd
         linux-gate.so.1 =>  (0xffffe000)
         libvarnish.so.0 => /usr/lib/libvarnish.so.0 (0x4001e000)
         libvcl.so.0 => /usr/lib/libvcl.so.0 (0x40023000)
         libdl.so.2 => /lib/tls/libdl.so.2 (0x40030000)
         librt.so.1 => /lib/tls/librt.so.1 (0x40034000)
         libc.so.6 => /lib/tls/libc.so.6 (0x4003c000)
         libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4016f000)
         /lib/ld-linux.so.2 (0x40000000)

(Debian Etch, self-built varnish-103 package with your "HOST"  patch  
from trunk for varnishncsa)

varnishncsa returns to its nanosleep routine.

Should I recompile with   --enable-developer-warnings and  --enable- 
debugging-symbols set to yes and retry strace?







More information about the varnish-misc mailing list