tot dumps core 
    Poul-Henning Kamp 
    phk at phk.freebsd.dk
       
    Fri Jul 14 13:54:33 CEST 2006
    
    
  
In message <ujrzmfcsel6.fsf at cat.linpro.no>, Dag-Erling =?iso-8859-1?Q?Sm=F8rgra
v?= writes:
>
>des at dma ~varnish/varnish-cache% cat varnish.sh
>#!/bin/sh
>
>base=3D$(dirname $(realpath $0))
>
>exec $base/bin/varnishd/varnishd \
>        -b localhost:80 \
>        -p 8080 \
>        -s file,${base}/storage \
>        -w 1
Works for me...
Can you try to run it from the build directory ?  I'm sceptical
about all the weird magic that the varnishd "cheat" script does.
>I thought the storage file looks weird:
>
>des at dma ~varnish/varnish-cache% ll storage
>-rw-------  1 des  des  34365272064 Jul 14 10:01 storage
>des at dma ~varnish/varnish-cache% du -k storage
>48      storage
It's a sparse file.  I think we generally allocate sequentially
(it's certainly the intent that we should do) so we shouldn't
need to preallocate it.
-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
    
    
More information about the varnish-dev
mailing list