epoll && linux 2.6

Iliya Sharov isharov at yandex-team.ru
Tue Jan 27 22:55:17 CET 2009


Hello,

I have varnishd 2.0.1 in Debian Etch (2.6.22, 2.6.26 kernel)
I'm very strange, it doesn't useing epoll. 
That's the output of my configure and strace:

checking for epoll_ctl... yes
checking for poll... yes

writev(14, [{"200 19      \n", 13}, {"PONG 1233093165 1.0", 19}, {"\n", 1}], 3) = 33
poll([{fd=11, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(11, "ping\n", 8191)

In varnishlog -i "Debug" output i see 
Debug        - "Acceptor is epoll"

but really epoll don't enabled :(

With best regards,
Iliya





More information about the varnish-misc mailing list