[Dnssec-trigger] Feature request: Restart unbound

Paul Wouters paul at cypherpunks.ca
Mon Jul 2 00:34:59 UTC 2012


On Fri, 29 Jun 2012, Olafur Gudmundsson wrote:

>>> For some reason unbound crashes upon occasion (looking for the source
>>> of that problem by reading logs).
>>> 
>>> It would be nice if DNSSEC-trigger detects that unbound has
>>> crashed/gone unresponsive and attempts to restart it.
>> 
>> On what OS? On Fedora 16/17, systemd should restart it, though it will
>> have lost the dnssec-trigger configuration, and I'm not sure the trigger
>> can detect unbound restarted easilly/cheaply/continiously.
>> 
>> Paul
>> 
>> 
>> 
>
> In my case: Win-7, DD-WRT, Open-WRT

My bet is that on the WRTs, unbound is crashing because it is running
out of memory. You could change the init script to be something like:

 	while true
 	do
 		unbound -d -c /etc/unbound.conf
 	done

I'd login and run this in a shell to confirm:

 	while true; do cat /proc/meminfo; sleep 30; done

Paul



More information about the dnssec-trigger mailing list