Reducing error events in log file

rgsub1 at btinternet.com rgsub1 at btinternet.com
Sun Apr 28 14:48:07 UTC 2019


Unbound V1.9.1

 

On Windows the following line is not useable:

 

                # use SO_REUSEPORT to distribute queries over threads.

                # so-reuseport: no

 

When the number of events is greater than 64 Unbound generates these errors
(This will happen all the time):

 

28/04/2019 14:44:17 C:\Program Files\Unbound\unbound.exe[1352:1] error:
event_add failed. in cpsl.

28/04/2019 14:44:17 C:\Program Files\Unbound\unbound.exe[1352:1] error:
event_add failed. in cpsl.

28/04/2019 14:44:17 C:\Program Files\Unbound\unbound.exe[1352:1] error:
event_add failed. in cpsl.

28/04/2019 15:18:38 C:\Program Files\Unbound\unbound.exe[1352:1] error:
event_add failed. in cpsl.

28/04/2019 15:18:38 C:\Program Files\Unbound\unbound.exe[1352:1] error:
event_add failed. in cpsl.

28/04/2019 15:18:38 C:\Program Files\Unbound\unbound.exe[1352:1] error:
event_add failed. in cpsl.

28/04/2019 15:18:38 C:\Program Files\Unbound\unbound.exe[1352:1] error:
event_add failed. in cpsl.

28/04/2019 15:18:38 C:\Program Files\Unbound\unbound.exe[1352:1] error:
event_add failed. in cpsl.

28/04/2019 15:18:38 C:\Program Files\Unbound\unbound.exe[1352:1] error:
event_add failed. in cpsl.

28/04/2019 15:18:38 C:\Program Files\Unbound\unbound.exe[1352:1] error:
event_add failed. in cpsl.

 

Can the log level at which these are generated be raised so that they do not
clog up the log file when logging is set to the minimum value?

 

When Unbound starts it uses root hints to gather all the root servers as
part of its initialisation process. Most times I see these errors in the log
file for all the root servers in the root.hints file.

 

28/04/2019 14:42:10 C:\Program Files\Unbound\unbound.exe[1352:0] notice:
sendto failed: Network is unreachable.

28/04/2019 14:42:10 C:\Program Files\Unbound\unbound.exe[1352:0] notice:
remote address is 192.33.4.12 port 53

28/04/2019 14:42:10 C:\Program Files\Unbound\unbound.exe[1352:0] notice:
sendto failed: Network is unreachable.

28/04/2019 14:42:10 C:\Program Files\Unbound\unbound.exe[1352:0] notice:
remote address is 192.112.36.4 port 53

28/04/2019 14:42:10 C:\Program Files\Unbound\unbound.exe[1352:0] notice:
sendto failed: Network is unreachable.

28/04/2019 14:42:10 C:\Program Files\Unbound\unbound.exe[1352:0] notice:
remote address is 193.0.14.129 port 53

 

All the above sort of errors occur within 1 second or so of Unbound
starting.

 

Would it be an idea to change these errors to a higher logging level and at
the minimal logging have a couple of lines like:

 

Initialising root hints

Root hints initialisation complete

 

This would help to reduce the number of errors at low level logging. 

 

Just thoughts.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20190428/b544691d/attachment.htm>


More information about the Unbound-users mailing list