[Varnish] #117: Mac OS X: Running varnishd results in Assert error in mgt_CallCc(), mgt_vcc.c line 222

Varnish varnish-bugs at projects.linpro.no
Thu Jun 14 14:59:58 CEST 2007


#117: Mac OS X: Running varnishd results in Assert error in mgt_CallCc(),
mgt_vcc.c line 222
----------------------+-----------------------------------------------------
 Reporter:  oh        |        Owner:  phk  
     Type:  defect    |       Status:  new  
 Priority:  normal    |    Milestone:       
Component:  varnishd  |      Version:  1.0.4
 Severity:  normal    |   Resolution:       
 Keywords:  mac os x  |  
----------------------+-----------------------------------------------------
Comment (by oh):

 Hmm.. seems like the patch only fixes the problem when varnish is started
 without a config file.

 Works:
 {{{
 $ /usr/local/sbin/varnishd -a localhost:8080 -b localhost:80
 NB: Limiting size to 2GB on 32 bit architecture to prevent running out of
 address space.  Specifiy explicit size to override.
 file /tmp/varnish.cWZzCe (unlinked) size 2147479552 bytes (524287 fs-
 blocks, 524287 pages)
 Using old SHMFILE
 }}}

 Does not work (with the patch I linked to in the previous comment)
 {{{
 $ /usr/local/sbin/varnishd -a localhost:8080  -f /etc/varnish.conf
 Assert error in mgt_CallCc(), mgt_vcc.c line 214:
   Condition((dlclose(p)) == 0) not true.
   errno = 2 (No such file or directory)
 Abort trap
 }}}

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/117#comment:2>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list