error: outgoing tcp: bind: Address already in use

W.C.A. Wijngaards wouter at nlnetlabs.nl
Thu Jul 6 08:30:19 UTC 2017


Hi Nick,

The config number for outgoing tcp is likely too low.  outgoing-num-tcp:
1000

Also, you may be running out of port numbers, perhaps this causes the
'bind a tcp socket returns errno Address already in use', because the
choice of port number was left to the kernel?  Unless you force a
particular port number in the config, but that is unlikely.  People
usually want to change the kernel handling of timewait with port reuse
when that happens.

Best regards, Wouter

On 06/07/17 10:13, Nick Urbanik via Unbound-users wrote:
> Dear Folks,
> 
> A DNS server running unbound 1.6.3 has these messages; any suggestions
> on what is happening?
> 
> error: serviced_tcp_initiate: failed to send tcp query
> error: outgoing tcp: bind: Address already in use


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20170706/e6355b4d/attachment.bin>


More information about the Unbound-users mailing list