Opened 16 years ago

Closed 16 years ago

#9 closed defect (duplicate)

named out of swap space

Reported by: huub Owned by: somebody
Priority: major Milestone:
Keywords: Cc:
Resource needed to fix:

Description

Mar 3 16:00:04 CNodeHuub kernel: pid 709 (named), uid 53, was killed: out of swap space

uptime: bijna twee dagen

CNodeHuub# df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ad0s1a 241727 208697 13692 94% /
devfs 1 1 0 100% /dev
/dev/md0 4526 2222 1942 53% /etc
/dev/md1 4526 2416 1748 58% /var
devfs 1 1 0 100% /var/named/dev
/dev/md2 19566 36 17966 0% /tmp

Change History (7)

comment:1 by huub, 16 years ago

herstarten geeft:

Mar 3 17:22:18 CNodeHuub named[18638]: starting BIND 9.6.0-P1 -t /var/named -u bind
Mar 3 17:22:18 CNodeHuub named[18638]: built with '--localstatedir=/var' '--disable-linux-caps' '--with-randomdev=/dev/random' '--with-openssl=/usr' '--with-libxml2=/usr/local' '--without-idn' '--disable-threads' '--sysconfdir=/etc/namedb' '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info/' '--build=i386-portbld-freebsd7.0' 'build_alias=i386-portbld-freebsd7.0' 'CC=cc' 'CFLAGS=-O2 -fno-strict-aliasing -pipe' 'LDFLAGS= -rpath=/usr/lib:/usr/local/lib' 'CXX=c++' 'CXXFLAGS=-O2 -fno-strict-aliasing -pipe'
Mar 3 17:22:19 CNodeHuub named[18638]: max open files (957) is smaller than max sockets (4096)
Mar 3 17:22:20 CNodeHuub named[18638]: command channel listening on 127.0.0.1#953
Mar 3 17:22:20 CNodeHuub named[18638]: command channel listening on ::1#953
Mar 3 17:22:20 CNodeHuub named[18638]: the working directory is not writable
Mar 3 17:22:20 CNodeHuub named[18638]: zone 0.0.127.IN-ADDR.ARPA/IN: loading from master file /etc/namedb/master/localhost.rev failed: file not found
Mar 3 17:22:27 CNodeHuub named[18638]: zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.INT/IN: loading from master file /etc/namedb/master/localhost-v6.rev failed: file not found
Mar 3 17:22:33 CNodeHuub named[18638]: running


named werkt hierna weer.

comment:2 by tim, 16 years ago

Deze error is niet voorgekomen bij de voorlaatste versie
toch? ik heb named.conf aangepast, zie CNodeHuub_updates.
Daarnaast heb ik bind9.6.0 nu gecompileerd met support
voor threads (default). Dit lijkt namelijk geen effect
te hebben op het probleem.

Updated in image versie CNodeHuub_v09.1

in reply to:  2 comment:3 by huub, 16 years ago

Replying to tim:

Deze error is niet voorgekomen bij de voorlaatste versie
toch? ik heb named.conf aangepast, zie CNodeHuub_updates.
Daarnaast heb ik bind9.6.0 nu gecompileerd met support
voor threads (default). Dit lijkt namelijk geen effect
te hebben op het probleem.

Updated in image versie CNodeHuub_v09.1

Ik test nu met CNodeHuub_bindv9.6.0.1_v02.tar.gz, draait bijna 3 dagen.
Zal een nieuwe image bakken.

comment:4 by huub, 16 years ago

Nu met versie 0.9.1 out of swap space al na een half uur:

opstarten named boodschappen in /var/log/messages:
Mar 4 12:50:19 CNodeHuub named[905]: starting BIND 9.6.0-P1 -t /var/named -u bind
Mar 4 12:50:19 CNodeHuub named[905]: built with '--localstatedir=/var' '--disable-linux-caps' '--with-randomdev=/dev/random' '--with-openssl=/usr' '--with-libxml2=/usr/local' '--without-idn' '--enable-threads' '--sysconfdir=/etc/namedb' '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info/' '--build=i386-portbld-freebsd7.0' 'build_alias=i386-portbld-freebsd7.0' 'CC=cc' 'CFLAGS=-O2 -fno-strict-aliasing -pipe' 'LDFLAGS= -rpath=/usr/lib:/usr/local/lib' 'CXX=c++' 'CXXFLAGS=-O2 -fno-strict-aliasing -pipe'
Mar 4 12:50:20 CNodeHuub named[905]: max open files (957) is smaller than max sockets (4096)
Mar 4 12:50:21 CNodeHuub named[905]: command channel listening on 127.0.0.1#953
Mar 4 12:50:21 CNodeHuub named[905]: command channel listening on ::1#953
Mar 4 12:50:21 CNodeHuub named[905]: the working directory is not writable
Mar 4 12:50:21 CNodeHuub named[905]: running

Mar 4 12:51:33 CNodeHuub named[905]: transfer of 'wZoeterwoude.NET/IN' from 172.27.129.66#53: failed while receiving responses: NOTAUTH
Mar 4 12:52:38 CNodeHuub named[905]: transfer of '27.172.in-addr.arpa/IN' from 172.17.143.4#53: failed to connect: connection refused
Mar 4 12:53:09 CNodeHuub named[905]: transfer of 'wZoeterwoude.NET/IN' from 172.27.129.66#53: failed while receiving responses: NOTAUTH

Mar 4 12:56:25 CNodeHuub named[905]: transfer of 'wZoeterwoude.NET/IN' from 172.27.129.66#53: failed while receiving responses: NOTAUTH
Mar 4 13:03:12 CNodeHuub named[905]: transfer of 'wZoeterwoude.NET/IN' from 172.27.129.66#53: failed while receiving responses: NOTAUTH

Mar 4 13:19:06 CNodeHuub named[905]: transfer of 'wZoeterwoude.NET/IN' from 172.27.129.66#53: failed while receiving responses: NOTAUTH
Mar 4 13:22:01 CNodeHuub kernel: pid 905 (named), uid 53, was killed: out of swap space

comment:5 by huub, 16 years ago

versie 0.9.2 boodschappen in logfile (op loghost) voordat de node blokkeert:
2009 Mar 7 23:56:10 <kern.err> kernel: pid 904 (named), uid 53 inumber 862 on /var: filesystem full
2009 Mar 7 23:56:10 <daemon.err> named[904]: errno2result.c:111: unexpected error:
2009 Mar 7 23:56:10 <daemon.err> named[904]: unable to convert errno to isc_result: 28: No space left on device
2009 Mar 7 23:56:10 <daemon.err> named[904]: masterdump.c:715: unexpected error:
2009 Mar 7 23:56:10 <daemon.err> named[904]: master file write failed: unexpected error
2

comment:6 by rick, 16 years ago

Caused by snmpd, see ticket:3

comment:7 by rick, 16 years ago

Resolution: duplicate
Status: newclosed

Duplicate #34

Note: See TracTickets for help on using tickets.