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

Fredrik Pettai pettai at nordu.net
Thu Jul 2 09:22:31 UTC 2015


Hi Anand,

On 02 Jul 2015, at 09:07 , Anand Buddhdev <anandb at ripe.net> wrote:

> On 02/07/15 08:10, Fredrik Pettai wrote:
> 
> Hi Fredrik,
> 
>> But I stumbled upon a problem with NSD4. The log complains about
>> memory allocation:
> 
> While I don't have a direct answer for this specific question, I have a
> suggestion. If you set:
> 
> database: ""
> 
> then NSD will not create a .db file at all. Instead, it will XFR the
> zones in and just serve them from memory. Once an hour (configurable) it
> will write out the zones in plain text to disk (for reading it at the
> next restart).
> 
> This mode uses less memory. On our NSD slaves with about 5000 zones,
> memory usage dropped from about 25GB to 17GB.

Yea, we spoke earlier about the forking issue that was fixed on linux,
but I missed out on the new zone file mode.

http://www.nlnetlabs.nl/blog/2014/09/19/nsd-4-1-zonefile-mode-and-fork-fix/

And, yes, database: “” makes it work fine.

Thanks,
/P




More information about the nsd-users mailing list