Bind 8.3.7 on BSD6 and memory problems

Robert Yoon ryoon at ipowerweb.com
Tue Jan 24 12:21:07 PST 2006


Hey Guys,

Heres the deal, I got a older BSD 4.X server running some 400,000 zones 
on bind8.3.7 and it works just fine with 2GB of ram.

I decided to setup a mirror of that server using freebsd 6 and bind 
8.3.7 also, but with 4GB of ram.
I copy the zones and the config and everythign seems to load up ok until 
it gets the the letter L's.
At that moment its using bout 500MB or ram and it says this and craps out.

Mem: 153M Active, 387M Inact, 165M Wired, 112M Buf, 3251M Free
Swap: 8192M Total, 8192M Free
Jan 24 10:23:01 ns02-2 named[99406]: db_load could not open: 
domains/letterldomain.com: No such file or directory
Jan 24 10:23:20 ns02-2 named[99406]: no memory for more zones
Jan 24 10:23:20 ns02-2 named[99406]: no memory for more zones

Now I saw an option on the original server in the kernel config that 
raised these options i think to get around this particular issue.
options         MAXDSIZ="(1536*1024*1024)"
options         MAXSSIZ="(1536*1024*1024)"

I did see it in the LINT file on 4.X but not in the NOTES in 6.0.  The 
only thing I saw similar to that in notes was
options         MAXMEM=(128*1024)   ....but im thinking i dont need to 
edit that because its already detetecting the 4GB or ram....

Any help on this would be appreciated thanks






More information about the freebsd-isp mailing list