Finding keys never expiring

2008-09-17 Thread dantro
hi memcache friends does anyone know how to find keys which are set at expire=0. how can i find keys which were not used for a long time and are set at expire=0 ? i just want to know this, as i want to check if i have an error in setting and deleting keys. just imagine you write a key-value pair

Re: Finding keys never expiring

2008-09-17 Thread Brian Moon
dantro wrote: hi memcache friends does anyone know how to find keys which are set at expire=0. how can i find keys which were not used for a long time and are set at expire=0 ? i just want to know this, as i want to check if i have an error in setting and deleting keys. just imagine you write a

Re: Finding keys never expiring

2008-09-17 Thread Dustin
I make pretty good use out of expire=0 in one of my apps. Of course, the key is computed... In general, though, I've also been a bit scared to put indefinite limits on things that can be cached indefinitely. There's correctness and there's bugs. :/ On Sep 17, 8:31 am, Brian Moon <[EMAIL

Re: Finding keys never expiring

2008-12-01 Thread Evan Weaver
I have a tool to do this on Linux. It pauses the server though, so it is not quite ready for a normal production environment. http://github.com/fauna/peep/tree/master Evan On Wed, Sep 17, 2008 at 9:47 AM, Dustin <[EMAIL PROTECTED]> wrote: > > > I make pretty good use out of expire=0 in one of