簡體   English   中英

uwsgi皇帝國防部不工作

[英]uwsgi emperor mod not working

當我沒有皇帝啟動它時,它的工作原理是:

uwsgi --ini /etc/uwsgi/vassals/uwsgi.conf --uid books --gid books

但是當我使用皇帝模式時,它會凍結:

uwsgi --emperor /etc/uwsgi/vassals  --uid books --gid books

並給出以下響應:

*** Starting uWSGI 2.0.1 (64bit) on [Fri Oct 24 10:47:46 2014] ***
compiled with version: 4.8.2 20140120 (Red Hat 4.8.2-16) on 24 October 2014 10:36:47
os: Linux-3.10.0-123.8.1.el7.x86_64 #1 SMP Mon Sep 22 19:06:58 UTC 2014
nodename: essenly.com
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 1
current working directory: /etc/uwsgi/vassals
detected binary path: /usr/bin/uwsgi
setgid() to 1000
setuid() to 1000
*** WARNING: you are running uWSGI without its master process manager ***
your processes number limit is 3839
your memory page size is 4096 bytes
detected max file descriptor number: 1024
*** starting uWSGI Emperor ***

謝謝你的幫助。

更新。 忽略我對master建議。 Doc說,皇帝模式通常不應該與master使用。 http://uwsgi-docs.readthedocs.org/en/latest/Emperor.html#notes

嘗試通過主進程運行皇帝。 master = true添加到您的ini文件,然后以root身份運行uwsgi。 工作者將降級為非特權用戶(如果指定)

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM