This project is archived and is in readonly mode.
Urgent: Session drops in rails 2.3.2
-
Andy Watts
I've seen similar behavior.
My favorite candidate servers sharing a common socket to memcache.
http://www.modrails.com/documentation/Users%20guide%20Apache.html#_...
I think changing passenger to use the 'conservative' spawn method has fixed it for me, but not 100%. -
Ben Marini
Also remember that memcached is not a reliable session store as it removes old data when it runs out of space. From wikipedia:
"Memcached's APIs provides a giant hash table distributed across multiple machines. When the table is full, subsequent inserts cause older data to be purged in least recently used (LRU) order."
This would explain your situation, especially as you say the problem increases with the traffic.
-
Rohit Arondekar
- State changed from new to stale
- Importance changed from to
Marking ticket as stale. If this is still an issue please leave a comment with suggested changes, creating a patch with tests, rebasing an existing patch or just confirming the issue on a latest release or master/branches.