<div dir="ltr"><div dir="ltr"><div>Hi Hao</div><div><br></div><div>Thanks for reporting the bug.</div><div>If you know how to fix the bug, please open a pull request with the patch.</div><div>Otherwise, you have to wait for the maintainer, which usually takes several months, so please be patient.</div><br><div>Yours, Junxiao</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Jun 25, 2025 at 9:04 PM 郝广宇 <<a href="mailto:haoguangyu@chorustek.com">haoguangyu@chorustek.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><font><div style="display:block;height:auto;background:rgb(255,255,255);opacity:1;color:rgb(0,0,0);font-size:12px;font-family:Helvetica,Arial,sans-serif;text-align:left"><b style="display:block;height:auto;background:rgb(255,255,255);opacity:1;color:rgb(0,0,0);font-size:12px;font-family:Helvetica,Arial,sans-serif;text-align:left"><p style="text-align:center"><font color="red"><b>External Email</b><br></font></p></b><br><hr></div>Hi Junxiao</font></div><div><font>
<p>I have already submitted an issue. Will this problem be addressed? If the face is not deleted, the memory usage keeps increasing, which doesn’t seem reasonable.</p>
<p><a href="https://github.com/named-data/ndnd/issues/154" target="_blank">https://github.com/named-data/ndnd/issues/154</a></p></font></div><div><u></u><div>thanks</div><div style="color:rgb(0,0,0)"><div style="font-size:12px;font-family:Arial Narrow;padding:2px 0px">------------------ Original ------------------</div><div style="font-size:12px;background:rgb(239,239,239);padding:8px"><div id="m_-2094650871896454497menu_sender"><b>From: </b> "郝广宇"<<a href="mailto:haoguangyu@chorustek.com" target="_blank">haoguangyu@chorustek.com</a>>;</div><div><b>Date: </b> Fri, Jun 20, 2025 04:57 PM</div><div><b>To: </b> "shijunxiao"<<a href="mailto:shijunxiao@arizona.edu" target="_blank">shijunxiao@arizona.edu</a>>; </div><div><b>Cc: </b> "nfd-dev"<<a href="mailto:nfd-dev@lists.cs.ucla.edu" target="_blank">nfd-dev@lists.cs.ucla.edu</a>>; </div><div><b>Subject: </b> Re: [EXT] [Nfd-dev] ndnd memory increasing</div></div><div> </div><div><div id="m_-2094650871896454497tmpcontent_res"></div><div>Hi Junxiao</div><div>
<p>If an HTTP/3.0 client can connect to <span>ndnd</span>, how can an HTTP/3.0 server connect to <span>ndnd</span>?</p></div><div><div> thanks</div><div style="color:rgb(0,0,0)"><div style="font-size:12px;font-family:Arial Narrow;padding:2px 0px">------------------ Original ------------------</div><div style="font-size:12px;background:rgb(239,239,239);padding:8px"><div id="m_-2094650871896454497menu_sender"><b>From: </b> "Junxiao Shi"<<a href="mailto:shijunxiao@arizona.edu" target="_blank">shijunxiao@arizona.edu</a>>;</div><div><b>Date: </b> Wed, Jun 18, 2025 10:47 AM</div><div><b>To: </b> "郝广宇"<<a href="mailto:haoguangyu@chorustek.com" target="_blank">haoguangyu@chorustek.com</a>>; </div><div><b>Cc: </b> "nfd-dev"<<a href="mailto:nfd-dev@lists.cs.ucla.edu" target="_blank">nfd-dev@lists.cs.ucla.edu</a>>; </div><div><b>Subject: </b> Re: [EXT] [Nfd-dev] ndnd memory increasing</div></div><div> </div><div><div id="m_-2094650871896454497tmpcontent_res"></div><div dir="auto">Hi Hao</div><div dir="auto"><br></div><div dir="auto">This suggests a memory leak somewhere.</div><div dir="auto">You can diagnose a memory leak with <b>pprof</b> tool.</div><div dir="auto"><br></div><div dir="auto">See the following tutorial on how to use pprof:</div><div dir="auto"><div>Debug Golang Memory Leaks with Pprof - by Team CodeReliant</div><div><a href="https://www.codereliant.io/p/memory-leaks-with-pprof" target="_blank">https://www.codereliant.io/p/memory-leaks-with-pprof</a></div><br></div><div dir="auto">Once you find the bug, please open an issue on ndnd GitHub repository.</div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao</div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Tue, Jun 17, 2025 at 22:39 郝广宇 <<a href="mailto:haoguangyu@chorustek.com" target="_blank">haoguangyu@chorustek.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><font style="color:rgb(0,0,0)">
<p></p><div style="font-family:Helvetica,Arial,sans-serif;display:block;height:auto;background-image:none;background-position:0% 0%;background-size:auto;background-repeat:repeat;background-origin:padding-box;background-clip:border-box;opacity:1;font-size:12px;text-align:left;background-color:rgb(255,255,255);color:rgb(0,0,0)"><b style="font-family:Helvetica,Arial,sans-serif;display:block;height:auto;background-image:none;background-position:0% 0%;background-size:auto;background-repeat:repeat;background-origin:padding-box;background-clip:border-box;opacity:1;font-size:12px;text-align:left;background-color:rgb(255,255,255);color:rgb(0,0,0)"><p style="text-align:center;font-family:Helvetica,Arial,sans-serif"><font style="font-family:Helvetica,Arial,sans-serif;color:rgb(255,0,0)"><b style="font-family:Helvetica,Arial,sans-serif">External Email</b><br></font></p></b><br><hr style="font-family:Helvetica,Arial,sans-serif"></div>I’m using <span>ndnd</span> with the sample configuration file, and I’ve noticed that after running for a while, the memory usage keeps increasing.<p></p>
<p>Do you know what might be causing this? Thanks</p><p>config</p><p># YaNFD Sample Configuration</p><p># This file is autogenerated by cmd/confgen/main.go</p><p><br></p><p>core:</p><p> # Logging level</p><p> log_level: INFO</p><p> # Output log to file</p><p> log_file: ""</p><p><br></p><p>faces:</p><p> # Size of queues in the face system</p><p> queue_size: 1024</p><p> # Enables or disables congestion marking</p><p> congestion_marking: true</p><p> # If true, face threads will be locked to processor cores</p><p> lock_threads_to_cores: false</p><p><br></p><p> udp:</p><p> # Whether to enable unicast UDP listener</p><p> enabled_unicast: true</p><p> # Whether to enable multicast UDP listener</p><p> enabled_multicast: true</p><p> # Port used for unicast UDP faces</p><p> port_unicast: 6363</p><p> # Port used for multicast UDP faces</p><p> port_multicast: 56363</p><p> # IPv4 address used for multicast UDP faces</p><p> multicast_address_ipv4: <a href="http://224.0.23.170" target="_blank">224.0.23.170</a></p><p> # IPv6 address used for multicast UDP faces</p><p> multicast_address_ipv6: ff02::114</p><p> # Lifetime of on-demand faces (in seconds)</p><p> lifetime: 600</p><p> # Default MTU for UDP faces</p><p> default_mtu: 1420</p><p><br></p><p> tcp:</p><p> # Whether to enable TCP listener</p><p> enabled: true</p><p> # Port used for unicast TCP faces</p><p> port_unicast: 6363</p><p> # Lifetime of on-demand faces (in seconds)</p><p> lifetime: 600</p><p> # Reconnect interval for permanent faces (in seconds)</p><p> reconnect_interval: 10</p><p><br></p><p> unix:</p><p> # Whether to enable Unix stream transports</p><p> enabled: true</p><p> # Location of the socket file</p><p> # On Windows, uses ${TEMP}<a href="http://%5C%5Cnfd%5C%5Cnfd.sock" target="_blank">\\nfd\\nfd.sock</a></p><p> # On Mac, uses /var/run/nfd/nfd.sock</p><p> # Uncomment the line below to manually set socket path</p><p> # socket_path: /run/nfd/nfd.sock</p><p><br></p><p> websocket:</p><p> # Whether to enable WebSocket listener</p><p> enabled: true</p><p> # Bind address for WebSocket listener</p><p> bind: ""</p><p> # Port for WebSocket listener</p><p> port: 9696</p><p> # Whether to enable TLS</p><p> tls_enabled: false</p><p> # TLS certificate path (relative to the config file)</p><p> tls_cert: ""</p><p> # TLS private key (relative to the config file)</p><p> tls_key: ""</p><p><br></p><p> http3:</p><p> # Whether to enable HTTP/3 WebTransport listener</p><p> enabled: false</p><p> # Bind address for HTTP/3 WebTransport listener</p><p> bind: ""</p><p> # Port for HTTP/3 WebTransport listener</p><p> port: 443</p><p> # TLS certificate path (relative to the config file)</p><p> tls_cert: ""</p><p> # TLS private key (relative to the config file)</p><p> tls_key: ""</p><p><br></p><p>fw:</p><p> # Number of forwarding threads</p><p> threads: 16</p><p> # Size of queues in the forwarding system</p><p> queue_size: 1024</p><p> # If true, face threads will be locked to processor cores</p><p> lock_threads_to_cores: false</p><p><br></p><p>mgmt:</p><p> # Controls whether management over /localhop is enabled or disabled</p><p> allow_localhop: false</p><p><br></p><p>tables:</p><p><br></p><p> content_store:</p><p> # Capacity of each forwarding thread's content store (in number of Data packets). Note that the</p><p> # total capacity of all content stores in the forwarder will be the number of threads</p><p> # multiplied by this value. This is the startup configuration value and can be changed at</p><p> # runtime via management.</p><p> capacity: 1024</p><p> # Whether contents will be admitted to the Content Store.</p><p> admit: true</p><p> # Whether contents will be served from the Content Store.</p><p> serve: true</p><p> # Cache replacement policy to use in each thread's content store.</p><p> replacement_policy: lru</p><p><br></p><p> dead_nonce_list:</p><p> # Lifetime of entries in the Dead Nonce List (milliseconds)</p><p> lifetime: 6000</p><p><br></p><p> network_region:</p><p> # List of prefixes that the forwarder is in the producer region for</p><p> regions: []</p><p><br></p><p> rib:</p><p> # Enables or disables readvertising to the routing daemon</p><p> readvertise_nlsr: true</p><p><br></p><p> fib:</p><p> # Selects the algorithm used to implement the FIB</p><p> # Allowed options: nametree, hashtable</p><p> algorithm: nametree</p><p><br></p><p> hashtable:</p><p> # Specifies the virtual node depth. Must be a positive number.</p><p> m: 5</p><p>General NFD status:</p><p> version=v1.5.2</p><p> startTime=2025-06-13 23:18:14.669 +0800 CST</p><p> currentTime=2025-06-18 10:37:41.563 +0800 CST</p><p> uptime=107h19m26.894s</p><p> nNameTreeEntries=0</p><p> nFibEntries=26</p><p> nPitEntries=1</p><p> nMeasurementsEntries=0</p><p> nCsEntries=16384</p><p> nInInterests=373947</p><p> nOutInterests=334162</p><p> nInData=1378299</p><p> nOutData=371297</p><p> nInNacks=0</p><p> nOutNacks=0</p><p> nSatisfiedInterests=371297</p><p> nUnsatisfiedInterests=2486</p></font></div><div><u></u><u></u></div>
_______________________________________________<br>
Nfd-dev mailing list<br>
<a href="mailto:Nfd-dev@lists.cs.ucla.edu" target="_blank">Nfd-dev@lists.cs.ucla.edu</a><br>
<a href="https://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" rel="noreferrer" target="_blank">https://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev</a><br>
</blockquote></div></div>
</div></div></div></div></div><u></u></div>
</blockquote></div></div>