memcached and epoll

eon webmaster at
Thu May 5 11:45:25 PDT 2005


I am having some trouble getting memcached to run with epoll.  I have located my epoll header file at /usr/include/sys/epoll.h and when I build libevent (1.0e) all of the messages seem to indicate that it is finding epoll.  Quoting from the libevent configure:

checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes

However when I run: EVENT_SHOW_METHOD=1 ./memcached

I get the following message:  

[warn] epoll_create: Function not implemented
[msg] libevent using: poll

I am using memcached 1.1.12. 

Any advice would be greatly appreciated!


  ----- Original Message From: eon 
  To: memcached at 
  Sent: Monday, May 02, 2005 4:35 PM
  Subject: Pushing out old data with new data?


  Suppose I have limited my memcached memory space to 1GB and that it is full, with, say, 25% of it's keys having past
  their expiry.

  When a request to add a new key is made, will an out of memory error be reached or will more space be made by
  eliminating some of the expired data?

  If not, that might be something to consider.  :)

  Thanks again for your time and for making such an awesome piece of software!


-------------- next part --------------
An HTML attachment was scrubbed...

More information about the memcached mailing list