我们将 Gunicorn 与 Nginx 一起使用。每次重启gunicorn后,Gunicorn的CPU占用率都会逐渐增加。在 3-4 天内,这一比例从 0.5% 增加到 85% 左右。重新启动 Gunicorn 后,它会降至 0.5%。请提出可能导致此问题的原因以及如何继续调试和修复此问题。
nginx gunicorn
gunicorn ×1
nginx ×1