[nsd-users] clearing zonelist

W.C.A. Wijngaards wouter at nlnetlabs.nl
Wed Feb 12 12:52:27 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Andrey,

On 02/12/2014 01:35 PM, Андрей Скопенко wrote:
> 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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJS+26LAAoJEJ9vHC1+BF+N2qcP/iy5JoR2YXIP/7t5TtiLZFPo
LJApd9o/aY5sxes+GyH5Q1ZmjnaeD3Lt7GUYoEb9NGab0QgtRXBBMAGBShjDIRVQ
qEvNUksEBBAQEN9DAnOEd4DARYb7VmTweVYGrBBFJ8wbu2JJuzjir26sbd1Sngbc
RQF0MPcLH38AjcpivlaE8MeiFrQm0SoIzEXXl/n1kkvTQVV1GBUyz7xbRVkMG3TQ
h9Dud0KXG+hUBE/hGuTdPxzNle7IM8dA7uzEDFl/JtIK5pPEc3ufTw0jPFJDkgLE
5GEXpKI3jUmE3R/hc8UAGav/en4J4RjJH1hekl6HlPqvRtzzDCYKO3QQZzLDV7DY
4AHRL0/kx28VWK1kwq+Mn2H8ornhPDzfOWLCCelNxKvcEnPjDlcZ0Z/N4rRTdJrZ
FB9asfHMzrRCtEpmGSyMKFYt6brf+Q8i/6JIE8U+N3GBkZTjIYQK8VsYD2PyqB2p
6DqAU3ytoiqX5fRvSJRB5IiWTpycFZ8XRBaG2tRELL+RFaa+6miU4eDHAh6wRmmh
eE6fZ/dV5ojfHmohVqgSwnEJNQxJzHb9cKWoUhBf1HmugDGr7yRYHsYI38JcuYpI
2bz1Gqm/vxQjB471irnmJwxzdr0gZoYpLXL+H1cLB8o+DdsN+xSMWlrZ2aHSj7Il
bCRuY4sbpldq/XTBMWjB
=54SE
-----END PGP SIGNATURE-----



More information about the nsd-users mailing list