varnish 1.1.2 not use epoll in kernel 2.6

mingdawang wangmd0127 at gmail.com
Fri Dec 21 03:47:28 CET 2007


Hello:
   I have installed varnish-1.1.2 for testing,but I found a strange problem,
I installed varnish with steps as followed:

                ./configure --prefix=/home/Varnish/
                make
                make install

   I saw information when I configured:
                checking for strvisx... no
                checking for daemon... yes
                checking for kqueue... no
                checking for epoll_ctl... yes
                checking for poll... yes
                checking whether SO_RCVTIMEO works... yes

   After I started  varnish,I used strace to trace it, then I found varnish
didn't use epoll at all:

                writev(9, [{"200 15      \n", 13}, {"PONG 1198165652", 15},
{"\n", 1}], 3) = 29
                poll([{fd=10, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
                read(10, "ping\n", 4096)                = 5
                time(NULL)                              = 1198165655
                writev(9, [{"200 15      \n", 13}, {"PONG 1198165655", 15},
{"\n", 1}], 3) = 29
                poll([{fd=10, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
                read(10, "ping\n", 4096)                = 5
                time(NULL)                              = 1198165658

   my os is Red hat AS4.4 with kernel 2.6.9-42.ELsmp , how to make epoll to
work in varnish?
   Thank you very much!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20071221/a9b6ad31/attachment-0001.html>


More information about the varnish-misc mailing list