Daily BIND 9.2.3 crashes on AIX

phn at icke-reklam.ipsec.nu phn at icke-reklam.ipsec.nu
Tue Apr 27 15:31:01 UTC 2004


Winfried.Angele at epost.de wrote:
> named crashes daily:

> *******************
> named[18420]: dispatch 275caa68: shutting down due to TCP receive 
> error: out of memory

> named[18420]: name.c:349: REQUIRE((((name) !=3D 0) && (((const 
> isc__magic_t *)(name)) ->magic =3D=3D ((('D') << 24 | ('N') << 16 | ('S')=
>  
> << 8 | ('n')))))) failed

> named[18420]: exiting (due to assertion failure)
> ********************

> But there is enough memory on our servers!

> Environment:
> OS: AIX 4.3.3.0 ML9
> MEM: 1 GByte real memory
> SERVER: BIND 9.2.3

> named at server$ ulimit -a
> time(seconds) unlimited
> file(blocks) unlimited
> data(kbytes) unlimited
> stack(kbytes) unlimited
> memory(kbytes) unlimited
> coredump(blocks) unlimited
> nofiles(descriptors) unlimited


> named.conf:
> ...
> max-cache-size 200M
> recursive-clients 8000
> ...


> Any idas?

Remove "max-cache-size" and if named grows to swapping, buy more
memory.  Make shure you have enough swap( i think AIX is
of the early-allocating type that allocates swap syncronously
with the application, thus you should have more swap then memory)

How big is named during the day ? Will it crash when it has
grown to soem specific size ? 

And check that "memory(kbytes) unlimited" means something more 
( there is a global maximum size that is configurable. ask
AIX folks what the limit is )




> ________________________________________
> http://www.epost.de - das Kommunikationsportal der Deutschen Post




-- 
Peter Håkanson         
        IPSec  Sverige      ( At Gothenburg Riverside )
           Sorry about my e-mail address, but i'm trying to keep spam out,
	   remove "icke-reklam" if you feel for mailing me. Thanx.


More information about the bind-users mailing list