Forums

After reloading my webapp, it doesn't work.

After reloading my webapp, it doesn't work. I dont do any chnges to code. here is server log: 2019-05-19 17:44:48 DAMN ! worker 1 (pid: 7) died :( trying respawn ... 2019-05-19 17:44:48 Respawned uWSGI worker 1 (new pid: 10) 2019-05-19 17:44:48 spawned 2 offload threads for uWSGI worker 1 2019-05-19 17:46:12 Sun May 19 17:46:12 2019 - received message 0 from emperor 2019-05-19 17:46:12 SIGINT/SIGQUIT received...killing workers... 2019-05-19 17:46:15 *** Starting uWSGI 2.0.17.1 (64bit) on [Sun May 19 17:46:13 2019] *** 2019-05-19 17:46:15 compiled with version: 5.4.0 20160609 on 15 February 2019 14:46:37 2019-05-19 17:46:15 os: Linux-4.4.0-1075-aws #85 SMP Fri Feb 15 13:52:12 UTC 2019 2019-05-19 17:46:15 nodename: glenn-liveweb6 2019-05-19 17:46:15 machine: x86_64 2019-05-19 17:46:15 clock source: unix 2019-05-19 17:46:15 pcre jit disabled 2019-05-19 17:46:15 detected number of CPU cores: 2 2019-05-19 17:46:15 current working directory: (unreachable)/etc/uwsgi/vassals 2019-05-19 17:46:15 detected binary path: /usr/local/bin/uwsgi 2019-05-19 17:46:15 *** dumping internal routing table *** 2019-05-19 17:46:15 [rule: 0] subject: path_info regexp: .svgz$ action: addheader:Content-Encoding:gzip 2019-05-19 17:46:15 *** end of the internal routing table *** 2019-05-19 17:46:15 chdir() to /home/vladdasha/ 2019-05-19 17:46:15 limiting number of processes to 60... 2019-05-19 17:46:15 your processes number limit is 60 2019-05-19 17:46:15 your memory page size is 4096 bytes 2019-05-19 17:46:15 detected max file descriptor number: 123456 2019-05-19 17:46:15 building mime-types dictionary from file /etc/mime.types... 2019-05-19 17:46:15 552 entry found 2019-05-19 17:46:15 lock engine: pthread robust mutexes 2019-05-19 17:46:15 thunder lock: disabled (you can enable it with --thunder-lock) 2019-05-19 17:46:15 uwsgi socket 0 bound to UNIX address /var/sockets/vladdasha.pythonanywhere.com/socket fd 3 2019-05-19 17:46:15 Python version: 3.7.0 (default, Aug 22 2018, 20:50:05) [GCC 5.4.0 20160609] 2019-05-19 17:46:15 Set PythonHome to /home/vladdasha/.virtualenvs/wedding-virtualenv 2019-05-19 17:46:15 *** Python threads support is disabled. You can enable it with --enable-threads *** 2019-05-19 17:46:15 Python main interpreter initialized at 0x2233ff0 2019-05-19 17:46:15 your server socket listen backlog is limited to 100 connections 2019-05-19 17:46:15 your mercy for graceful operations on workers is 60 seconds 2019-05-19 17:46:15 setting request body buffering size to 65536 bytes 2019-05-19 17:46:15 mapped 334256 bytes (326 KB) for 1 cores 2019-05-19 17:46:15 *** Operational MODE: single process *** 2019-05-19 17:46:15 initialized 38 metrics 2019-05-19 17:46:15 WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x2233ff0 pid: 1 (default app) 2019-05-19 17:46:15 *** uWSGI is running in multiple interpreter mode *** 2019-05-19 17:46:15 gracefully (RE)spawned uWSGI master process (pid: 1) 2019-05-19 17:46:15 spawned uWSGI worker 1 (pid: 2, cores: 1) 2019-05-19 17:46:15 metrics collector thread started 2019-05-19 17:46:15 spawned 2 offload threads for uWSGI worker 1 2019-05-19 17:46:16 !!! uWSGI process 2 got Segmentation Fault !!! 2019-05-19 17:46:16 *** backtrace of 2 #012vladdasha vladdasha.pythonanywhere.com uWSGI worker 1(uwsgi_backtrace+0x2c) [0x46529c]#012vladdasha vladdasha.pythonanywhere.com uWSGI worker 1(uwsgi_segfault+0x21) [0x465661]#012/lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7f75ff1cb4b0]#012/usr/lib/libpython3.7m.so.1.0(_PyLong_New+0x2c) [0x7f75fbc8ad0c]#012/usr/lib/libpython3.7m.so.1.0(PyLong_FromLongLong+0x57) [0x7f75fbc91e67]#012/usr/lib/libpython3.7m.so.1.0(+0x1e2bad) [0x7f75fbdadbad]#012/usr/lib/libpython3.7m.so.1.0(+0x1e3cf4) [0x7f75fbdaecf4]#012/usr/lib/libpython3.7m.so.1.0(_PyMethodDef_RawFastCallKeywords+0x28f) [0x7f75fbc64dff]#012/usr/lib/libpython3.7m.so.1.0(_PyCFunction_FastCallKeywords+0x25) [0x7f75fbc64f05]#012/usr/lib/libpython3.7m.so.1.0(_PyEval_EvalFrameDefault+0x90c2) [0x7f75fbc3db42]#012/usr/lib/libpython3.7m.so.1.0(+0x688c0) [0x7f75fbc338c0]#012/usr/lib/libpython3.7m.so.1.0(_PyEval_EvalFrameDefault+0x7060) [0x7f75fbc3bae0]#012/usr/lib/libpython3.7m.so.1.0(_PyEval_EvalCodeWit 2019-05-19 17:46:17 DAMN ! worker 1 (pid: 2) died :( trying respawn ... 2019-05-19 17:46:17 Respawned uWSGI worker 1 (new pid: 7) 2019-05-19 17:46:17 spawned 2 offload threads for uWSGI worker 1 2019-05-19 17:46:18 !!! uWSGI process 7 got Segmentation Fault !!! 2019-05-19 17:46:18 *** backtrace of 7 #012vladdasha vladdasha.pythonanywhere.com uWSGI worker 1(uwsgi_backtrace+0x2c) [0x46529c]#012vladdasha vladdasha.pythonanywhere.com uWSGI worker 1(uwsgi_segfault+0x21) [0x465661]#012/lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7f75ff1cb4b0]#012/usr/lib/libpython3.7m.so.1.0(+0xe7bbf) [0x7f75fbcb2bbf]#012/usr/lib/libpython3.7m.so.1.0(_PyLong_New+0x20) [0x7f75fbc8ad00]#012/usr/lib/libpython3.7m.so.1.0(PyLong_FromLongLong+0x57) [0x7f75fbc91e67]#012/usr/lib/libpython3.7m.so.1.0(+0x1e2bad) [0x7f75fbdadbad]#012/usr/lib/libpython3.7m.so.1.0(+0x1e3cf4) [0x7f75fbdaecf4]#012/usr/lib/libpython3.7m.so.1.0(_PyMethodDef_RawFastCallKeywords+0x28f) [0x7f75fbc64dff]#012/usr/lib/libpython3.7m.so.1.0(_PyCFunction_FastCallKeywords+0x25) [0x7f75fbc64f05]#012/usr/lib/libpython3.7m.so.1.0(_PyEval_EvalFrameDefault+0x90c2) [0x7f75fbc3db42]#012/usr/lib/libpython3.7m.so.1.0(+0x688c0) [0x7f75fbc338c0]#012/usr/lib/libpython3.7m.so.1.0(_PyEval_EvalFrameDefault+0x7060) [0x7f75fb 2019-05-19 17:46:19 DAMN ! worker 1 (pid: 7) died :( trying respawn ... 2019-05-19 17:46:19 Respawned uWSGI worker 1 (new pid: 10) 2019-05-19 17:46:19 spawned 2 offload threads for uWSGI worker 1

