Getting started...

Tim Kientzle tim at metaweb.com
Wed Nov 12 20:20:46 CET 2008


Ah...  It seems to work if I omit the -d option.

Tim

On Nov 12, 2008, at 11:11 AM, Tim Kientzle wrote:

> I'm trying to just run a plain-vanilla varnish so I can see it running
> before I start mucking with configuration.
>
> But I'm not having much luck:
>
> $ uname -a
> Darwin tbkk.local 9.5.0 Darwin Kernel Version 9.5.0: Wed Sep  3
> 11:29:43 PDT 2008; root:xnu-1228.7.58~1/RELEASE_I386 i386
> $ sbin/varnishd -a 127.0.0.1:3128 -b 127.0.0.1:80 -d
> storage_file: filename: ./varnish.2wA0fp (unlinked) size 669 MB.
> Using old SHMFILE
> Debugging mode, enter "start" to start child
> $ echo $?
> 2
> $
>
> So, varnishd simply exits with no explanation at all.
>
> After the above, bin/varnishlog just hangs with no output.
>
> I finally resorted to running varnishd under GDB, which shows that
> vev_schedule_one() is getting NULL from binheap_root(), which leads it
> to return zero, which causes vev_schedule() to return, which causes
> mgt_schedule() to log "manager dies" and exit(2).
>
> What have I missed?
>
> Are there any good examples just showing how to run varnish?
>
> Tim
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at projects.linpro.no
> http://projects.linpro.no/mailman/listinfo/varnish-misc




More information about the varnish-misc mailing list