Hi Dave, On Thu, Jan 8, 2015 at 3:54 PM, Dave Humphrey dave@uesp.net wrote:
We have a similar setup using Squid instead of haproxy and have the PHP session path set to a shared NFS folder. That way you won't get "session lost" errors if you switch servers from one page load to another. Another option would be to set $wgSessionsInObjectCache to true ( http://www.mediawiki.org/wiki/Manual:$wgSessionsInObjectCache) and have the sessions stored in the object cache, assuming you have a shared cache setup between the servers.
Setting the $wgSessionsInObjectCache to true works because we share a mysql server between the apache servers.
Thanks! I would rather not move the loadbalancer to squid because we have already lots of vhosts using it and having squid would be ... confusing.
Thanks again.
-- Groeten, natxo