On Jul 1, 6:57 pm, 名字太长躲在树后容易被发现:D浪子 <[email protected]> wrote: > Dear sirs: > I'm using memcache to store millions of key-value pairs.But,when i use > the command "stats cachedump slabid" to dump all the key-value ,it works at > beginning,but that stops after 50,000 pairs dumped.I looked through the > source code (memcache.c,stats.c) ,found this,"unsigned int memlimit = 20 * > 1024 * 1024; /* 2MB max response size */" .So,this causes the result.In > order to dump more,i have to assign more space for the buffer ,set memlimit > for more.But,this way does not come up to expectations.An ideal way is > molloc space dynamically, but i failded to do this .So i write mail for > help~ Thanks a lot.
This mechanism should probably be removed from the server. It's not recommended anyone use it for anything other than doing a minor sample on a non-production server. It can't get everything and we won't be doing work to make it so that it can.
