[Varnish] #301: varnish 1.1.2 freebsd 6.2 out of the box dies on startup - vca_kqueue_init() pthread_create cannot allocate memory

Varnish varnish-bugs at projects.linpro.no
Wed Aug 27 01:25:34 CEST 2008


#301: varnish 1.1.2 freebsd 6.2 out of the box dies on startup -
vca_kqueue_init() pthread_create cannot allocate memory
--------------------------------+-------------------------------------------
 Reporter:  GregoryOfManhattan  |       Owner:  des  
     Type:  defect              |      Status:  new  
 Priority:  normal              |   Milestone:       
Component:  build               |     Version:  trunk
 Severity:  normal              |    Keywords:       
--------------------------------+-------------------------------------------
 clean build from current ports, out of the box commands show it just dies.

 {{{

 /usr/local/sbin/varnishd  -F -a :6081 -T localhost:6082
 -f/usr/local/etc/varnish/default.vcl -sfile,/tmp
 Info: (-sfile) default to 80% size
 NB: Limiting size to 2GB on 32 bit architecture to prevent running out of
 address space.  Specifiy explicit size to override.
 file /tmp/varnish.Mf2Ov4 (unlinked) size 2147467264 bytes (131071 fs-
 blocks, 524284 pages)
 Using old SHMFILE
 socket(): Protocol not supported
 rolling(1)...
 rolling(2)...
 start child pid 90498
 Pushing vcls failed:
 CLI communication error
 Child said (1, 90498): <<Child starts
 managed to mmap 1460916224 bytes of 2147467264
 Ready
 CLI ready
 Assert error in vca_kqueue_init(), cache_acceptor_kqueue.c line 184:
   Condition((pthread_create(&vca_kqueue_thread, ((void *)0),
 vca_kqueue_main, ((void *)0))) == 0) not true.
   errno = 12 (Cannot allocate memory)
 >>
 unlink ./bin.AMGTyDi2
 }}}

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


More information about the varnish-bugs mailing list