Long running tshark process and "-M" flag
I have a long running tshark process where I feed packets through pipe. I would expect that when the "-M 10000" flag is in use, tshark memory usage should remain stable. However tshark memory usage (RSS) keeps growing indefinitely and linearly
Please update question with output of
tshark -vAre you logging stderr?
fprintf(stderr, "resetting session.\n");C:\Users\wireshark>"c:\Program Files\Wireshark\tshark.exe" -i 4 -M 5 Capturing on 'Wi-Fi' 1 0.000000 ... 2 0.033292 ... 3 0.242135 ... 4 0.244390 ... 5 0.245864 ... resetting session. 1 0.272589 ...Will update the output of "-v" soon. Yes, I periodically see "resetting session". Still RSS keeps growing
Output of "tshark -v":
(more)Have you looked at using the
-bflag?See: https://blog.wireshark.org/2014/07/to...