memcache on multiple servers

Just Marc marc at corky.net
Tue May 6 18:44:05 UTC 2008


You're trying to connect to 192.168.100.180 while your memcached only 
listens on localhost... no wonder it fails. Either always connect to 
127.0.0.1 or change the IP on which memcached listens.


Yael Goldberg wrote:
>
> Thank you for your reply!
>
> I changed the save_path for all 6 servers to be just one server (to 
> test): session.save_path = "tcp://192.168.100.180:11211" but now I am 
> getting an error “session_destroy() [function.session-destroy 
> <http://alt.kidbiz3000.com/util/function.session-destroy>]: Session 
> object destruction failed in …”
>
> I checked that memcached deamon is running:
>
> netstat -an | grep 11211
>
> tcp 0 0 127.0.0.1:11211 0.0.0.0:* LISTEN
>
> udp 0 0 127.0.0.1:11211 0.0.0.0:*
>
> This was the command used to run the memcached daemon on all 6 servers:
>
> /usr/local/bin/memcached -d -l 127.0.0.1 -m 1024 -p 11211 -u nobody
>
> What does this mean: consistent node distribution mechanism
>
> I really appreciate any help you can give me.
>
> Thank you,
>
> Yael Goldberg
>



More information about the memcached mailing list