本文主要是介绍关闭Gunicorn进程,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
step1:
pstree -ap|grep gunicorn
显示结果:
| |-grep,503 --color=auto gunicorn| `-gunicorn,18050 /root/anaconda3/bin/gunicorn -c gunicorn.conf your_project.wsgi:application| |-gunicorn,19782 /root/anaconda3/bin/gunicorn -c gunicorn.conf your_project.wsgi:application| |-gunicorn,25687 /root/anaconda3/bin/gunicorn -c gunicorn.conf your_project.wsgi:application| |-gunicorn,25689 /root/anaconda3/bin/gunicorn -c gunicorn.conf your_project.wsgi:application| |-gunicorn,25690 /root/anaconda3/bin/gunicorn -c gunicorn.conf your_project.wsgi:application| |-gunicorn,25692 /root/anaconda3/bin/gunicorn -c gunicorn.conf your_project.wsgi:application| |-gunicorn,25693 /root/anaconda3/bin/gunicorn -c gunicorn.conf your_project.wsgi:application| |-gunicorn,25694 /root/anaconda3/bin/gunicorn -c gunicorn.conf your_project.wsgi:application| `-gunicorn,25695 /root/anaconda3/bin/gunicorn -c gunicorn.conf your_project.wsgi:application
step2:
kill -9 18050
这篇关于关闭Gunicorn进程的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!