reclaims are good, evictions are bad On Thu, 4 Nov 2010, Kate Wang wrote:
> We are experiencing high reclaims instead of evictions. Could slab > distribution shift cause that as well? > > If the slab distribution shifted could cause high eviction rate, what's the > best way to fix it or avoid it? > > Thanks! > > On Thu, Nov 4, 2010 at 5:52 PM, Mikael Fridh <fri...@gmail.com> wrote: > On Nov 4, 6:32 pm, rahul_kcle <vishnudee...@gmail.com> wrote: > > > > From last 2 weeks i am seeing evictions happening on our memcached > > boxes even though there is lot of memory left . Here are the stats > > from memcached > > > > STAT bytes_read 434627188758 > > STAT bytes_written 357821569260 > > STAT limit_maxbytes 23622320128 > > STAT accepting_conns 1 > > STAT listen_disabled_num 0 > > STAT threads 5 > > STAT conn_yields 0 > > STAT bytes 14573115225 > > STAT curr_items 1853350 > > STAT total_items 66439158 > > STAT evictions 7000591 > > > > Bytes is much lessser than limit_maxbytes. > > See stats slabs, possibly your slab distribution profile have shifted > over time. > > Mikael > > > >