As of late, my server is not coming up anymore. I already stripped all from *_wsgi.py to make sure no code issue is in the way, but that did not help. Server starts up fine until this, then reboots every ~45s:
2016-12-28 10:22:41 *** uWSGI is running in multiple interpreter mode ***
2016-12-28 10:22:41 spawned uWSGI master process (pid: 17646)
2016-12-28 10:22:41 fork(): Resource temporarily unavailable [core/master_utils.c line 724]
2016-12-28 10:22:41 metrics collector thread started
2016-12-28 10:22:41 pthread_create(): Resource temporarily unavailable [core/utils.c line 3785]
2016-12-28 10:22:41 !!! unable to spawn stats pusher thread !!!
2016-12-28 10:22:41 chdir(): No such file or directory [core/uwsgi.c line 1541]
2016-12-28 10:22:41 VACUUM: unix socket /var/sockets/tomtom101.pythonanywhere.com/socket removed.
I thought I had nailed the problem when I run _wsgi.py in the console when it warned my about a UTF8 char w/o having defined encoding (all true). The error went away after I declared the encoding, but the server still keeps restarting. Maybe it still did not recover from that?
Thanks! t