Continuing: I added logging of successful accept()s in comm_point_perform_accept(), and this resulted in:
% time kdig @158.38.0.1 +timeout=120 +tls vg.no. a ;; Time 2019-11-24 15:37:26 CET ;; From 158.38.0.1@853(TCP) in 5.2 ms 0.003u 0.003s 0:12.62 0.0% 0+0k 0+0io 0pf+0w and this in the log: Nov 24 15:37:39 oliven unbound: [15650:0] notice: accept ok from ip4 158.38.62.77 port 64691 (len 16) Nov 24 15:37:39 oliven unbound: [15650:0] notice: ssl handshake with ip4 158.38.62.77 port 64691 (len 16) Nov 24 15:37:39 oliven unbound: [15650:0] notice: ssl handshake with ip4 158.38.62.77 port 64691 (len 16) So, apparently, unbound is sometimes slow in doing accept() of new connections. Why? Regards, - HÃ¥vard
