I haven't had a chance to figure out the memory leak, but it occurs to me, I don't understand why you are caching the pcap in memory? You're only running the traffic at 100Mbps... Even a 7200 RPM disk should be able to sustain 12.5 MB/sec sequential reads without any problem. -- Aaron Turner http://synfin.net/ Twitter: @synfinatic Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin
On Sat, Jun 20, 2015 at 11:10 PM, Hashem Alaidaros <[email protected]> wrote: > Hello Aaron and Fredrick, > > Just to inform you that, I attached the following in the previous email I > sent on 19 June 2015, > > > > 1) screen capture after run the command: sudo tcpreplay -i eth0 -K -M 100 > dataset1.pcap, (before I run the command the memory usage was 500 MB, after > run the command it jumps to 32 GB although the pcap file is 11 GB) > > 2) kern.log > > 3) the last part of syslog > > 4) Output of uname -a > > 5) the lsmod output > > > Please inform when additional information is needed > > > Your anticipated help is approciated > > > Thanks > > > > On Fri, Jun 19, 2015 at 8:54 PM, Hashem Alaidaros <[email protected]> > wrote: >> >> Thanks Aaron and Fredrick for reply, I was really waiting for solving my >> issue. (I sent this email yesterday, but it rejected my the moderator due to >> size limit exceed, then I reduce the file size) >> >> >> >> I use "htop" to see the memory usage. >> >> Just for your information: This PC has two ethernets, one for tcpreplay >> use, the other is for teamviewer (remote acccess from Internet) use. >> >> >> >> 1) I attached you screen capture after run the command: sudo tcpreplay -i >> eth0 -K -M 100 dataset1.pcap, (before I run the command the memory usage was >> 500 MB, after run the command it jumps to 32 GB although the pcap file is 11 >> GB) >> >> >> >> 2) I attached the kern.log (as u can see there is no log written for >> today, there is log for only yesterday) >> >> >> >> 3) And Here is the last part of syslog: >> >> >> ----------------------------------------------------------------------------------------------------------------------------------- >> >> Jun 18 20:54:50 hashem-OptiPlex-9020 dhclient: bound to 10.10.2.51 -- >> renewal in 1518 seconds. >> >> Jun 18 21:17:02 hashem-OptiPlex-9020 CRON[8191]: (root) CMD ( cd / && >> run-parts --report /etc/cron.hourly) >> >> Jun 18 21:20:08 hashem-OptiPlex-9020 dhclient: DHCPREQUEST of 10.10.2.51 >> on eth1 to 10.10.2.21 port 67 >> >> Jun 18 21:20:08 hashem-OptiPlex-9020 dhclient: DHCPACK of 10.10.2.51 from >> 10.10.2.21 >> >> Jun 18 21:20:08 hashem-OptiPlex-9020 dhclient: bound to 10.10.2.51 -- >> renewal in 1558 seconds. >> >> Jun 18 21:46:06 hashem-OptiPlex-9020 dhclient: DHCPREQUEST of 10.10.2.51 >> on eth1 to 10.10.2.21 port 67 >> >> Jun 18 21:46:06 hashem-OptiPlex-9020 dhclient: DHCPACK of 10.10.2.51 from >> 10.10.2.21 >> >> Jun 18 21:46:06 hashem-OptiPlex-9020 dhclient: bound to 10.10.2.51 -- >> renewal in 1587 seconds. >> >> Jun 18 21:50:49 hashem-OptiPlex-9020 pulseaudio[2417]: [pulseaudio] >> module-console-kit.c: GetUnixUser() call failed: >> org.freedesktop.DBus.Error.UnknownMethod: Method "GetUnixUser" with >> signature "" on interface "org.freedesktop.ConsoleKit.Session" doesn't exist >> >> Jun 18 22:12:33 hashem-OptiPlex-9020 dhclient: DHCPREQUEST of 10.10.2.51 >> on eth1 to 10.10.2.21 port 67 >> >> Jun 18 22:12:33 hashem-OptiPlex-9020 dhclient: DHCPACK of 10.10.2.51 from >> 10.10.2.21 >> >> Jun 18 22:12:33 hashem-OptiPlex-9020 dhclient: bound to 10.10.2.51 -- >> renewal in 1707 seconds. >> >> Jun 18 22:17:01 hashem-OptiPlex-9020 CRON[8394]: (root) CMD ( cd / && >> run-parts --report /etc/cron.hourly) >> >> >> ----------------------------------------------------------------------------------------------------------------------------- >> >> >> >> 4) Output of uname -a >> >> Linux hashem-OptiPlex-9020 3.5.0-44-generic #67~precise1-Ubuntu SMP Wed >> Nov 13 16:16:57 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux >> >> _______________________________________________________________________ >> >> >> >> 5) I attached the lsmod output >> >> _______________________________________________________________________ >> >> >> >> >> >> >> >> Thanks > > > > > > -- > A friend in need Is a friend indeed > > ------------------------------------------------------------------------------ > > _______________________________________________ > Tcpreplay-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tcpreplay-users > Support Information: http://tcpreplay.synfin.net/trac/wiki/Support ------------------------------------------------------------------------------ _______________________________________________ Tcpreplay-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tcpreplay-users Support Information: http://tcpreplay.synfin.net/trac/wiki/Support
