NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

errno 55 No buffer space available



Hi,

I am trying to get latest NSD (v4.1.27) up and running on NetBSD-current/amd64.  I could probably just use pkgsrc, but I don't.  

## Here's how I build it

hence with debug symbols

export CFLAGS="-g -O2"

got latest openssl there already (1.0.2r)

export OPENSSL_CFLAGS="-I/usr/local/ssl/include"
export OPENSSL_LIBS="-L/usr/local/ssl/lib -lssl -lcrypto"

configure args

--disable-dnstap --disable-systemd --with-ssl=/usr/local/ssl 

## MWE

using the built-in _nsd we have although we only have Unbound in the tree(?) - I also tried with another UID/GID, no change there.

server:
        username: _nsd
        pidfile: "/var/run/nsd/nsd.pid"

remote-control:
        control-enable: no

zone:   
        name: "nethence.com"
        zonefile: "%s.db"

(it is not about the zone, config, which is fine)

mkdir -p /var/run/nsd/
chown -R _nsd:_nsd /var/db/nsd/
chown -R _nsd:_nsd /var/run/nsd/
/usr/local/sbin/nsd -4 -V 5

gives

[2019-05-23 12:36:46.851] nsd[28446]: notice: nsd starting (NSD 4.1.27)

and logs

May 23 12:36:46 malabar nsd[28446]: nsd starting (NSD 4.1.27)
May 23 12:36:46 malabar nsd[19603]: zone nethence.com read with success
May 23 12:36:46 malabar nsd[19603]: zone nethence.com written to db
May 23 12:36:47 malabar nsd[25105]: problems sending reload xfrdtomain: Broken pipe
May 23 12:36:47 malabar nsd[25105]: did not get start signal from main

## ktrace

I tried to downgrade and check with v4.1.25 and v4.1.19 (ktrace/kdump below) - same result.

http://tmp.nethence.com/ktrace/nsd.out

nevermind the pid file error, as it remains there when dying.  I suppose the right spot is `errno 55 No buffer space available` -- how to deal with that?

Thanks


Home | Main Index | Thread Index | Old Index