Hi,
In adj_system_settings() in proxy/Main.cc, we have (paraphrasing here) --
if throttle > (current - head_room) then
cur = max = throttle
setrlimit()...
Would it make more sense to set --
cur = max = throttle + head_room
Otherwise, our users see the warning, try to compensate, and see the warning
again...
Default of 30000:
WARNING: connection throttle too high, 30000 (throttle) + 192 (internal use) >
30000 (file descriptor limit), using throttle of 29808
Changed to 29800:
WARNING: connection throttle too high, 29800 (throttle) + 192 (internal use) >
29800 (file descriptor limit), using throttle of 29608
We can make the warnings go away by setting the file limit higher in the
systemd file for the service, but the above behavior can cause some confusion.
Thanks,
Peter