Varnish crashes, and Cache child dies

Andreas Røsdal andrearo at pvv.ntnu.no
Tue Jul 31 16:37:37 CEST 2007


Hello!

I was really looking forward to varnish 1.1... We've just upgraded from 
varnish 1.0.4 to the new 1.1, and now varnish regularily crashes every 60 
seconds.

The VCL file is available here:
http://www.pvv.ntnu.no/~andrearo/vcl.conf

The operating system is SuSE Linux 9 x86_64. This is grandis01, for those 
who have seen this system before..  :) To me it looks like an assertion is 
triggered in cache_http.c.

Here is the output from running varnish in debug mode:

/usr/sbin/varnishd -f /etc/varnish/vcl.conf -T127.0.0.1:6082 -s 
file,/var/cache/varnish -d
file /var/cache/varnish/varnish.hswcHe (unlinked) size 5476352 bytes (1337 
fs-blocks, 1337 pages)
Using old SHMFILE
New Pid 10330

rolling(1)...
rolling(2)...
start
CLI <start>
start child pid 10351
200 0

Child said (2, 10351): <<Child starts
managed to mmap 5476352 bytes of 5476352
Ready
CLI ready
>>
Child said (2, 10351): <<socktest: linger=0 sndtimeo=0 rcvtimeo=0
>>
Child said (2, 10351): <<Assert error in http_Write(), cache_http.c line 
977:
   Condition((hp->hd[HTTP_HDR_STATUS].b) != 0) not true.
   errno = 0 (Success)
>>
Cache child died pid=10351 status=0x6
Clean child
Child cleaned
start child pid 10365
Child said (2, 10365): <<Child starts
managed to mmap 5476352 bytes of 5476352
Ready
CLI ready




  - Andreas



More information about the varnish-dev mailing list