We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
比如:
php server.php start -d -h 127.0.0.1 -p 9567 -w 4 -r 20 -t 20 -d, --deamon 启用守护进程模式 -h, --host [<value>] 指定监听地址 -p, --port [<value>] 指定监听端口 --help 显示帮助界面 -w, --worker [<value>] 设置Worker进程的数量 -r, --thread [<value>] 设Reactor进程的数量 -t, --takser [<value>] 设置Task进程的数量 php server.php reload 重新加载 php server.php stop 停止服务
同时建议master进程名中显示启动参数
The text was updated successfully, but these errors were encountered:
可以
Sorry, something went wrong.
进展回馈,由于我们的服务器参数太多了(无奈) php demoserver.php -h127.0.0.1 -p9567 -r20 -w20 -t40 -d --host=127.0.0.1 --port=9567 --thread=10 --worker=15 --task=2 --daemon
还有服务发现等参数没有传递……不够用了…… 这个实施暂时搁置,会想其他方式解决这个问题
这个可以通过 --conf 指定配置文件,但是可能对代码会有一定的改动,可以尝试实现。
No branches or pull requests
比如:
同时建议master进程名中显示启动参数
The text was updated successfully, but these errors were encountered: