[Varnish] #106: Varnish does not compile on OpenBSD.

Varnish varnish-bugs at projects.linpro.no
Mon May 21 18:59:45 CEST 2007


#106: Varnish does not compile on OpenBSD.
--------------------+-------------------------------------------------------
 Reporter:  brad    |       Owner:  des          
     Type:  defect  |      Status:  new          
 Priority:  normal  |   Milestone:  Varnish 1.0.4
Component:  build   |     Version:  1.0          
 Severity:  major   |    Keywords:               
--------------------+-------------------------------------------------------
 Varnish 1.0.3/1.0.4 currently do not compile nor run on OpenBSD.

 I have patches here which allow Varnish to at least compile on
 OpenBSD.

 http://comstyle.com/varnish/patches/

 I have a patch here to add the missing support for kqueue timers
 via the EVFILT_TIMER kqueue filter.

 http://comstyle.com/varnish/kqueue.diff

 But Varnish still does not work. The first time I attempted to
 start Varnish with no debugging enabled it was doing something
 as my HD was thrashing like crazy and my laptop become completely
 unresponsive for a minute or so and then I assume varnish died. I
 then attempted to start Varnish again with debugging enabled and
 I receive this assertion error.
 {{{
 $ sudo varnishd -b 62.119.71.159:80 -d
 file /tmp/varnish.x16588 (unlinked) size 303706112 bytes (148294 fs-
 blocks, 74147 pages)
 Using old SHMFILE
 Assert error in DebugStunt(), varnishd.c line 311:
   Condition(dup2(pipes[0][1], 3) == 3) not true.
   errno = 9 (Bad file descriptor)
 Abort trap (core dumped)
 }}}

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


More information about the varnish-bugs mailing list