[Varnish] #461: Varnish crashes with assert error in HSH_Lookup(), cache_hash.c line 312

Varnish varnish-bugs at projects.linpro.no
Mon Mar 2 15:20:57 CET 2009


#461: Varnish crashes with assert error in HSH_Lookup(), cache_hash.c line 312
----------------------+-----------------------------------------------------
 Reporter:  anders    |       Owner:  phk  
     Type:  defect    |      Status:  new  
 Priority:  normal    |   Milestone:       
Component:  varnishd  |     Version:  trunk
 Severity:  critical  |    Keywords:       
----------------------+-----------------------------------------------------
 I am running Varnish trunk/3846 in FreeBSD/amd64 7.1-RELEASE, with a large
 dataset (upto 5 million objects). I use these parameters:

 -p diag_bitmap=0x8000 -p obj_workspace=2048 -p lru_interval=3600 -h
 critbit -p ping_interval=0 -p cli_timeout=30 -p auto_restart=off -p
 thread_pools=4 -p thread_pool_max=4000 -p session_linger=40 -p
 listen_depth=4096 -p srcaddr_hash=20480 -p default_ttl=604800 -T
 localhost:8080 -f /usr/local/etc/varnish.vcl $varnishd_files -P
 /var/run/varnishd.pid

 I got this crash:

 {{
 Child (22139) Panic message: Assert error in HSH_Lookup(), cache_hash.c
 line 312:
   Condition(oh->refcnt > 1) not true.  thread = (cache-worker)sp =
 0x807e89008 {
   fd = 646, id = 646, xid = 439499437,
   client = 138.62.101.134:11474,
   step = STP_LOOKUP,
   handling = hash,
   ws = 0x807e89078 {
     id = "sess",
     {s,f,r,e} = {0x807e89810,,+655,0x0,+16384},
   },
     worker = 0x7ffff158ba60 {
     },
     vcl = {
       srcname = {
         "input",
         "Default",
       },
     },
 },


 Child cleanup complete
 }}

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/461>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list