[Django]-UWSGI processes lose Django sessions

2👍

by default, django stores sessions in database, so your problem is most likely due to this bug: https://code.djangoproject.com/ticket/20537

consider updating to uwsgi >= 1.2.6

3👍

Have you checked your SESSION_ENGINE ? for example if you set it to use the django caching and set it to locmem:// you will have this kind of problems

Another (possible even if hard to happen) problem (if you are in –lazy/–lazy-apps mode) could be a process with an old copy of the code, have you tried reloading the whole instance ?

Leave a comment