我完全不知道这个分段错误是什么。它非常非常奇怪,并且在访问量增加时出现。
Sun Dec 20 22:24:56 2015 - 错误管理工人3上的信号3 该死的 !工人4(pid:22298)死了:(尝试重生......) 重生的uWSGI工人4(新pid:22302)
Sun Dec 20 22:24:56 2015 - 工人3上的管理信号36的错误 Sun Dec 20 22:24:56 2015 - 错误管理工人3上的信号15 Sun Dec 20 22:24:56 2015 - 错误管理工人2上的信号50 Sun Dec 20 22:24:56 2015 - 错误管理工人3上的信号37 ! uWSGI进程22300得到分段错误!!!
*回溯22300
uwsgi(uwsgi_backtrace + 0x2e)[0x46949e]
uwsgi(uwsgi_segfault + 0x21)[0x469831]
/usr/lib64/libc.so.6(+0x35650)[0x7f40e9842650]
/usr/lib64/libpython2.7.so.1.0(PyObject_Call+0xb)[0x7f40e9e4f03b]
/usr/lib64/libpython2.7.so.1.0(PyEval_CallObjectWithKeywords+0x47)[0x7f40e9ee0fd7]
uwsgi(python_call + 0x11)[0x47fd01]
uwsgi(uwsgi_python_signal_handler + 0x58)[0x47cae8]
uwsgi(uwsgi_signal_handler + 0x1db)[0x45d51b]
uwsgi(uwsgi_receive_signal + 0x2b)[0x45e52b]
uwsgi(wsgi_req_accept + 0x2e0)[0x41f440]
uwsgi(simple_loop_run + 0xb6)[0x465836]
uwsgi(uwsgi_ignition + 0x194)[0x469a84]
uwsgi(uwsgi_worker_run + 0x2dd)[0x46e2bd]
uwsgi(uwsgi_run + 0x3e4)[0x46e814]
uwsgi()[0x41e67e]
/usr/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f40e982eaf5]
uwsgi()[0x41e6a9]
回溯结束*
该死的 !工人5(pid:22300)死了:(尝试重生......) 重生的uWSGI工人5(新pid:22303)
Sun Dec 20 22:24:57 2015 - 错误管理工人2上的信号20 ......
! uWSGI进程22303得到了分段错误!!!
! uWSGI进程22302得到分段错误!!!
Sun Dec 20 22:24:58 2015 - 错误管理工人1上的信号2 Sun Dec 20 22:24:58 2015 - 错误管理工人1上的信号9Sun Dec 20 22:24:58 2015 - 错误管理工人1上的信号23 Sun Dec 20 22:24:58 2015 - 错误管理工人1上的信号31 Sun Dec 20 22:24:58 2015 - 错误管理工人1上的信号45 Sun Dec 20 22:24:58 2015 - 错误管理工人1上的信号7 Sun Dec 20 22:24:58 2015 - 错误管理工人1上的信号8 Sun Dec 20 22:24:58 2015 - 错误管理工人1上的信号25 Sun Dec 20 22:24:58 2015 - 错误管理工人1上的信号30 Sun Dec 20 22:24:58 2015 - 错误管理工人1上的信号35 Sun Dec 20 22:24:58 2015 - 错误管理工人1上的信号21 * 22303的回溯
uwsgi(uwsgi_backtrace + 0x2e)[0x46949e]
uwsgi(uwsgi_segfault + 0x21)[0x469831]
/usr/lib64/libc.so.6(+0x35650)[0x7f40e9842650]
/usr/lib64/libpython2.7.so.1.0(PyObject_Call+0xb)[0x7f40e9e4f03b]
/usr/lib64/libpython2.7.so.1.0(PyEval_CallObjectWithKeywords+0x47)[0x7f40e9ee0fd7]
uwsgi(python_call + 0x11)[0x47fd01]
uwsgi(uwsgi_python_signal_handler + 0x58)[0x47cae8]
uwsgi(uwsgi_signal_handler + 0x1db)[0x45d51b]
uwsgi(uwsgi_receive_signal + 0x2b)[0x45e52b]
uwsgi(wsgi_req_accept + 0x2e0)[0x41f440]
uwsgi(simple_loop_run + 0xb6)[0x465836]
uwsgi(uwsgi_ignition + 0x194)[0x469a84]
uwsgi(uwsgi_worker_run + 0x2dd)[0x46e2bd]
uwsgi(uwsgi_run + 0x3e4)[0x46e814]
uwsgi()[0x41e67e]
/usr/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f40e982eaf5]
uwsgi()[0x41e6a9]
回溯结束*
配置:
[uwsgi]
master = true
vhost = true
processes = 5
max-requests = 1000
socket = 127.0.0.1:8002
pidfile = /data/myApp/uwsgi.pid
daemonize = /data/myApp/logs/uwsgi.log
chmod-socket = 664
vacuum = true
daemon = true
module = django.core.wsgi:get_wsgi_application()