[Nfd-dev] [Operators] "No buffer space available"

Dehart, John jdd at wustl.edu
Fri Sep 8 10:03:06 PDT 2017


> On Sep 8, 2017, at 11:55 AM, Alex Afanasyev <aa at cs.fiu.edu> wrote:
> 
> John,
> 
> Debug symbols can be installed using the packages.  There are -dbg packages for both ndn-cxx and NFD that you can install and have symbols.
> 
> Also. Do we have coredump files? If so, we can just analyze them somewhere else.  If not, we still need to get them somehow, otherwise the debug symbols would not really help.

Does nfd drop a core file when it gets a FATAL error?

John

> 
> --
> Alex
> 
>> On Sep 8, 2017, at 12:42 PM, Dehart, John <jdd at wustl.edu> wrote:
>> 
>> 
>> All:
>> 
>> Here is my proposed plan for installing a debug symbol equipped NFD on the Testbed nodes.
>> I decided to install it in a completely separate directory so normal builds would be less likely
>> to get confused.
>> 
>> Please let me know if you see anything wrong.
>> 
>> John
>> 
>> 
>> # Install ndn-cxx version 0.5.1-60-gb555b00
>> git clone http://github.com/named-data/ndn-cxx
>> cd ndn-cxx
>> git checkout b555b00c280b9c9ed46f24a1fbebc73b720601af
>> ./waf --debug --prefix=/usr/local/ndn-dbg configure
>> ./waf
>> sudo ./waf install
>> 
>> export PKG_CONFIG_PATH="/usr/local/ndn-dbg/lib/pkgconfig"
>> 
>> # install NFD; Ashlesh's version 0.5.1-73-gbc7cb95
>> git clone https://github.com/agawande/NFD
>> cd ../NFD
>> git checkout bc7cb95
>> git submodule init && git submodule update
>> ./waf --debug --prefix=/usr/local/ndn-dbg configure
>> ./waf
>> sudo ./waf install
>> 
>> # Ubuntu 14.04: Update /etc/init/nfd.conf to run /usr/local/ndn-dbg/bin/nfd in place of /usr/bin/nfd
>> # Ubuntu 16.04: Update /etc/systemd/system/multi-user.target.wants/nfd.service to run /usr/local/ndn-dbg/bin/nfd in place of /usr/bin/nfd
>> 
>> 
>> 
>> 
>> 
>> 
>>> On Sep 8, 2017, at 9:29 AM, Dehart, John <jdd at wustl.edu> wrote:
>>> 
>>> 
>>> Davide,
>>> 
>>> Unfortunately the PPA packaged nfd is stripped:
>>> 
>>> ndnops at wundngw:~$ file `which nfd`
>>> /usr/bin/nfd: ELF 64-bit LSB  executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=c6aaf9ad6c430829235e80ad438ce815c2fa0d46, stripped
>>> ndnops at wundngw:~$
>>> 
>>> So, perhaps what I will do is add a parallel debug libndn-cxx-dbg and nfd-dbg on the Testbed
>>> that I can turn on when needed.
>>> 
>>> John
>>> 
>>>> On Sep 8, 2017, at 8:52 AM, Davide Pesavento <davide.pesavento at lip6.fr> wrote:
>>>> 
>>>> On Wed, Sep 6, 2017 at 12:49 PM, Dehart, John <jdd at wustl.edu> wrote:
>>>>> 
>>>>> What is the penalty for running with the versions with debug symbols?
>>>> 
>>>> Zero. Debug symbols are not used at runtime. Note that "debug symbols"
>>>> != "compiling in debug mode".
>>>> 
>>>>> Should we be doing that at all times or is it a performance killer?
>>>> 
>>>> Neither. You should just install the debug symbols when you need them.
>>>> Once you're done, you can remove them. The actual nfd binary and
>>>> libndn-cxx.so.* shared library are unaffected by the
>>>> installation/removal of the debug symbols.
>>>> 
>>>> (NB: all of the above assumes that NFD/ndn-cxx were packaged in
>>>> release mode with split debug symbols)
>>> 
>>> _______________________________________________
>>> Nfd-dev mailing list
>>> Nfd-dev at lists.cs.ucla.edu
>>> http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev
>> 
>> _______________________________________________
>> Nfd-dev mailing list
>> Nfd-dev at lists.cs.ucla.edu
>> http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev
> 



More information about the Nfd-dev mailing list