[nsd-users] error: unable to load the diff file: /var/lib/nsd3/ixfr.db

W.C.A. Wijngaards wouter at nlnetlabs.nl
Tue Jun 3 11:06:20 UTC 2014


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

Hi John,

On 06/03/2014 12:58 PM, John wrote:
> Hello Nsd,
> 
> We ran in to the error in the subject recently.  The error was
> caused by a partial write.  However i wanted to ask a couple of
> questions.  We fixed the problem by removing the ixfr.db file and
> restarting nsd.  Is this the correct way to fix things or is there
> a more elegant solution.

Yes this is the correct fix.

More elegant is nsdc patch ; which also deletes ixfr.db (but it must
not have been partially written), and updates the main nsd.db with its
contents.  You could run nsdc patch from cron, for example.

> Secondly is there anyway to check the state of this file.

The cron job is the best way to keep the filesize down.  If your
filesystem simply cannot handle the size of the files then I do not
know a nice solution with NSD3.

With NSD4 there is a feature that saves disk space, the NSD4 version
in development (in code repository), has a feature where you can set
database: "" and then it does not use the nsd.db file on disk and this
may save you a lot of disk space.  NSD4 would also not make ixfr.db,
but store similar contents in /tmp/nsd.<pid>/ , but also delete those
files when it has done working with them (which may save only a little
disk space).

Best regards,
   Wouter

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

iQIbBAEBAgAGBQJTjawsAAoJEJ9vHC1+BF+NA84P925Twg1vEsNHosMGxy+KbLPZ
9ayhgxw5cxYkKyd6v3mOv46bM8Ne3xpV1LJaZnzKaXpqD271BT+R+4NE9f8AldDR
WZKd8ai84JFtj0dtX0/NoYl8+PMu3Ux5EsDI5UK3MGBh0ZKXt0PY/0MjllMuKcqx
h4piMu4RurvxutQiqH0rTmSSUmUH8Ih3T7TyjkXDJdc6mUt728oEbcQnot3aZKME
ZmbPhacH5CHIownSnXN+zDIa89fPUn09X1l+rSDvZJIyJLlEQYOFqgQlL243fMvj
wcjjS6yrK88mYN4ke0K3/0FaA5UgR9Xb4M42S43QIShmZC2pVMNkBTCnMNYU4SIL
5hXVCnkRAOXUyKaoMKAeRwgoRacpttGCpofxnF2Bo9Zmtk2ON6KfJrnAS1Bzw0rm
vg1yEIyO+X9XpRHiU3OnHKk3QOYLJoQpnxUac0BcC+dQUAsO7FoimBSAw8yfJ6P8
pfATXr2SmZ782SWf6sYQUCA5dE9TD6zYV0LTSt77J850LsVFa+gdNcpLA++AaDI4
+H84f4TOBS8VZSF+cCAIWQi/YsbV+LaIZ8nZdAFkgVfIzSAPHPHhHQFZMrNZEixC
3ZG3+ymauqjtxFYLYV53zMnUYzq/BAWMrhdAK+EjaV61aJ+HXhxI3qf2SqU73R/x
AHYcsSZnj1KJYPDl3j8=
=pN9O
-----END PGP SIGNATURE-----



More information about the nsd-users mailing list