Bind is dieing when it gets to 16 megs in size

Markus Stumpf maex-bind-users at Space.Net
Fri Nov 12 13:09:47 UTC 1999

On Fri, Nov 12, 1999 at 05:25:37AM -0500, Pancho Cole wrote:
> Before, when I had left the datasize in login.conf the default 32 megs, the 
> console message read:
> named[18265]: memget failed in new_symbol_table()
> What should I do next to keep my name server happy?

Probably some limits in the shell override the system defaults.
This is what I did:
    # mv /usr/sbin/ndc /usr/sbin/ndc.bin
    # cat > /usr/sbin/ndc

ulimit -m 124380
ulimit -s unlimited
ulimit -l unlimited
ulimit -d unlimited

exec /usr/sbin/ndc.bin $*

    # chmod 711 /usr/sbin/ndc

The exact syntax for the ulimit commands depends on the shell you are
using. "man <yourshell>" should give you the necessary infos.

We're using a dedicated DNS server, so the "unlimited" values are not
a problem for us, but you might set some values that suit better for

Hope that helps,

SpaceNet GmbH             |   http://www.Space.Net/   | Yeah, yo mama dresses
Research & Development    | mailto:maex-sig at Space.Net | you funny and you need
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0    | a mouse to delete files
D-80807 Muenchen          |  Fax: +49 (89) 32356-299  |

More information about the bind-users mailing list