Also, the only way I've been able to successfully flush it is with:

sudo echo 'flush_all' | nc localhost 11211

which produces the following output:

<12 new client connection
<12 flush_all
>12 OK
<12 connection closed.

Almost the same as the other output except without the 0 after
"flush_all"



On Sep 4, 4:14 pm, Benjamin Lim <[email protected]> wrote:
> I'm don't seem to be able to delete anything from memcached on my
> Rails app.
>
> I have a rake task that I'm using to flush memcached when I want to
> clear everything out and in the logs I see this when I invoke it:
>
> <9 new client connection
> <9 flush_all 0>9 OK
>
> <9 connection closed.
>
> However, I'll hit a page that had previously been cached and it's
> still cached. Any help with this would be great.
>
> Btw, it works fine on my local machine but not on the server that was
> put together usinghttp://ec2onrails.rubyforge.org/with Rails 2.3.2
> and memcache-client gem version 1.7.2.

Reply via email to