[nsd-users] NSD 4 / OS limitation problem?

Jeroen Massar jeroen at massar.ch
Thu Jul 2 06:43:24 UTC 2015


On 2015-07-02 08:10, Fredrik Pettai wrote:
> Hi,
> 
> I recently tried to switch from nsd-3.2.19 -> nsd-4.1.3 on our largest DNS slave
> 
> $ grep -c zone: nsd.conf
> 514
> 
> But I stumbled upon a problem with NSD4. The log complains about memory allocation:
> 
>> [2015-07-01 19:40:26.285] nsd[29189]: info: zone itsnat.se read with success
> [2015-07-01 19:40:26.302] nsd[29189]: info: rehash of zone itsnat.se. with parameters 1 0 5 c393596e0fd9f7de
> [2015-07-01 19:40:26.789] nsd[29189]: error: mmap(/var/nsd/nsd.db, size 1376910080) error Cannot allocate memory
> [2015-07-01 19:40:26.846] nsd[29395]: error: did not get start signal from main
> 
> While I know that the database is much bigger in NSD4, this shouldn’t be a problem for a modern OS.
[..]
> (OS is NetBSD 6_STABLE)

32 or 64 bit?

Also how much memory does the box have physically?

No, swap does not count.

Greets,
 Jeroen




More information about the nsd-users mailing list