Why, sometimes, do I have twin PCAP files with rotate?
I use dumpcap (vsersion 3.6.2) with -b duration and -b filesize option.
Sometimes, i have twin pcap
DATA_0_00002_20251022060511.pcap DATA_0_00002_20251022060512.pcap
and the capinfos command returns exactly the same information. How can this happen ?
Can you log the file names to see if there is a pattern?
Dumpcap: print closed ring-buffer file names
My guess is that there is a small window of opportunity that 2 distinct tasks get started to do the same job as you have 2 distinct criteria. There is propably a window during which the first rotation is still in progress that the second one gets triggered doing pretty much the same job.
This is pretty much a case of "shit happens".