You can't start the daemon on 127.0.0.1 and try to connect to it on the real ip address.
If the machine is 192.168.100.181, use /usr/local/bin/memcached -d -l 192.168.100.181 -m 1024 -p 11211 -u nobody On Tue, May 6, 2008 at 3:57 PM, Yael Goldberg <[EMAIL PROTECTED]> wrote: > Hello! > > > > Can you please help me set up memcache load balanced on multiple servers? > > > > Here is my issue: > > > > I am trying to set up memcache sessions on multiple servers – Linux 2.6 – > PHP 4.4.8, and it is not working as expected. I installed memcached and > memcache on 6 web servers, and I ran the deamon on each web server: > /usr/local/bin/memcached -d -l 127.0.0.1 -m 1024 -p 11211 -u nobody. > > > > In PHP.ini: > > > > extension=memcache.so > > session.save_handler = memcache > > session.save_path = "tcp://localhost:11211, tcp://192.168.100.181:11211, > tcp://192.168.100.182:11211, tcp://192.168.100.183:11211, tcp:// > 192.168.100.184:11211, tcp://192.168.100.185:11211" > > > > When I log into each individual web server, I can browse using memcache > sessions. But when I go to the load balancer, the sessions aren't > persisting when I browse from page to page. Do you know what I am doing > wrong? Am I missing a step? > > > > Thank you very much in advance! > > > > Yael Goldberg > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. -- "Be excellent to each other"
