1
24.1 Legacy Series / Re: Unbound keep crashing
« on: August 29, 2024, 03:59:10 pm »I find that quite often (several times week/day) DNS have stopped working due to Unbound being stopped as well.
Under system->general->logfiles it seems like the reason is a segfault:
<6>pid 57337 (unbound), jid 0, uid 59: exited on signal 11
It has been like this since 23.7 and also now with 24.1. For my use on this box it is not critical , but rather an annoyance.
The only thing that differs from the default is that I have enabled nearly everything on the blocklist under the DNBL drop down menu.
In addition I have also added a URL to my own blocklist that resides on a remote server in the form of "http://example.com/blocklist.txt" - that connection has been difficult at times, but I imagine a non-existing file should NOT cause any issues with Unbound, but then again that is the only thing I can think of.
As a side note - it would be great if it was possible to configure what to do if a service crash. (restart n-times before giving up, send mail, run a script (write to rs232 for example))
I have also this issue with unbound. I have set a daily restart of opnsense and its little better now, but now and then unbound still crashes!
it cant go many hour before it crashes....
opnsense used to be stable, this is really bad!
2024-08-29T15:56:58 Notice dhclient dhclient-script: Creating resolv.conf
2024-08-29T15:56:58 Notice dhclient dhclient-script: Reason RENEW on igc0 executing
2024-08-29T15:56:08 Warning radvd prefix length should be 64 for igc1
2024-08-29T15:55:13 Notice dhcp6c dhcp6c_script: RENEW on igc0 executing
2024-08-29T15:55:00 Notice send_telemetry.py telemetry data collected 2 records in 0.03 seconds @2024-08-29 13:54:55.508004
2024-08-29T15:54:52 Notice dhcp6c dhcp6c_script: RENEW on igc0 executing
2024-08-29T15:52:13 Error opnsense /usr/local/sbin/pluginctl: The command '/bin/kill -'TERM' '89172''(pid:/var/run/unbound.pid) returned exit code '1', the output was 'kill: 89172: No such process'
2024-08-29T15:51:07 Warning radvd prefix length should be 64 for igc1
2024-08-29T15:47:30 Warning radvd prefix length should be 64 for igc1
2024-08-29T15:46:58 Notice dhclient dhclient-script: Creating resolv.conf
2024-08-29T15:46:58 Notice dhclient dhclient-script: Reason RENEW on igc0 executing
2024-08-29T15:40:27 Warning radvd prefix length should be 64 for igc1
2024-08-29T15:38:33 Notice dhcp6c dhcp6c_script: RENEW on igc0 executing
2024-08-29T15:38:12 Notice dhcp6c dhcp6c_script: RENEW on igc0 executing
2024-08-29T15:36:58 Notice dhclient dhclient-script: Creating resolv.conf
2024-08-29T15:36:58 Notice dhclient dhclient-script: Reason RENEW on igc0 executing
2024-08-29T15:33:28 Warning radvd prefix length should be 64 for igc1
2024-08-29T15:26:58 Notice dhclient dhclient-script: Creating resolv.conf
2024-08-29T15:26:58 Notice dhclient dhclient-script: Reason RENEW on igc0 executing
2024-08-29T15:26:57 Warning radvd prefix length should be 64 for igc1
2024-08-29T15:21:53 Notice dhcp6c dhcp6c_script: RENEW on igc0 executing
2024-08-29T15:21:32 Notice dhcp6c dhcp6c_script: RENEW on igc0 executing
2024-08-29T15:18:18 Warning radvd prefix length should be 64 for igc1
2024-08-29T15:16:58 Notice dhclient dhclient-script: Creating resolv.conf
2024-08-29T15:16:58 Notice dhclient dhclient-script: Reason RENEW on igc0 executing
2024-08-29T15:08:45 Warning radvd prefix length should be 64 for igc1
2024-08-29T15:06:58 Notice dhclient dhclient-script: Creating resolv.conf
2024-08-29T15:06:58 Notice dhclient dhclient-script: Reason RENEW on igc0 executing
2024-08-29T15:05:13 Notice dhcp6c dhcp6c_script: RENEW on igc0 executing
2024-08-29T15:04:52 Notice dhcp6c dhcp6c_script: RENEW on igc0 executing
2024-08-29T15:01:05 Notice syslog-ng Configuration reload finished;
2024-08-29T15:01:05 Notice syslog-ng Configuration reload request received, reloading configuration;
2024-08-29T14:59:40 Warning radvd prefix length should be 64 for igc1
2024-08-29T14:56:58 Notice dhclient dhclient-script: Creating resolv.conf
2024-08-29T14:56:58 Notice dhclient dhclient-script: Reason RENEW on igc0 executing
2024-08-29T14:54:58 Warning radvd prefix length should be 64 for igc1
2024-08-29T14:48:33 Notice dhcp6c dhcp6c_script: RENEW on igc0 executing
2024-08-29T14:48:12 Notice dhcp6c dhcp6c_script: RENEW on igc0 executing
2024-08-29T14:46:58 Notice dhclient dhclient-script: Creating resolv.conf
2024-08-29T14:46:58 Notice dhclient dhclient-script: Reason RENEW on igc0 executing
2024-08-29T14:45:24 Warning radvd prefix length should be 64 for igc1
2024-08-29T14:38:24 Warning radvd prefix length should be 64 for igc1
2024-08-29T14:36:58 Notice dhclient dhclient-script: Creating resolv.conf
2024-08-29T14:36:58 Notice dhclient dhclient-script: Reason RENEW on igc0 executing
2024-08-29T14:33:45 Warning radvd prefix length should be 64 for igc1
2024-08-29T14:31:53 Notice dhcp6c dhcp6c_script: RENEW on igc0 executing
2024-08-29T14:31:32 Notice dhcp6c dhcp6c_script: RENEW on igc0 executing
2024-08-29T14:27:39 Warning radvd prefix length should be 64 for igc1
2024-08-29T14:26:58 Notice dhclient dhclient-script: Creating resolv.conf
2024-08-29T14:26:58 Notice dhclient dhclient-script: Reason RENEW on igc0 executing