Hi all, Greetings! This is my 1st post, so please be 'patient' :) I have a pyramid application, and run perfectly in Gunicorn - Nginx environment with single worker. Just recently, I tempted to maximize my machine usage by increasing worker process to 3:
gunicorn -w3 --bind 0.0.0.0:5000 --paste my-app.ini -k meinheld.gmeinheld.MeinheldWorker and the problem started: Sessions is not 'replicated' between workers, even if I'm using database: session.type=ext:database session.secret=something_secret session.cookie_expires=true session.key=always_a_key session.url=mydb_url session.timeout=3000 Yes, I'm using pyramid_beaker for session and cache, I even tried with cookie - same issue... So if one user loginned, and the page refresh 'sometimes' it's not treated as authenticated, but another refresh this user is authenticated Which part I missed? Anyway I'm using Python 3.4.x in CentOS 7 machine Thank you and best regards, Desson -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
