On 27/06/17 05:56 AM, zhi wrote:
> Everything goes well when the "api_workers " equals 0 or 1. But two main
> processes were started when the " api_workers " equals 2. The log shows
> below:
>
> 2017-06-27 17:42:18.864 1958058 INFO abc.common.wsgi [-] (1958058) wsgi
> starting up on http://0.0.0.
Hi, all.
Here, I want to start a main process and multi subprocess by using
oslo_service. So I launch a service like this:
from oslo_service import service as common_service
def serve_wsgi(cls):
try:
service = cls.create()
except Exception:
wit