commit | e5cfdacb838c776f19e102bd0cacddeda7b06573 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Mar 01 10:32:05 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Mar 01 10:40:30 2019 +0100 |
tree | 6ccd14662d9f51cd14057e73c0a48281a411df44 | |
parent | bf6964007af28bd5ddafa7c2a543324c117ea37a [diff] |
BUG/MINOR: init: never lower rlim_fd_max If a ulimit-n value is set, we must not lower the rlim_max value if the new value is lower, we must only adjust the rlim_cur one. The effect is that on very low values, this could prevent a master-worker reload, or make an external check fail by lack of FDs. This may be backported to 1.9 and earlier, but it depends on this patch "MINOR: global: keep a copy of the initial rlim_fd_cur and rlim_fd_max values".