[Varnish] #271: Assert error in vca_kqueue_main(), cache_acceptor_kqueue.c line 139

Varnish varnish-bugs at projects.linpro.no
Mon Jul 7 18:43:54 CEST 2008


#271: Assert error in vca_kqueue_main(), cache_acceptor_kqueue.c line 139
------------------------+---------------------------------------------------
 Reporter:  bonetruck2  |        Owner:  phk       
     Type:  defect      |       Status:  closed    
 Priority:  normal      |    Milestone:            
Component:  varnishd    |      Version:  1.1.2     
 Severity:  normal      |   Resolution:  worksforme
 Keywords:              |  
------------------------+---------------------------------------------------
Changes (by phk):

  * status:  new => closed
  * resolution:  => worksforme

Comment:

 The manual page you cite states that the return value is the number of
 events placed in the *eventlist* argument, (4th arument) which is NULL in
 this call.

 Earlier the manual page states:

      When nevents is zero, kevent() will return immediately even if there
 is a
      timeout specified unlike select(2).

 So if that call returns '2', the something is very, very bogus, and I
 would suggest you research what the semantics of OpenBSDs kqueue actually
 are.  (Maybe a ktrace(8) can help you find out what goes on ?)

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


More information about the varnish-bugs mailing list