Closed mjdavies closed 7 years ago
Hey @mjdavies! I think this is all as expected. When you run honcho with two process types, it will end up running three processes: one is responsible for managing the two which correspond to your processes (nginx
and webapp
) and printing their output to the console.
I think it's much the same story with gunicorn, too. There's one "arbiter" process running, and three corresponding to the three workers (--workers=3
).
Hope that answers your questions!
Thanks for getting back Nick.
Yes, that answers my question nicely, thanks again.
Matt
Hello there.
I'm not really certain this is an issue, but was hoping if someone could explain what I'm seeing.
I'm using honcho to start nginx, and start my django application with gunicorn, all inside one docker container.
The nginx is configured to run with 1 worker.
Here's my procfile
It all works fine when I run 'honcho start' as the command in the docker-compose file, no problems.
What I don't really understand is the output of ps aux inside the container.