[Ndn-interest] FIB was disappear when sending recv a mount of packets

ndn ndn ndn at sqh.me
Sun Sep 20 06:11:54 PDT 2015

Hello Alex,
Thanks for your answer, I realize that I put nun::face create in a for
loops, the face object will deconstruct when my program exit, not the face
class deconstruct.So it cause this problem.
After do that, I find the nfd not crashed and it looks work well.Thanks for
your help.

But I also wonder, Does nun::face class is thread-safety?Can I use face in
different thread?

Yours, qihan.

2015-09-19 6:51 GMT+08:00 Alex Afanasyev <aa at cs.ucla.edu>:

> Hi Qihan,
> This is an interesting error that we haven't seen before.  However, it is
> directly related to user-limit on number of open files.  You can check this
> thread https://forums.gentoo.org/viewtopic-t-464088-start-0.html that has
> a similar error and has a suggested solution.
> From the log I see that your application (or applications) keep connecting
> to NFD, with ~1023 (before crash) active apps.  I wonder, is it your real
> intention or it is a some sort of an accident?  I mean, do you really want
> that many applications to be active?
> ---
> Alex
> On Sep 18, 2015, at 12:20 AM, ndn ndn <ndn at sqh.me> wrote:
> Dear JunXiao,
>    After I use the Head version in NFD, but it not works.
>    At my program beginning, NFD print log like this:
>    1442558776.874014 INFO: [UnixStreamFace] [id=-1,local=
> unix:///run/nfd.sock,remote=fd://1022] Creating face
>    1442558776.875411 INFO: [FaceTable] Added face id=1255 remote=fd://1022
> local=unix:///run/nfd.sock
>    1442558776.893996 INFO: [UnixStreamFace] [id=-1,local=
> unix:///run/nfd.sock,remote=fd://1023] Creating face
>    1442558776.895382 INFO: [FaceTable] Added face id=1256 remote=fd://1023
> local=unix:///run/nfd.sock
>    When the number raise to 1023, the NFD is crashed. NFD-log tells me:
>     442559257.847426 FATAL: [NFD] OS_Rng: open /dev/urandom operation
> failed with error 24
>     I don't know what happen in NFD? seems random number generator broken
> when I send a small file, the NFD isn't crashed.
> Yours, Qihan
> _______________________________________________
> Ndn-interest mailing list
> Ndn-interest at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20150920/288aa4f2/attachment.html>

More information about the Ndn-interest mailing list