Thu, 19 Feb 2004 15:46:17 -0500
Never mind - problem solved.
Gentoo doesn't automatically update the headers in /usr/include/linux to
match the current kernel, so I was still running 2.4 headers with the 2.6
kernel (I'm surprised more things didn't break).
After I emerged linux-headers-2.6.1 and re-emerging libevent and memcached,
it started using epoll.
[mailto:email@example.com] On Behalf Of Anatoly Vorobey
Sent: Thursday, February 19, 2004 1:29 PM
Subject: Re: epoll
On Thu, Feb 19, 2004 at 11:59:56AM -0500, Justin Matlock wrote:
> Is there anyway to easily tell if memcached is actually using epoll?
Yes, run it with EVENT_SHOW_METHOD set in the environment:
$ EVENT_SHOW_METHOD=1 ./memcached
It'll print the method used, whether epoll or anything else.