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