| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Fixed memcached-tool to send a proper 'stats cachedump' message during
the dump command. It had 1 too many arguments.
|
|
|
|
|
| |
Added 'dump' command info and more info about the 'move' command and
slabs reassign to the memcached-tool usage string.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
provided by Dan Christian <dchristian@google.com>
git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@623 b0b603af-a30f-0410-a34e-baf09ae79d0b
|
|
|
|
| |
git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@578 b0b603af-a30f-0410-a34e-baf09ae79d0b
|
|
|
|
| |
git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@543 b0b603af-a30f-0410-a34e-baf09ae79d0b
|
|
|
|
| |
git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@502 b0b603af-a30f-0410-a34e-baf09ae79d0b
|
|
|
|
| |
git-svn-id: http://code.sixapart.com/svn/memcached/trunk@213 b0b603af-a30f-0410-a34e-baf09ae79d0b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
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
|