Hi, That was totally what the problem was - I was wrongly assuming that curr_items was after expired items had been removed... many thanks for your help.
Kevin Dustin wrote: > On Sep 7, 8:17 am, Kevin <[email protected]> wrote: > > Hi, > > > > I'm having trouble getting the flush_all command to work. I'm running > > a freshly-compiled 1.4.1, which I've pre-filled with a few items. I > > then run this from a bash prompt: > > > > (echo stats ; echo flush_all ; sleep 1 ; echo stats ; echo quit) | nc > > localhost 11211 | grep curr_items > > > > and I get this in response: > > > > STAT curr_items 5 > > STAT curr_items 5 > > > > I think that the second curr_items should be zero? I've seen this on > > a few machines running 1.2.2, and on this machine running 1.4.1. I've > > searched the mail archives, and haven't found anything specifically - > > can you see something which I'm doing wrong? I'm just trying to > > invalidate the whole cache in one go. > > Items disappear lazily. You can't actually fetch the items can you?
