Redmine on uWSGI forgets sessions

view full story

http://serverfault.com – When I log in into redmine it forgets that I was logged after first click on any link or immediately after log in. After I refresh the page a few times, I am still logged in in some of this refereshes. This reminded me of the situation where you have multiple nodes behind a load balancer and they don't share the same sessions storage. I decreased the number of uWSGI processes to 1 and voila - it works as expected. It's strange because supposedly redmine stores its session in cookies now, so no shared storage is needed. I would like to have more processes for performance. And I'm simply c (HowTos)