[Varnish] #80: Missing errorhandler causes crash

Varnish varnish-bugs at projects.linpro.no
Fri Jan 19 16:29:54 CET 2007


#80: Missing errorhandler causes crash
--------------------+-------------------------------------------------------
 Reporter:  xingli  |       Owner:  des        
     Type:  defect  |      Status:  new        
 Priority:  high    |   Milestone:  Varnish 1.1
Component:  build   |     Version:  1.0        
 Severity:  major   |    Keywords:             
--------------------+-------------------------------------------------------
 Below is the varnish management log. There is 1 assert and at the end 1
 missing error handler. Varnish was not able to recover from the error at
 the end.

 Platform: Centos 4.4 x64 version. Latest stable varnish.

 {{{
 Child said (2, 3520): <<Child starts
 managed to mmap 110780403712 bytes of 110780403712
 Ready
 CLI ready
 >>
 Child said (2, 3520): <<socktest: linger=0 sndtimeo=0 rcvtimeo=0
 >>
 etChild said (2, 3520): <<Assert error in wrk_thread(), cache_pool.c line
 213:
   Condition((pipe(w->pipe)) == 0) not true.
   errno = 24 (Too many open files)
 >>
 Child not responding to ping
 Cache child died pid=3520 status=0x6
 Clean child
 Child cleaned
 start child pid 18923
 Pushing vcls failed:
 dlopen(/tmp/vcl.XXh9z1Wp): /tmp/vcl.XXh9z1Wp: cannot open shared object
 file: No such file or directory

 Child said (1, 18923): <<Child starts
 managed to mmap 110780403712 bytes of 110780403712
 Ready
 CLI ready
 >>
 unlink /tmp/vcl.XXh9z1Wp
 Missing errorhandling code in mgt_vcc_del(), mgt_vcc.c line 129:
   Condition((unlink(vp->fname)) == 0) not true.
   errno = 2 (No such file or directory)
 k 1 rev 16
 }}}

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


More information about the varnish-bugs mailing list