<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Junxiao,</p>
<p><br>
</p>
<p>The problem is resolved now, I found that I still had ndn-cxx and ndn-tools which I built manually from sources and I forgot to update (I suspect that they were conflicting with the ones I downloaded from PPA along with nfd). I ./waf-uninstalled them and
 the machine's CPU went normal again. Thanks!</p>
<p><br>
</p>
<p>---</p>
<p>Regards,</p>
<p>Yudi</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Junxiao Shi <shijunxiao@email.arizona.edu><br>
<b>Sent:</b> Monday, April 25, 2016 8:43 PM<br>
<b>To:</b> Yudi Andrean; nfd-dev@lists.cs.ucla.edu<br>
<b>Subject:</b> RE: [Nfd-dev] Installing NFD 0.4.1 strangely increase CPU workload</font>
<div> </div>
</div>
<div>
<div>
<div style="font-family:Calibri,sans-serif; font-size:11pt">Hi Yudi<br>
<br>
I suspect some program is dynamically linked to an older ndn-cxx library that has been removed during the upgrade. When that program is setup as a system service, it would constantly crash and get restarted, causing init process to take all  CPU. This problem
 has caused headache on my servers with unattended upgrades.<br>
<br>
My suggestion is: (1) upgrade all NDN software from PPA at the same time (eg ndn-tools), don't mix versions (2) link your own programs statically to ndn-cxx, so unattended upgrade won't accidentally break your program.<br>
<br>
Yours, Junxiao</div>
</div>
<div dir="ltr">
<hr>
<span style="font-family:Calibri,sans-serif; font-size:11pt; font-weight:bold">From:
</span><span style="font-family:Calibri,sans-serif; font-size:11pt"><a href="mailto:yudiandreanp@live.com">Yudi Andrean</a></span><br>
<span style="font-family:Calibri,sans-serif; font-size:11pt; font-weight:bold">Sent:
</span><span style="font-family:Calibri,sans-serif; font-size:11pt">‎4/‎25/‎2016 3:13</span><br>
<span style="font-family:Calibri,sans-serif; font-size:11pt; font-weight:bold">To:
</span><span style="font-family:Calibri,sans-serif; font-size:11pt"><a href="mailto:nfd-dev@lists.cs.ucla.edu">nfd-dev@lists.cs.ucla.edu</a></span><br>
<span style="font-family:Calibri,sans-serif; font-size:11pt; font-weight:bold">Subject:
</span><span style="font-family:Calibri,sans-serif; font-size:11pt">[Nfd-dev] Installing NFD 0.4.1 strangely increase CPU workload</span><br>
<br>
</div>
<div id="divtagdefaultwrapper" style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
<p>Hi all,</p>
<p><br>
</p>
<p>I tried uninstalling my old 0.4.0 ubuntu 14.0.4 then installing NFD 0.4.1 ppa package, and my CPU workload increases, here is what 'top' command yields on my Ubuntu laptop:</p>
<p><br>
</p>
<p><img tabindex="0" id="img566832" size="206675" style="max-width: 99.9%; -webkit-user-select: none;" src="cid:52345627-3ccf-431e-bd51-c5dcde18fc24"><br>
</p>
<p><br>
</p>
<p>Strangely, the command init, python, and dbus-daemon ate CPU resource aggresively after nfd daemon started. I tried nfd-stop-ing the nfd, and the CPU workload went back to normal, before the nfd started again automatically (because of upstart? cmiiw), eating
 the CPU.</p>
<p>I uninstalled nfd, reinstalled it again, but it still used so much CPU. My NFD was not acting like this before</p>
<p><br>
</p>
<p>Any help on this suspected bug?</p>
</div>
</div>
</div>
</div>
</body>
</html>