名字太长躲在树后容易被发现:D浪子
unread,Jul 1, 2009, 9:57:46 PM7/1/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to memc...@googlegroups.com
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.
Sincerely yours (memcache user from China)