Varnish crash every 30 min...

Mickaël GERVAIS mgervais at agaetis.fr
Tue Apr 17 09:46:14 CEST 2012


Hi all,

I'm using varnish 2, and after some investigation, I've seen that it 
crashes every 30minutes and is restarted by the watch dog, I've found 
this log:
/
/
/Apr 12 18:37:16 alpinixv varnishd[30061]: Child (30064) Panic message: 
Assert error in VRT_IP_string(), cache_vrt.c line 888:   Condition((p = 
WS_Alloc(sp->http->ws, len)) != 0) not true. thread = (cache-worker) 
ident = Linux,2.6.33,x86_64,-sfile,-//hcritbit,epoll Backtrace:   
0x423e76: /usr/sbin/varnishd [0x423e76]   0x42bde0: 
/usr/sbin/varnishd(VRT_IP_//string+0x120) [0x42bde0]   0x7f8dd71f0644: 
./vcl.OaGbHZXp.so <http://vcl.oagbhzxp.so/>[0x7f8dd71f0644]   0x4288a6: 
/usr/sbin/varnishd(VCL_//deliver_method+0x46) [0x4288a6]   0x4136ff: 
/usr/sbin/varnishd [0x4136ff]   0x414509: 
/usr/sbin/varnishd(CNT_//Session+0x369) [0x414509]   0x426298: 
/usr/sbin/varnishd [0x426298]   0x42557d: /usr/sbin/varnishd [0x42557d] 
   0x7f8fddc0573d: /lib64/libpthread.so.0 [0x7f8fddc0573d]   
0x7f8fdd4e0d1d: /lib64/libc.so.6(clone+0x6d) [0x7f8fdd4e0d1d] sp = 
0x7f8dd2adf008 {   fd = 137, id = 137, xid = 835416094,   client = 
92.90.20.11 45272,   step = STP_DELIVER,   handling = deliver,   
restarts = 0, esis = 0   ws = 0x7f8dd2adf080 { overflow     id = "sess", 
     {s,f/
/Apr 12 18:37:16 alpinixv varnishd[30061]: child (31129) Started/
/Apr 12 18:37:16 alpinixv varnishd[30061]: Child (31129) said/
/Apr 12 18:37:16 alpinixv varnishd[30061]: Child (31129) said Child starts/
/Apr 12 18:37:16 alpinixv varnishd[30061]: Child (31129) said managed to 
mmap8589934592 <tel:8589934592>bytes of8589934592 <tel:8589934592>/


Here is the code:

/log "[Deliver] (" client.ip ")" req.url " (" obj.hits ")";

/So we have commented this line and now we have some restart without 
errors, here is the code:/

//Apr 15 19:08:37 alpinixv varnishd[13463]: Child (32470) not responding 
to CLI, killing it.
Apr 15 19:08:38 alpinixv varnishd[13463]: Child (32470) died signal=3
Apr 15 19:08:38 alpinixv varnishd[13463]: child (29841) Started/

Any suggestions would be appreciated!

Thanks a lot

Mickael
/
/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120417/25c2fb7a/attachment.html>


More information about the varnish-misc mailing list