[Nfd-dev] What makes nfd grow in size?

John DeHart jdd at wustl.edu
Mon Jan 26 13:45:56 PST 2015


Junxiao,

Here are two snapshots of the counters after the time that the CS fills
and is no longer growing:

Tue Jan 27 05:35:38 CST 2015
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
4     0  8414     1  20   0 1782908 1642192 ?   Rsl  ?          7:15 
/usr/bin/nfd --config /etc/ndn/nfd.conf

General NFD status:
nfdId=/localhost/daemons/nfd/KEY/ksk-1406409442387/ID-CERT
                version=0.2.0-88-gc5173de
              startTime=20150126T210446.307000
            currentTime=20150126T213538.190000
                 uptime=1851 seconds
       nNameTreeEntries=897
            nFibEntries=65
            nPitEntries=434
   nMeasurementsEntries=366
             nCsEntries=8192
           nInInterests=604737
          nOutInterests=317119
               nInDatas=179061
              nOutDatas=319898
--
Tue Jan 27 05:37:17 CST 2015
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
4     0  8414     1  20   0 1926616 1647376 ep_pol Ssl ?        7:48 
/usr/bin/nfd --config /etc/ndn/nfd.conf

General NFD status:
nfdId=/localhost/daemons/nfd/KEY/ksk-1406409442387/ID-CERT
                version=0.2.0-88-gc5173de
              startTime=20150126T210446.307000
            currentTime=20150126T213717.379000
                 uptime=1951 seconds
       nNameTreeEntries=876
            nFibEntries=65
            nPitEntries=397
   nMeasurementsEntries=360
             nCsEntries=8191
           nInInterests=649582
          nOutInterests=340120
               nInDatas=194721
              nOutDatas=349244

I don't see any of the table sizes growing at this point but the nfd VSZ 
continues to grow.

Also, here is the version of nfd I am running on the Testbed.
ndnops at ndnops:~$ nfd --version
0.2.0-88-gc5173de
ndnops at ndnops:~$


Thanks,
John


On 1/26/15 3:09 PM, Junxiao Shi wrote:
> Hi John
>
> This may or may not be a memory leak.
>
> Please collect the output of `nfd-status -vf` in order to determine 
> whether a certain table is growing.
>
> Yours, Junxiao
>
> On Mon, Jan 26, 2015 at 2:01 PM, John DeHart <jdd at wustl.edu 
> <mailto:jdd at wustl.edu>> wrote:
>
>
>     All:
>
>     I'm having a problem on one of the NDN Testbed nodes with nfd growing
>     to an unreasonable size.
>
>     There is a steady stream of Interests and Data going through it.
>     I have reduced the size of the CS down to 8K to see if that will
>     stop the growth but it doesn't seem to.
>
>     This is on the Tongji node. The virtual memory size of nfd will
>     continue to grow until eventually the node will get bogged
>     down and I have to restart nfd to clear things up.
>
>     I include below some ps samples that show the size and the change
>     in size at 5 second intervals.
>
>     What else besides the CS would cause nfd to continue to grow?
>
>     I should mention that I am experimenting with tcp faces to try
>     to alleviate some other network problems.
>
>
>     Thanks,
>     John
>
>
>     Tue Jan 27 04:48:22 CST 2015
>     F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY     TIME
>     COMMAND
>     4     0  5211     1  20   0 2482116 1618620 ep_pol Ssl ?     8:53
>     /usr/bin/nfd --config /etc/ndn/nfd.conf
>
>     Tue Jan 27 04:48:27 CST 2015
>     F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY     TIME
>     COMMAND
>     4     0  5211     1  20   0 2488600 1625240 ep_pol Ssl ?     8:55
>     /usr/bin/nfd --config /etc/ndn/nfd.conf
>
>     Tue Jan 27 04:48:32 CST 2015
>     F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY     TIME
>     COMMAND
>     4     0  5211     1  20   0 2495212 1631896 ep_pol Ssl ?     8:56
>     /usr/bin/nfd --config /etc/ndn/nfd.conf
>
>     Tue Jan 27 04:48:37 CST 2015
>     F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY     TIME
>     COMMAND
>     4     0  5211     1  20   0 2502084 1608468 ep_pol Ssl ?     8:57
>     /usr/bin/nfd --config /etc/ndn/nfd.conf
>
>     Tue Jan 27 04:48:42 CST 2015
>     F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY     TIME
>     COMMAND
>     4     0  5211     1  20   0 2509112 1615620 ep_pol Ssl ?     8:59
>     /usr/bin/nfd --config /etc/ndn/nfd.conf
>
>     Tue Jan 27 04:48:47 CST 2015
>     F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY     TIME
>     COMMAND
>     4     0  5211     1  20   0 2515856 1622520 ep_pol Ssl ?     9:01
>     /usr/bin/nfd --config /etc/ndn/nfd.conf
>     _______________________________________________
>     Nfd-dev mailing list
>     Nfd-dev at lists.cs.ucla.edu <mailto:Nfd-dev at lists.cs.ucla.edu>
>     http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20150126/eafa12cf/attachment.html>


More information about the Nfd-dev mailing list