I am sorry, I added some printfs in the source code. That is my modification. Help me , thank you. On Wed, Jul 20, 2011 at 5:19 PM, Trond Norbye <[email protected]>wrote:
> > On 20. juli 2011, at 11.02, tony Cui wrote: > > Hi Everyone, > I had a problem. It started like this.I modified the > memcached source, when memcached runs out of memory, it tries to remove some > old items to make more space, > I found the method named do_slabs_alloc in the slabs.c, I made a tag in the > method. > STAT bytes_written 512818 > STAT limit_maxbytes 12582912 > When I write 512,818bytes, it shows memory is out. > Why ? > > > It's hard to answer that when you say you've modified the source, but don't > show us the modifications... > > CHeers, > > Trond > > > -- Best Regards Tony Cui
