Hi,

I'm using curr_items statistics. I have an memcached counter to know
how many users are online, the problem is that after 20 min objects
are removed from cache, and the counter decreses for each remove. I
don't know why this is happenning, could you have some clue? Thanks
for your reply.

On Mar 12, 9:12 pm, Matt Ingenthron <[email protected]> wrote:
> Hi,
>
>
>
>
>
> Alexandre Ladeira wrote:
> > I'm using memcached to store these data:
> > - user object - an java object consisting of username, password,
> > city...;
> > - user status info;
> > - counter,
>
> > so for every user login, I will make three memcached put operation.
> > After making 10.000 logins, I have these stats via memcached stats:
> > bytes - ~1Mb
> > counter - 9980, as this is an stress test, the server doesn't reply to
> > every request.
>
> > The problem is that after 20 min, memcached deleted all login info -
> > counter decresed to 0, even if I set the expire time (example: 3600 or
> > 60*60*24*29 or 0). Have you ever faced a problem like that?
>
> I don't think we've had any reports of things disappearing without any
> load going on.  What are you referring to with "counter" decreasing to
> 0?  Are you referring to the curr_items or total_items statistics?
>
> - Matt

Reply via email to