Think we worked this out on IRC, there was some thing running flush_all
over and over on his server.

On Fri, 21 Jan 2011, Ivan wrote:

> Hello,
>
> i have memcached 1.4.5 on Centos 5.5, my sets seem to expire (no
> matter what i put as expire time, infinite or 5mins 1 hour etc) after
> few seconds and my cache is not full
> its not code problem since i've retested it with most basic example
> like this ->
> "<?php
> $memcache_obj = new Memcache;
> $memcache_obj->connect('127.0.0.1', 11211);
> if ($memcache_obj->get('time') == "") {
>         $date = date("H:i:s");
>         $memcache_obj->set('time', $date, MEMCACHE_COMPRESSED, ');
> }
> echo "At ".date("H:i:s").", your key is ".$memcache_obj->get('time');
> ?> "
> Also restarting memcached didn't help.
>

Reply via email to