我有一个如下的uwsgi配置文件
Begin
for each character ch in the postfix expression, do
if ch is an operator ⨀ , then
a := pop first element from stack
b := pop second element from the stack
res := b ⨀ a
push res into the stack
else if ch is an operand, then
add ch into the stack
done
return element of stack top
End
据我了解,这应该意味着uwsgi启动两个进程,每个进程启动两个线程来处理请求。
但是当我运行ps -ef时,输出如下所示
urxvt -e bash -c "source /tmp/venv/bin/activate; sh"
这些似乎是4个过程。所以我对uwsgi config理解不对吗?还是这些不是进程而是线程?