]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: debug: prepare to show runtime limits
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Sat, 13 Jul 2024 11:23:46 +0000 (13:23 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 16 Jul 2024 12:04:41 +0000 (14:04 +0200)
commit3abd03aa7817636992758f9a563d16febfc97412
tree996b27d47599c0c12395b7a0b3a370f8b6459e67
parent665dde648177f8251638318a95d09a87fbdcc7ae
MINOR: debug: prepare to show runtime limits

This is a preparation patch to extend postmortem in order to store runtime
limits. No need to perform getrlimit() in feed_post_mortem(), as we do this
in the very beginning of main() and we store initial fd limits in global
'rlim_fd_cur_at_boot' and 'rlim_fd_max_at_boot' variables.
src/debug.c