zonec fails on fairly large zone

Joseph McDonald joe at
Thu Dec 4 02:51:53 UTC 2003


I have just started with nsd.  I attempted to create a database of the
net zone, after a couple of minutes I get:

zonec: malloc failed: Cannot allocate memory

The zone file is this large:
% wc
 9533163 28599507 314469843

The machine has a couple of gigs of RAM.  The malloc seems to occur soon
after the process size reaches 500 megs.  There is still well over a gig
of free memory.

Any ideas what could be causing this?


More information about the nsd-users mailing list