Skip to content


Subversion checkout URL

You can clone with
Download ZIP
memcached development tree
C Perl DTrace Other
1 comment

stop clang from whining about asserts

we now use up to exactly clsid 255, which is the max size of a byte so the
assertion can't fail.
latest commit f0358c023e
@dormando dormando authored
Failed to load latest commit information.
devtools whitespace fix for freebsd
doc Make LRU crawler work from maint thread.
m4 Backporting AC_PROG_CC_C99 macro for redhat.
scripts Implement settings and sizes stats. Show information about empty slabs.
t relax timing glitch in the lru maintainer test
.gitignore add vim swap file to .gitignore and t/whitespace.t's exempt list
.shipit Checking in changes prior to tagging of version 1.2.4. Changelog diff…
AUTHORS autoconf/automake support from evan
BUILD better build instructions
COPYING add a duplicate of the LICENSE file so GNU automake doesn't assume it…
ChangeLog fix typos
Doxyfile fix typos
HACKING Add links to
LICENSE change from GPL to BSD. Make hash table algorithm selectable
NEWS -> in a few spots. Use Markdown for README.
assoc.c basic lock around hash_items counter
assoc.h use item lock instead of global lock when hash expanding. Added support for automake 1.13 & 1.14
cache.c totally destroy test caches
cache.h Added documentation on the cache interface Reworked C-alignment check to be clear-as-day.
daemon.c Build fixes for ubuntu 8.10/64.
globals.c slab reassignment
hash.c Make hash table algorithm selectable
hash.h Make hash table algorithm selectable
items.c stop clang from whining about asserts
items.h ding-dong the cache_lock is dead.
jenkins_hash.c fix typos
jenkins_hash.h Make hash table algorithm selectable
memcached.c fix off-by-one with slab management
memcached.h fix major off by one issue -> in a few spots.
memcached_dtrace.d Define touch command probe for DTrace support
murmur3_hash.c fix typos
murmur3_hash.h Make hash table algorithm selectable
protocol_binary.h fix typos
sasl_defs.c fix enable-sasl-pwdb
sasl_defs.h Specify hostname in sasl_server_new.
sizes.c Created a tool to show us the sizes of various data structures.
slabs.c fix off-by-one with slab management
slabs.h direct reclaim mode for evictions
solaris_priv.c Remove compilation errors from gcc on Solaris
stats.c Make hash table algorithm selectable
stats.h stats_prefix_* should not assume that all keys are zero-terminated
testapp.c gatkq: return key in response
thread.c ding-dong the cache_lock is dead.
timedrun.c bug237: Don't compute incorrect argc for timedrun
trace.h Backport binary TOUCH/GAT/GATQ commands
util.c Issue 221: Increment treats leading spaces as 0
util.h Issue: #83: Refactor: use htonll or ntohll if the os provides them Make autoversioning/spec gen work better. Generate the memcached.spec along with the version number.





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.