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!
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to