uwsgi Configuration

  . 1 [to uwsgi]
   2 = the chdir / usr / local / XX / xx_ader / -Service # project file path
   . 3 WSGI-File = run.py startup file #
   . 4 = Socket / tmp / our sock / xx- pacs.sock # with their own and nginx corresponds
   . 5 the chmod-Socket = 666 
  . 6 Callable = Python application instance name app # uwsgi call, Flask in default app, depending on the item code examples of named set
   . 7 Master = to true
   . 8 Workers = 10 
  . 9 Threads = 2 
 10 Vacuum = to true
  . 11 = Lock-Thunder to true
  12 is Requests-max = 2000 
 13 is = Threads enable- to true
  14 Harakiri = 120 
 15 POST-Buffering = 1310720 
 16 = POST-Buffering busize-1310720 
 . 17 = Buffer size 1310720- 
 18 is UID = the root
 19 logto=/mnt/logs/xx1/xxx-uwsgi.log

 

Guess you like

Origin www.cnblogs.com/1a2a/p/11448161.html