Bind is dieing when it gets to 16 megs in size

Mark_Andrews at iengines.com Mark_Andrews at iengines.com
Sat Nov 13 02:19:31 UTC 1999


	options {
		datasize 64m;
	};

	options {
		datasize unlimited;
	};

> 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
> #!/bin/sh
> 
> ulimit -m 124380
> ulimit -s unlimited
> ulimit -l unlimited
> ulimit -d unlimited
> 
> exec /usr/sbin/ndc.bin $*
> ^D
> 
>     # 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
> you.
> 
> Hope that helps,
> 
> 	\Maex
> -- 
> SpaceNet GmbH             |   http://www.Space.Net/   | Yeah, yo mama dresses
> Research & Development    | mailto:maex-sig at Space.Net | you funny and you nee
> d
> Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0    | a mouse to delete fil
> es
> D-80807 Muenchen          |  Fax: +49 (89) 32356-299  |
> 
--
Mark Andrews, Internet Engines Inc. / Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at iengines.com


More information about the bind-users mailing list