<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 5 4 2 2 2 2 2 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p>Hi John</p><p><o:p> </o:p></p><p>This is either due to <a href="http://redmine.named-data.net/issues/2742">Bug 2742</a>, or caused by too many prefix registration commands filling up the output buffer of the UNIX socket before Face::processEvents is invoked.</p><p>The solution would be: during traffic generator server initialization, call Face::processEvents after every prefix registration command.</p><p>Currently ndn-traffic-generator does not have a maintainer. Can you contribute a patch to this problem? The patch can be submitted to <a href="http://gerrit.named-data.net">Gerrit</a>.</p><p><o:p> </o:p></p><p>Yours, Junxiao</p><p><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p style='border:none;padding:0in'><br><b>From: </b>JohnQi<br><b>Sent: </b>Thursday, August 27, 2015 02:10<br><b>To: </b>nfd-dev@lists.cs.ucla.edu<br><b>Subject: </b>Re: [Nfd-dev] ERROR:error while connecting to the forwarder</p></div><p class=MsoNormal><span style='font-family:"Times New Roman",serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman",serif'><o:p> </o:p></span></p><div><div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Arial",sans-serif;color:black'>Hi! Every one,<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Arial",sans-serif;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Arial",sans-serif;color:black'> We are woking on an experiment on NFD. To evaluate the performance of the NFD, we try to use the traffic-generator provided with the NFD together. We wrote two configuration files according to "ndn-traffic-server.conf.sample" and "ndn-traffic-client.conf.sample". The only difference between our configuration files and the orginal configuration files lie on the number of the content in the files. Our files include 10 thousands of content.  Then I started the nfd at the client and the server. Moreover, registered the name prefix by binding the sever ip.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Arial",sans-serif;color:black'>There is an error ocured then with a msg that "error while connecting to the forwarder" (we have correctly run and compile NFD and </span><span style='font-size:10.5pt;font-family:"Helvetica",sans-serif;color:black'>ndn-traffic-generator</span><span style='font-size:10.5pt;font-family:"Arial",sans-serif;color:black'>). Our configure files "ndn-traffic-server.conf.sample, ndn-traffic-server.conf.sample.full-data, ndn-traffic-client.conf.sample" are attached in this mail.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Arial",sans-serif;color:black'>To identify this error, we constructed another configure files and found that there is no error at all if the number of the content in the configuration files is less then 1936. This two configuration files are attatched also. <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Arial",sans-serif;color:black'>I think this is a bug of the NFD in consideration of the simplicity of the  traffic-generator.  Does anybody know about this? Please do us a favor to check this problem. <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Arial",sans-serif;color:black'>Looking forward to your reply. Thanks a lot.<o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Arial",sans-serif;color:black'><o:p> </o:p></span></p><div><p class=MsoNormal style='line-height:17.85pt'><span style='font-size:10.5pt;font-family:"Arial",sans-serif;color:black'>Yours sincerely.<o:p></o:p></span></p></div><div><p class=MsoNormal style='line-height:17.85pt'><span style='font-size:10.5pt;font-family:"Arial",sans-serif;color:black'>John qi.<o:p></o:p></span></p></div></div></div></div></body></html>