[edited by admin: check out this "how to deal with 502 Backend errors" page on our wiki]
My django app is getting this error code, I've tried to reload it but the problem is not solved. It's everything ok in the platform?, is something wrong in my app? how i can know it?
The last log in my server.log are these:
Wed Jan 15 22:41:31 2014 - received message 1 from emperor 2014-01-15 22:41:32 ...gracefully killing workers... 2014-01-15 22:41:32 Gracefully killing worker 2 (pid: 3116)... 2014-01-15 22:41:32 Gracefully killing worker 1 (pid: 3113)... 2014-01-15 22:41:32 Wed Jan 15 22:41:32 2014 - received message 1 from emperor 2014-01-15 22:41:35 worker 2 buried after 4 seconds 2014-01-15 22:41:36 worker 1 buried after 5 seconds 2014-01-15 22:41:36 uWSGI: GAME OVER (insert coin) 2014-01-15 22:41:36 chdir(): No such file or directory [core/uwsgi.c line 1450] 2014-01-15 22:41:36 VACUUM: unix socket /var/sockets/cespar.pythonanywhere.com/socket removed. 2014-01-15 22:41:41 *** Starting uWSGI 1.9.20 (64bit) on [Wed Jan 15 21:41:37 2014] *** 2014-01-15 22:41:41 compiled with version: 4.8.1 on 29 November 2013 16:59:47 2014-01-15 22:41:41 os: Linux-3.11.0-13-generic #20-Ubuntu SMP Wed Oct 23 07:38:26 UTC 2013 2014-01-15 22:41:41 nodename: glenn-liveweb2 2014-01-15 22:41:41 machine: x86_64 2014-01-15 22:41:41 clock source: unix 2014-01-15 22:41:41 detected number of CPU cores: 4 2014-01-15 22:41:41 current working directory: /etc/uwsgi/vassals 2014-01-15 22:41:41 detected binary path: /usr/local/bin/uwsgi 2014-01-15 22:41:41 !!! no internal routing support, rebuild with pcre support !!! 2014-01-15 22:41:41 using Linux cgroup /mnt/cgroups/cpu/user_types/premium with mode 700 2014-01-15 22:41:41 assigned process 5270 to cgroup /mnt/cgroups/cpu/user_types/premium/tasks 2014-01-15 22:41:41 using Linux cgroup /mnt/cgroups/cpuacct/users/cespar with mode 700 2014-01-15 22:41:41 assigned process 5270 to cgroup /mnt/cgroups/cpuacct/users/cespar/tasks 2014-01-15 22:41:41 using Linux cgroup /mnt/cgroups/memory/user_types/premium with mode 700 2014-01-15 22:41:41 assigned process 5270 to cgroup /mnt/cgroups/memory/user_types/premium/tasks 2014-01-15 22:41:41 uWSGI running as root, you can use --uid/--gid/--chroot options 2014-01-15 22:41:41 chroot() to /mnt/chroots/cespar 2014-01-15 22:41:41 setgid() to 60000 2014-01-15 22:41:41 setuid() to 191112 2014-01-15 22:41:41 limiting number of processes to 64... 2014-01-15 22:41:41 your processes number limit is 64 2014-01-15 22:41:41 your memory page size is 4096 bytes 2014-01-15 22:41:41 detected max file descriptor number: 123456 2014-01-15 22:41:41 building mime-types dictionary from file /etc/mime.types... 2014-01-15 22:41:41 536 entry found 2014-01-15 22:41:41 lock engine: pthread robust mutexes 2014-01-15 22:41:41 thunder lock: disabled (you can enable it with --thunder-lock) 2014-01-15 22:41:41 uwsgi socket 0 bound to UNIX address /var/sockets/cespar.pythonanywhere.com/socket fd 7 2014-01-15 22:41:41 Python version: 2.7.5+ (default, Sep 19 2013, 13:52:09) [GCC 4.8.1] 2014-01-15 22:41:41 *** Python threads support is disabled. You can enable it with --enable-threads *** 2014-01-15 22:41:41 Python main interpreter initialized at 0x2232cc0 2014-01-15 22:41:41 your server socket listen backlog is limited to 100 connections 2014-01-15 22:41:41 your mercy for graceful operations on workers is 60 seconds 2014-01-15 22:41:41 setting request body buffering size to 65536 bytes 2014-01-15 22:41:41 mapped 501048 bytes (489 KB) for 2 cores 2014-01-15 22:41:41 *** Operational MODE: preforking *** 2014-01-15 22:41:41 WSGI app 0 (mountpoint='') ready in 4 seconds on interpreter 0x2232cc0 pid: 5270 (default app) 2014-01-15 22:41:41 *** uWSGI is running in multiple interpreter mode *** 2014-01-15 22:41:41 spawned uWSGI master process (pid: 5270) 2014-01-15 22:41:41 spawned uWSGI worker 1 (pid: 5271, cores: 1) 2014-01-15 22:41:41 spawned 2 offload threads for uWSGI worker 1 2014-01-15 22:41:41 spawned uWSGI worker 2 (pid: 5274, cores: 1) 2014-01-15 22:41:41 spawned 2 offload threads for uWSGI worker 2 2014-01-15 22:41:46 announcing my loyalty to the Emperor... 2014-01-15 22:41:46 announcing my loyalty to the Emperor... 2014-01-15 22:51:06 Wed Jan 15 22:51:06 2014 - received message 1 from emperor 2014-01-15 22:51:06 ...gracefully killing workers... 2014-01-15 22:51:06 Gracefully killing worker 1 (pid: 5271)... 2014-01-15 22:51:06 Gracefully killing worker 2 (pid: 5274)... 2014-01-15 22:51:07 worker 1 buried after 1 seconds 2014-01-15 22:51:07 worker 2 buried after 1 seconds 2014-01-15 22:51:07 uWSGI: GAME OVER (insert coin) 2014-01-15 22:51:07 chdir(): No such file or directory [core/uwsgi.c line 1450] 2014-01-15 22:51:07 VACUUM: unix socket /var/sockets/cespar.pythonanywhere.com/socket removed. 2014-01-15 22:51:10 *** Starting uWSGI 1.9.20 (64bit) on [Wed Jan 15 21:51:09 2014] *** 2014-01-15 22:51:10 compiled with version: 4.8.1 on 29 November 2013 16:59:47 2014-01-15 22:51:10 os: Linux-3.11.0-13-generic #20-Ubuntu SMP Wed Oct 23 07:38:26 UTC 2013 2014-01-15 22:51:10 nodename: glenn-liveweb2 2014-01-15 22:51:10 machine: x86_64 2014-01-15 22:51:10 clock source: unix 2014-01-15 22:51:10 detected number of CPU cores: 4 2014-01-15 22:51:10 current working directory: /etc/uwsgi/vassals 2014-01-15 22:51:10 detected binary path: /usr/local/bin/uwsgi 2014-01-15 22:51:10 !!! no internal routing support, rebuild with pcre support !!! 2014-01-15 22:51:10 using Linux cgroup /mnt/cgroups/cpu/user_types/premium with mode 700 2014-01-15 22:51:10 assigned process 5395 to cgroup /mnt/cgroups/cpu/user_types/premium/tasks 2014-01-15 22:51:10 using Linux cgroup /mnt/cgroups/cpuacct/users/cespar with mode 700 2014-01-15 22:51:10 assigned process 5395 to cgroup /mnt/cgroups/cpuacct/users/cespar/tasks 2014-01-15 22:51:10 using Linux cgroup /mnt/cgroups/memory/user_types/premium with mode 700 2014-01-15 22:51:10 assigned process 5395 to cgroup /mnt/cgroups/memory/user_types/premium/tasks 2014-01-15 22:51:10 uWSGI running as root, you can use --uid/--gid/--chroot options 2014-01-15 22:51:10 chroot() to /mnt/chroots/cespar 2014-01-15 22:51:10 setgid() to 60000 2014-01-15 22:51:10 setuid() to 191112 2014-01-15 22:51:10 limiting number of processes to 64... 2014-01-15 22:51:10 your processes number limit is 64 2014-01-15 22:51:10 your memory page size is 4096 bytes 2014-01-15 22:51:10 detected max file descriptor number: 123456 2014-01-15 22:51:10 building mime-types dictionary from file /etc/mime.types... 2014-01-15 22:51:10 536 entry found 2014-01-15 22:51:10 lock engine: pthread robust mutexes 2014-01-15 22:51:10 thunder lock: disabled (you can enable it with --thunder-lock) 2014-01-15 22:51:10 uwsgi socket 0 bound to UNIX address /var/sockets/cespar.pythonanywhere.com/socket fd 7 2014-01-15 22:51:10 Python version: 2.7.5+ (default, Sep 19 2013, 13:52:09) [GCC 4.8.1] 2014-01-15 22:51:10 *** Python threads support is disabled. You can enable it with --enable-threads *** 2014-01-15 22:51:10 Python main interpreter initialized at 0xcf8cc0 2014-01-15 22:51:10 your server socket listen backlog is limited to 100 connections 2014-01-15 22:51:10 your mercy for graceful operations on workers is 60 seconds 2014-01-15 22:51:10 setting request body buffering size to 65536 bytes 2014-01-15 22:51:10 mapped 501048 bytes (489 KB) for 2 cores 2014-01-15 22:51:10 *** Operational MODE: preforking *** 2014-01-15 22:51:10 WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0xcf8cc0 pid: 5395 (default app) 2014-01-15 22:51:10 *** uWSGI is running in multiple interpreter mode *** 2014-01-15 22:51:10 spawned uWSGI master process (pid: 5395) 2014-01-15 22:51:10 spawned uWSGI worker 1 (pid: 5396, cores: 1) 2014-01-15 22:51:10 spawned 2 offload threads for uWSGI worker 1 2014-01-15 22:51:10 spawned uWSGI worker 2 (pid: 5399, cores: 1) 2014-01-15 22:51:10 spawned 2 offload threads for uWSGI worker 2 2014-01-15 22:51:13 announcing my loyalty to the Emperor... 2014-01-15 22:57:04 announcing my loyalty to the Emperor... 2014-01-15 23:03:46 Wed Jan 15 23:03:46 2014 - received message 1 from emperor 2014-01-15 23:03:46 ...gracefully killing workers... 2014-01-15 23:03:46 Gracefully killing worker 1 (pid: 5396)... 2014-01-15 23:03:46 Gracefully killing worker 2 (pid: 5399)... 2014-01-15 23:03:47 worker 1 buried after 1 seconds 2014-01-15 23:03:47 worker 2 buried after 1 seconds 2014-01-15 23:03:47 uWSGI: GAME OVER (insert coin) 2014-01-15 23:03:47 chdir(): No such file or directory [core/uwsgi.c line 1450] 2014-01-15 23:03:47 VACUUM: unix socket /var/sockets/cespar.pythonanywhere.com/socket removed.
but I don't understand anything.
Can anyone help me?
Thanks a lot