commit | 7c9f756dcc51b9974d5e81116e1d8a34a6152040 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Oct 13 15:45:07 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Oct 13 18:15:33 2020 +0200 |
tree | 03cf5ac1aee127659f95503a520e07ed9762124a | |
parent | b1e600c9c5e4a20a6de1f3b9593f20dc50f01315 [diff] |
MINOR: fd: report an error message when failing initial allocations When starting with a huge maxconn (say 1 billion), the only error seen is "No polling mechanism available". This doesn't help at all to resolve the problem. Let's add specific alerts for the failed mallocs. Now we can get this instead: [ALERT] 286/154439 (23408) : Not enough memory to allocate 2000000033 entries for fdtab! This may be backported as far as 2.0 as it helps debugging bad configurations.