]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mworker: reexec in waitpid mode after successful loading
authorWilliam Lallemand <wlallemand@haproxy.org>
Tue, 9 Nov 2021 17:01:22 +0000 (18:01 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 10 Nov 2021 14:53:01 +0000 (15:53 +0100)
commitfab0fdce981149a4e3172f2b81113f505f415595
tree8060793d0d545100fce4105c7cfe33ee51815177
parent5d71a6b0f1a9effd421495b8d073f78db336e0ab
MEDIUM: mworker: reexec in waitpid mode after successful loading

Use the waitpid mode after successfully loading the configuration, this
way the memory will be freed in the master, and will preserve the memory.

This will be useful when doing a reload with a configuration which has
large maps or a lot of SSL certificates, avoiding an OOM because too
much memory was allocated in the master.
src/haproxy.c