I received a CLIENT ERROR from memcached_dump(),
if (rc != MEMCACHED_SUCCESS)
{
fprintf(stderr, "memdump: memcache error %s", memcached_strerror(memc, rc));
What does it suggest?
On Tuesday, February 26, 2013 4:55:36 PM UTC+8, Aaron Lewis wrote:
>
> Hi,
>
> I'm using a simple lua program to do a batch insert, the expire time of
> each item was set to 86400 seconds, which won't get expired for the whole
> day.
>
> Right now I have 1,000,000 curr_items, but if I dump them with
> memcached-tools, and grep for '^add', I got only 27235 items
>
> %> memcached-tool 127.0.0.1:11211 display
> # Item_Size Max_age Pages Count Full? Evicted Evict_Time OOM
> 8 480B 4s 464 1012907 no 0 0 0
>
> %> memcached-tool 127.0.0.1:11211 dump | grep ^add -c
>
>
> Dumping memcache contents
> Number of buckets: 1
> Number of items : 1012907
> Dumping bucket 8 - 1012907 total items
> 27235
>
> %> memcached-tool 127.0.0.1:11211 stats | egrep '(curr|bytes)'
> bytes 447704894
> bytes_read 407765187
> bytes_written 78574999
> curr_connections 10
> curr_items 1012907
> limit_maxbytes 2147483648
>
>
>
--
---
You received this message because you are subscribed to the Google Groups
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.