Skip to content
memcached development tree
C Perl DTrace Other
Latest commit 6b65e45 Nov 19, 2015 @jbergstroem jbergstroem committed with dormando Automake improvements
- avoid initializing the gnu stack (foreign)
- make memcached easier to cross-compile
Failed to load latest commit information.
devtools whitespace fix for freebsd Jul 29, 2012
doc try harder to save items Nov 18, 2015
m4 Backporting AC_PROG_CC_C99 macro for redhat. Feb 20, 2010
scripts add man page for memcached-tool Nov 18, 2015
t make slab reassign tests more reliable Nov 19, 2015
.gitignore add vim swap file to .gitignore and t/whitespace.t's exempt list Dec 31, 2014
.shipit Checking in changes prior to tagging of version 1.2.4. Changelog diff… Dec 6, 2007
AUTHORS autoconf/automake support from evan Jun 14, 2003
BUILD better build instructions Jul 31, 2003
CONTRIBUTING Add links to Mar 20, 2010
COPYING add a duplicate of the LICENSE file so GNU automake doesn't assume it… Aug 6, 2004
ChangeLog fix typos Dec 31, 2014
Doxyfile fix typos Jan 1, 2015
HACKING Add links to Mar 20, 2010
LICENSE change from GPL to BSD. Jun 15, 2003 Make hash table algorithm selectable Apr 16, 2014
NEWS -> in a few spots. Apr 29, 2014 Use Markdown for README. Jul 29, 2012
assoc.c basic lock around hash_items counter Feb 6, 2015
assoc.h use item lock instead of global lock when hash expanding. Dec 26, 2014 fix warning and use system automake Nov 18, 2015
cache.c totally destroy test caches Jul 29, 2012
cache.h Added documentation on the cache interface Apr 17, 2009 Automake improvements Nov 19, 2015
daemon.c Build fixes for ubuntu 8.10/64. Jan 20, 2009
globals.c slab reassignment Dec 19, 2011
hash.c Make hash table algorithm selectable Apr 17, 2014
hash.h Make hash table algorithm selectable Apr 17, 2014
items.c 'lru_crawler enable' blocks until ready Nov 19, 2015
items.h first half of new slab automover Nov 18, 2015
jenkins_hash.c fix typos Jan 1, 2015
jenkins_hash.h Make hash table algorithm selectable Apr 17, 2014
memcached.c try harder to save items Nov 19, 2015
memcached.h try harder to save items Nov 19, 2015 -> in a few spots. Apr 30, 2014
memcached_dtrace.d Define touch command probe for DTrace support Jul 29, 2012
murmur3_hash.c fix typos Jan 1, 2015
murmur3_hash.h Make hash table algorithm selectable Apr 17, 2014
protocol_binary.h fix typos Jan 1, 2015
sasl_defs.c fix enable-sasl-pwdb Sep 18, 2012
sasl_defs.h Specify hostname in sasl_server_new. Jan 27, 2012
sizes.c Created a tool to show us the sizes of various data structures. Mar 10, 2009
slabs.c fix over-inflation of total_malloced Nov 18, 2015
slabs.h try harder to save items Nov 19, 2015
solaris_priv.c Remove compilation errors from gcc on Solaris Aug 22, 2009
stats.c Make hash table algorithm selectable Apr 17, 2014
stats.h stats_prefix_* should not assume that all keys are zero-terminated Jan 3, 2009
testapp.c gatkq: return key in response Dec 31, 2014
thread.c Setting the pthread id of the LIBEVENT_THREAD on thread creation. Nov 18, 2015
timedrun.c bug237: Don't compute incorrect argc for timedrun Jan 11, 2012
trace.h Backport binary TOUCH/GAT/GATQ commands Sep 27, 2011
util.c Issue 221: Increment treats leading spaces as 0 Sep 3, 2011
util.h Issue: #83: Refactor: use htonll or ntohll if the os provides them Sep 2, 2009 Make autoversioning/spec gen work better. Nov 2, 2009 Generate the memcached.spec along with the version number. Aug 29, 2009





If using Linux, you need a kernel with epoll. Sure, libevent will work with normal select, but it sucks.

epoll isn't in Linux 2.4, but there's a backport at:

You want the epoll-lt patch (level-triggered).

Mac OS X

If you're using MacOS, you'll want libevent 1.1 or higher to deal with a kqueue bug.

Also, be warned that the -k (mlockall) option to memcached might be dangerous when using a large cache. Just make sure the memcached machines don't swap. memcached does non-blocking network I/O, but not disk. (it should never go to disk, or you've lost the whole point of it)



Want to contribute? Up-to-date pointers should be at:

Something went wrong with that request. Please try again.