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 -v
Are you logging stderr?
fprintf(stderr, "resetting session.\n");
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
-b
flag?See: https://blog.wireshark.org/2014/07/to...