mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 15:17:01 +02:00
DOC: configuration: more details about the master-worker mode
Add more details about the master-worker mode in the "master-worker" global keyword. Should fix issue #2198.
This commit is contained in:
parent
e5e36ce097
commit
419b79492a
@ -2140,10 +2140,18 @@ lua-prepend-path <string> [<type>]
|
|||||||
|
|
||||||
master-worker [no-exit-on-failure]
|
master-worker [no-exit-on-failure]
|
||||||
Master-worker mode. It is equivalent to the command line "-W" argument.
|
Master-worker mode. It is equivalent to the command line "-W" argument.
|
||||||
This mode will launch a "master" which will monitor the "workers". Using
|
|
||||||
this mode, you can reload HAProxy directly by sending a SIGUSR2 signal to
|
This mode will launch a "master" which will fork a "worker" after reading the
|
||||||
the master. The master-worker mode is compatible either with the foreground
|
configuration to process the traffic. The master is used as a process manager
|
||||||
or daemon mode.
|
which will monitor the "workers".
|
||||||
|
|
||||||
|
Using this mode, you can reload HAProxy directly by sending a SIGUSR2 signal
|
||||||
|
to the master. Reloading will ask the master to read the configuration again
|
||||||
|
and fork a new worker. The previous worker will be kept until the end of its
|
||||||
|
jobs.
|
||||||
|
|
||||||
|
The master-worker mode is compatible either with the foreground or daemon
|
||||||
|
mode.
|
||||||
|
|
||||||
By default, if a worker exits with a bad return code, in the case of a
|
By default, if a worker exits with a bad return code, in the case of a
|
||||||
segfault for example, all workers will be killed, and the master will leave.
|
segfault for example, all workers will be killed, and the master will leave.
|
||||||
|
Loading…
Reference in New Issue
Block a user