it is erorlog 2019-05-19 14:02:41,067: Not Found: /apple-touch-icon-120x120.png 2019-05-19 14:02:41,210: Not Found: /apple-touch-icon-precomposed.png 2019-05-19 14:02:41,356: Not Found: /apple-touch-icon.png 2019-05-19 14:02:41,495: Not Found: /favicon.ico 2019-05-19 14:02:41,642: Not Found: /apple-touch-icon-120x120-precomposed.png 2019-05-19 14:02:41,786: Not Found: /apple-touch-icon-120x120.png 2019-05-19 14:02:41,927: Not Found: /apple-touch-icon-precomposed.png 2019-05-19 14:02:42,071: Not Found: /apple-touch-icon.png 2019-05-19 14:02:42,226: Not Found: /favicon.ico 2019-05-19 14:02:49,457: Not Found: /apple-touch-icon-120x120-precomposed.png 2019-05-19 14:02:49,600: Not Found: /apple-touch-icon-120x120.png 2019-05-19 14:02:49,739: Not Found: /apple-touch-icon-precomposed.png 2019-05-19 14:02:49,884: Not Found: /apple-touch-icon.png 2019-05-19 15:35:09,011: Not Found: /favicon.ico 2019-05-19 17:38:02,844: Not Found: /favicon.ico

How to solve this problem?

The only thing that I can think of that could cause that is a very broken virtualenv. If you're using a virtualenv for your web app, try deleting it and rebuilding it.