In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Start
/ usr/local/bin/uwsgi-ini uwsgi.ini-pidfile / var/run/uwsgi.pid-log-reopen
Ini configuration instance
[uwsgi] socket = 127.0.0.1:8010module = manage:cmp_apppythonpath = / home/work/cdn/python2.7/lib/python2.7/site-packageschdir = / home/work/project/wsgi-file = manage.pymaster = trueprocesses = 4callable = myappdaemonize = / home/work/project/logs/uwsgi.logdisable-logging = truepidfile = / var/run/uwsgi.pidpy-autoreload = 1max-requests = 5000touch-logreopen = / home/work/project/logs/touchfile
Be careful
Daemonize cannot write the relative path, which conflicts with touch-logreopen (the log is the relative path at startup, and the relative path under chdir after touch reopen). When touch-logreopen needs to start, add-- log-reopen (reload will cause touch-reopen to fail and will not generate new log files)
Reference:
Https://www.jianshu.com/p/679dee0a4193 recommends it.
Https://uwsgi-docs-zh.readthedocs.io/zh_CN/latest/WSGIquickstart.html quickstart
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.