Hi all, greetings! This is maybe my 1st post (I post this before, somehow I can't see it in the group - sorry if duplicates)
I has a pyramid application running in gunicorn - nginx combination, and I'm using pyramid_beaker for cache and session This is my setting in production: cache.type = memory cache.short.expire = 1800 cache.medium.expire = 7200 cache.long.expire = 86400 session.type = file session.key = auth session.httponly = true session.data_dir = %(here)s/data/sessions/data session.lock_dir = %(here)s/data/sessions/lock As part of scaling assesment (and I also the needs to (fully) utilize the machine), I increase the number of worker and run: ?> gunicorn -w3 --bind 0.0.0.0:5000 --paste my_production.ini -k meinheld.gmeinheld.MeinheldWorker But after that the application start to have strange behavior. After user authenticated, the next refresh he is back not authenticated, but maybe next refresh he is authenticated again. I think this is because of the worker... I tried to change the session type to ext:database, but the same error happen. What I missed? Thank you and best regards (And sorry again if it's really double posting) -- 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.
