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() [
<http://alt.kidbiz3000.com/util/function.session-destroy>
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

 

  _____  

From: Dustin Sallings [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 06, 2008 12:43 PM
To: Yael Goldberg
Cc: memcached@lists.danga.com
Subject: Re: memcache on multiple servers

 

 

On May 6, 2008, at 8:57, Yael Goldberg wrote:





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? 

 

            You need to take localhost out of that list.  All servers need
to have the exact same configuration pointing to the same machines in the
same order.

 

            Even if you're using a consistent node distribution mechanism,
adding localhost means each one will treat a particular subset of your keys
differently.

 


-- 

Dustin Sallings

 


-- 
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply via email to