On Wed, Apr 30, 2008 at 2:16 AM, Miguel DeAvila <[EMAIL PROTECTED]>
wrote:

> On Tuesday 29 April 2008 03:48:41 老邪 wrote:
> > yah, i have 1.2.5 now. and the stats part showing
> >
> > STAT evictions 8719397
> >
> > what does it mean though??
>
> It means that valid items are being removed from the cache in order to
> make room for new items.
> See
>
>
> http://code.sixapart.com/svn/memcached/trunk/server/doc/protocol.txt
>
> (Search for 'evictions' in the 'General-purpose statistics' section.)
>
> In a perfect world there are 0 evictions, though that's not been the case
> for me in practice.
> You really need to look at the number of evictions in relation to the
> number of 'set' operations.
> If the evictions are a small percentage (< 5%) then you might want to just
> ignore it.
>
> On the other hand, if you want to reduce the number of evictions then you
> may want to
>
>  - check your TTLs and see if there are some items that can have a smaller
> TTL
>  - add more memory to your memcache cluster (by allocating more memory to
> your existing
> servers or adding more servers).
>
> Miguel
>
>
>
thanks alot!!!!!  Miguel~

Reply via email to