Hi , it seems I have also some issue related to python or django. Currently running with py3.4.3 and django 1.8.12 and nginx. After 2 or 3 days after server is launched in daemon mode (DJANGO_SETTINGS_MODULE=ralph.settings.local ralph runserver 0.0.0.0:8000 & ) I start getting 502 (Bad gateway) in the web browser. 'ps' says the process is alive. After restart everything is back to normal. Then after another 2, 3 days .....Do you know what might be the problem?