这曾经对我有用:
http://www.radekdostal.com/content/heroku-running-multiple-python-processes-single-dyno-using-honcho
然而,今天我推出了一个新版本,honcho开始疯狂地分叉:
honcho -f ProcfileHoncho start
21:15:09 web.1 | started with pid 8
21:15:09 web.1 | 21:15:09 web.1 | started with pid 11
21:15:09 web.1 | 21:15:09 web.1 | 21:15:09 web.1 | started with pid 14
21:15:09 web.1 | 21:15:09 web.1 | 21:15:09 web.1 | 21:15:09 web.1 | started
with pid 17
21:15:09 web.1 | 21:15:09 web.1 | 21:15:09 web.1 | 21:15:09 web.1 | 21:15:09 web.1 | started with pid 20
我没有改变任何相关的东西,如Procfile
或ProcfileHoncho
,但这是一段时间,所以可能是一个新版本的Honcho的责任。你知道吗
这是怎么回事?你知道吗
这个分叉像疯了一样:
但这是可行的:
所以我猜在最新版本的Honcho中,它开始关心选项参数在哪里,在
start
之前或之后,如果它们错了-它忽略-f ProcfileHoncho
并读取Procfile
,这告诉它打开一个新的Honcho。。。你知道吗希望这对任何人都有帮助。你知道吗
相关问题 更多 >
编程相关推荐