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.pull/6438/head
parent
ff97d7c15d
commit
fa72a5add8
Loading…
Reference in New Issue