Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jan 4, 2012
  1. @dormando

    no same-class reassignment, better errors

    dormando authored
    Add human parseable strings to the errors for slabs ressign. Also prevent
    reassigning memory to the same source and destination.
  2. @dormando

    initial slab automover

    dormando authored
    Enable at startup with -o slab_reassign,slab_automove
    
    Enable or disable at runtime with "slabs automove 1\r\n"
    
    Has many weaknesses. Only pulls from slabs which have had zero recent
    evictions. Is slow, not tunable, etc. Use the scripts/mc_slab_mover example to
    write your own external automover if this doesn't satisfy.
Commits on Oct 17, 2011
  1. @dormando

    Add a systemd service file

    Miklos Vajna authored dormando committed
Commits on Oct 4, 2011
  1. @dormando

    start-memcached writing wrong PID to $pidfile

    Nate authored dormando committed
    after the doublefork was added, the pidfile was now of the intermediary pid,
    not the one forked after setsid.
Commits on Aug 10, 2011
  1. @dormando

    fix memcached-tool to print about all slabs

    dormando authored
    previously hardcoded to 40. now will iterate up through all of them.
  2. @dormando

    Properly daemonize memcached for debian

    Clint Byrum authored dormando committed
    The debianish start script routes the STDERR/STDOUT to make "logfiles", but in
    doing so doesn't break free of the launching session. Patch fixes that.
  3. @dormando

    Allow memcached-init to start multiple instances

    Gordon Franke authored dormando committed
    Patch by Gordon Franke. Whitespace fixes and comments added by Dormando.
    
    There are many better ways to do this, but it doesn't break the default and
    the "status" command never existed. Servers can be started and stopped
    individually, and people seem to like the idea.
Commits on Apr 20, 2010
  1. @jonjensen @dustin

    Allow use of a UNIX socket in addition to INET sockets

    jonjensen authored dustin committed
Commits on Nov 2, 2009
  1. @dormando @dustin

    distribute damemtop

    dormando authored dustin committed
Commits on Oct 29, 2009
  1. @emonty

    Add LSB section to memcached-init script. bug54

    emonty authored Trond Norbye committed
Commits on Oct 7, 2009
  1. @dormando @dustin

    remove old unfinished slab reassignment code

    dormando authored dustin committed
    Old code was unfinished, had no test coverage, and not quite what we'll end up
    with in the future.
    
    Slab reassignment will happen in earnest soon, but for now we should stop
    confusing users.
Commits on Sep 22, 2009
  1. @rtomayko @dustin

    memcached-tool shows: evictions, evict_time, and OOM counts

    rtomayko authored dustin committed
Commits on Sep 14, 2009
  1. @dustin
Commits on Mar 2, 2009
  1. @steveyen

    memcached-tool dump command fixed for expired/evicted/deleted keys

    steveyen authored
    Fixed the memcached-tool 'dump' command to handle the case when
    dumping keys that have expired, evicted or been deleted in the midst
    of the big iteration.  Previously, memcached-tool would just hang in
    these cases.  The memcached-tool uses the results from 'stats
    cachedump' as the keys to iterate through, and will do a 'get' on each
    key.  The 'stats cachedump' implementation, however, does not check
    for expiry, which is debatably the correct thing to do.
  2. @steveyen

    too many args in stats cachedump message

    steveyen authored
    Fixed memcached-tool to send a proper 'stats cachedump' message during
    the dump command.  It had 1 too many arguments.
  3. @steveyen

    more usage info in memcached-tool

    steveyen authored
    Added 'dump' command info and more info about the 'move' command and
    slabs reassign to the memcached-tool usage string.
  4. @steveyen

    memcached-tool move handles CLIENT_ERROR response

    steveyen authored
    The memcached-tool 'move' command fixed to handle CLIENT_ERROR
    response from server, which signals that the server was probably not
    compiled with slab reassignment.
