Hi, On Mon, Nov 27, 2017 at 06:58:06AM -0200, Joao Morais wrote: > > Hi, from nbproc doc[1]: "This requires the 'daemon' mode”, but this is also > the way to start more than one worker on master-worker mode, right? >
You can have several workers with the master-worker in foreground mode, the doc need to be updated there! > Still on the same doc: "USING MULTIPLE PROCESSES IS HARDER TO DEBUG AND IS > REALLY DISCOURAGED”, is this still valid on master-worker? Both "harder to > debug" and "is really discouraged" parts. It depends of your use case, HAProxy doesn't share stick-table, statistics and can't do peers with nbproc, however you can do that with nbthread! > From the blog post[2]: "Start the haproxy process with the command line > argument -W <# of processes>" - is this <# of procs> correct? Couldn’t use > this on the command line. > That's an error, -W doesn't take a process argument, it's only a flag. The master-worker only simplify the reload and the supervision of HAProxy. > ~jm > > [1] http://cbonte.github.io/haproxy-dconv/1.8/configuration.html#3.1-nbproc > [2] https://www.haproxy.com/blog/whats-new-haproxy-1-8/ > > Thanks for the reports. -- William Lallemand