mirror of https://github.com/OISF/suricata
flow: free spare pool more aggressively
The flows exceeding the spare pools config setting would be freed
per at max 100 flows a second. After a high speed test this would
lead to excessive memory use for a long time.
This patch updates the logic to free 10% of the excess flows per
run, freeing multiple blocks of flows as needed.
Bug: #4731.
(cherry picked from commit fa72a5add8)
pull/6443/head
parent
84696a348f
commit
d127dc7c52
Loading…
Reference in New Issue