Question about Cache Size

james james at
Fri Jan 11 00:26:14 CET 2008

Hey everyone,

In trying to diagnose why the varnish child dies at seemingly random 
times, I started varnish with -d -d and waited for a crash. This is what 
I got in the output:

Child said (2, 16094): <<Assert error in STV_alloc(), stevedore.c line 70:
  Condition((st) != NULL) not true.
  errno = 107 (Transport endpoint is not connected)
Cache child died pid=16094 status=0x6
Clean child
Child cleaned
start child pid 18886
Child said (2, 18886): <<Child starts
managed to mmap 565284864 bytes of 565284864
CLI ready

Any idea what this might be an indication of? Also, when starting 
varnish from the command line (and not an init.d script), I noticed this 
output which I haven't noticed before:

[root at www ~]# /usr/local/sbin/varnishd -a <ipaddr>:8000 -T <ipaddr>:8080 
-s file,/var/cache/varnish/,10G -p group=nobody -p thread_pool_max=1500 
-p thread_pools=5 -p listen_depth=512 -p client_http11=on -p 
backend_http11=on -p default_ttl=36000 -P /var/run/ -f 
WARNING: storage file size reduced to 1342177280 due to system limitations
WARNING: storage file size reduced to 599837900 (80% of available disk 
file /var/cache/varnish//varnish.z8brik (unlinked) size 599834624 bytes 
(146444 fs-blocks, 146444 pages)
Using old SHMFILE

However, 80% of my available disk space is not 599834624 bytes ( 572 
Mbytes ).

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             131G   16G  109G  13% /
/dev/sda1              99M   15M   79M  16% /boot
tmpfs                 1.8G     0  1.8G   0% /dev/shm

Any idea if these things are related? Currently running varnishd-1.2


-- james

More information about the varnish-misc mailing list