Hello,
please explain how often NSD daemon removes ‘del’ records from zonelist file?
On virtual hosting with a large amount of add/del operations zonelist file is growing fast.
is zonelist file size affect the performance?
A.
Hello,
please explain how often NSD daemon removes ‘del’ records from zonelist file?
On virtual hosting with a large amount of add/del operations zonelist file is growing fast.
is zonelist file size affect the performance?
A.
Hi Andrey,
Hello,
please explain how often NSD daemon removes ‘del’ records from
zonelist file? On virtual hosting with a large amount of add/del
operations zonelist file is growing fast. is zonelist file size
affect the performance?
NSD reuses lines with the right length (changes del to add with the
new name). If the number of dels > number of adds then it compacts
the zonelist file. So 50% could be del, and then it'll compact on 51
(on a zone delete operation).
The size of the file should not affect performance. It may take some
memory to keep track of the del entries (but at most as many as you
have zones, and it only keeps a file offset for them; thus that should
be manageably in size).
Best regards,
Wouter