Memory consumption in stats.log
It will be very helpful if some more stats can be added in the stats.log
May be at the bottom of each update/run - how much memory (in MB if possible) is Suricata using for flow, stream, reassembly and fragmentation.
Or in other words - mirror of the yaml settings for flow, stream, reassembly and fragmentation, but from actual physical memory consumption point of view.
- Target version set to TBD
This would be really helpful but would it also increase the load to calculate it each time?
Most of these mem stats are already in :
tcp.memuse | Total | 2240000000
tcp.reassembly_memuse | Total | 384780288
http.memuse | Total | 260882
ftp.memuse | Total | 696
flow.memuse | Total | 7612575672
So we have still missing:
- host table
stream is covered by the tcp ones.
At least this is the list I could come up with based on possible memory settings in the suricata.yaml.
Do you see any others?
For some of those we have memcaps counters(dns for example) so it still helps a bit. Don't see any others for now.
Also available in: Atom