django – 这个UWSGI输出是什么意思? >“(X开关核心0)”

我正在运行带有使用sqlite结构的django的uwsgi应用程序的Nginx.

在运行uwsgi时,当发出GET或POST请求时,它会发送输出,例如:

[pid:29018 | app:0 | req:39/76] 136.61.69.96(){52 vars in 1208 bytes} [Wed Jul 19 17:25:12 2017] POST / binaryQuestionApp /?participant = A3AJJHOAV7WIUQ& assignmentId = 37QW5D2ZRHPMKY652LHT9QV23ZD8SU =&GT在722毫秒(HTTP / 1.1 200)中生成6个字节,在195个字节中生成3个头(核心0上有1个交换机)

最后一位是什么意思?有时它会说2个开关,有时是1个.

解决方法:

大概你已经找到了答案,但对于那里寻找答案的人来说,我发现了这个:

“core” is the low-level concept for uWsgi concurrency context in a
process (can be a thread or a greenlet or a fiber or a goroutine and
so on…) while switches count is incremented whenever an app “yield”
its status (this has varIoUs meanings based on the lower concurrency
model used)

资料来源:http://lists.unbit.it/pipermail/uwsgi/2015-March/007949.html

相关文章

Nginx (engine x) 是一个高性能的HTTP和反向代理服务,也是一...
本地项目配置 1 复制 luffy/settings/dev.py为prop.py 修改l...
nginx不仅可以隐藏版本信息,还支持自定义web服务器信息 先看...
一 、此次漏洞分析 1 nginx HTTP/2漏洞 [nginx-announce] ng...
###进入nginx 目录cd /usr/local/nginx###递归显示 2 级目录...
在cmd命令窗口输入下面命令进行查看 tasklist /fi "ima...