<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hmm, error could be coming from here, NdnApplication start:</p>
<p>os.kill(<span class="pl-c1">int</span>(<span class="pl-c1">self</span>.processId),
<span class="pl-c1">0</span>)</p>
<p>Currently we have an unreliable way to get the PID. We need to switch to Popen.  You can try to switch to Popen, some info is here:</p>
<p><a class="moz-txt-link-freetext" href="https://redmine.named-data.net/issues/4078">https://redmine.named-data.net/issues/4078</a></p>
<p>Some helper functions here in exp_util.py:</p>
<p><a class="moz-txt-link-freetext" href="https://gerrit.named-data.net/c/mini-ndn/+/5077">https://gerrit.named-data.net/c/mini-ndn/+/5077</a></p>
<p>We will see if we can get a change for Popen in quickly.<br>
</p>
<p>Ashlesh<br>
</p>
<div class="moz-cite-prefix">On 12/14/18 8:00 AM, sepehr abdous wrote:<br>
</div>
<blockquote type="cite" cite="mid:CAKaOrihKSVqQqWRfm9hkob6DUxs8FgahmOkMyRf5MvfFojj9sQ@mail.gmail.com">
<div dir="ltr"><br clear="all">
Hello all<br>
<div>I have an experiment which requires failing and recovering nodes very frequently but after some times of doing so when I run the recoverNode method and in the line of nlsr.start() (to be specific: in the line of
<span>NdnApplication.start(self, "nlsr -f {} > log/nlsr.log 2>&1 &".format(self.confFile)) in nlsr.py)</span>, I encounter the following error:</div>
<div><br>
</div>
<div>
<div><img src="cid:part1.D26660BB.1C959FDE@memphis.edu" alt="1544795860634blob.jpg" style="margin-right: 25px;" class=""><br>
</div>
</div>
<div><br>
</div>
<div>I do not know what the problem is because the same procedure have been run on the same node before this happens but suddenly after a while this error comes up.<br>
<div><br>
<div>Can someone help me please?</div>
<div><br>
</div>
<div>PS: Attached you can also find the picture of error.<br>
</div>
<div>
<div><br>
<div>Best,<br>
Sepehr</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Mini-NDN mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Mini-NDN@lists.cs.ucla.edu">Mini-NDN@lists.cs.ucla.edu</a>
<a class="moz-txt-link-freetext" href="http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn">http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn</a>
</pre>
</blockquote>
</body>
</html>