[Mongrel] Mongrel and MemcacheSessionStore
tmacedo at student.dei.uc.pt
Fri Feb 2 09:43:29 EST 2007
-----BEGIN PGP SIGNED MESSAGE-----
I've been using Mongrel for quite some time now but I ran into an issue
that threw me back to lighttpd + fastcgi.
The application in question was running fine in the production
environment with SQLSessionStore and using a mongrel cluster behind a
load balancer. However, by switching to a MemcacheSessionStore (using
either memcache-client or Ruby-MemCache), users kept being logged out
due to the fact that the processes lost their connection to the memcache
server (they reconnected but the users were already "logged out").
The funny thing is that this behaviour didn't occur if only one mongrel
process was running.
This was using mongrel 0.3.13.4 without fastthread. Switching the
application back to fastcgi solved the problem.
I was wondering if this was a known issue or if anyone else had this
problem before. Maybe switching to Mongrel 1.0.1 with fastthread solves
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Mongrel-users