Commits on Oct 5, 2007
  1. Allow memcached-tool dump mode to output keys containing punctuation

    Steven Grimm authored
    The regular expression that was being used to match a cache key was treating
    colons as word breaks, so it couldn't read keys of the form "type:id".
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@628 b0b603af-a30f-0410-a34e-baf09ae79d0b
Commits on Oct 3, 2007
  1. @robodchristian

    The memcached-tool script can now display stats. Patch

    robodchristian authored
    provided by Dan Christian <dchristian@google.com>
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@623 b0b603af-a30f-0410-a34e-baf09ae79d0b
Commits on Jul 4, 2007
  1. use separate directory for pid files

    Paul Lindner authored
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@578 b0b603af-a30f-0410-a34e-baf09ae79d0b
Commits on May 4, 2007
  1. add rpm spec file, new sysv init script

    Paul Lindner authored
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@543 b0b603af-a30f-0410-a34e-baf09ae79d0b
Commits on Apr 12, 2007
  1. add new experimental dump mode

    Paul Lindner authored
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@502 b0b603af-a30f-0410-a34e-baf09ae79d0b
Commits on Jul 16, 2004
  1. @bradfitz

    remove debug

    bradfitz authored
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk@213 b0b603af-a30f-0410-a34e-baf09ae79d0b
  2. @bradfitz

    new memcached tuning tool. observe:

    bradfitz authored
    lj@grimace:~$ memcached-tool.pl
    Usage: memcached-tool <host[:port]> [mode]
    
           memcached-tool 10.0.0.5:11211 display    # shows slabs
           memcached-tool 10.0.0.5:11211            # same.  (default is display)
           memcached-tool 10.0.0.5:11211 move 7 9   # takes 1MB slab from class #7
                                                    # to class #9.
    
    You can only move slabs around once memory is totally allocated, and only
    once the target class is full.  (So you can't move from #6 to #9 and #7
    to #9 at the same itme, since you'd have to wait for #9 to fill from
    the first reassigned page)
    
    lj@grimace:~$ memcached-tool.pl 10.0.0.41:11211
      # Item_Size  Max_age  1MB_pages Full?
      6      64 B  12869 s      82     yes
      7     128 B  12446 s      74     yes
      8     256 B  11069 s      91     yes
      9     512 B  12184 s      54     yes
     10      1 kB  12120 s     106     yes
     11      2 kB  11498 s     181     yes
     12      4 kB  10087 s     189     yes
     13      8 kB   8322 s     124     yes
     14     16 kB   7335 s      69     yes
     15     32 kB   4591 s      31     yes
     16     64 kB   3378 s      17     yes
     17    128 kB  39944 s       6     yes
    
    
    lj@grimace:~$ memcached-tool.pl 10.0.0.41:11211 move 17 16
    Success.
    
    lj@grimace:~$ memcached-tool.pl 10.0.0.41:11211 move 17 16
    Error: can't move from 17 to 16.  Destination not yet full?  See usage docs.
    
    lj@grimace:~$ memcached-tool.pl 10.0.0.41:11211
      # Item_Size  Max_age  1MB_pages Full?
      6      64 B  12687 s      82     yes
      7     128 B  12338 s      74     yes
      8     256 B  10968 s      91     yes
      9     512 B  11950 s      54     yes
     10      1 kB  11931 s     106     yes
     11      2 kB  11421 s     181     yes
     12      4 kB   9986 s     189     yes
     13      8 kB   8356 s     124     yes
     14     16 kB   7240 s      69     yes
     15     32 kB   4584 s      31     yes
     16     64 kB   3257 s      18      no
     17    128 kB  40287 s       5     yes
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk@212 b0b603af-a30f-0410-a34e-baf09ae79d0b
Commits on May 16, 2004
  1. Hey there Brad,

    Jay Bonci authored
            I'm just kicking an update of the newest memcached into the Debian
    archive. You've added a few flags, so the manpage / default conf file
    got updated. Also, start-memcached got a couple of fixes.
    
            If you'd like to look them over and possibly commit them to your tree,
    that'd be great. Attached is the pretty simple diff.
    
            --jay
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk@201 b0b603af-a30f-0410-a34e-baf09ae79d0b
Commits on Dec 30, 2003
  1. @bradfitz

    version 1.1.10:

    bradfitz authored
    2003-12-30 (Brad)
            * remove static build stuff.  interferes with PAM setuid stuff
              and was only included as a possible fix with the old memory
              allocator.  really shouldn't make a difference.
            * release version 1.1.10
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk@176 b0b603af-a30f-0410-a34e-baf09ae79d0b
Something went wrong with that request. Please try again.