Maintained by: NLnet Labs

error: outgoing tcp: bind: Address already in use

Pete Wright
Fri Jul 21 18:32:57 CEST 2017



On 07/20/2017 20:29, Nick Urbanik via Unbound-users wrote:
> Dear Folks,
>
> On 06/07/17 18:13 +1000, Nick Urbanik via Unbound-users wrote:
>> 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
>
> Could our setting of
> max-udp-size: 3072
> be too low?  Any guidelines for tuning this?

not likely since this is a TCP error not UDP error.  Are you sure there 
are no other processes binding to the port that your unbound wants to 
listen on?  try running sockstat or netstat to see if any procs are 
already listening that you may need to kill.

-pete

-- 
Pete Wright
pete at nomadlogic.org
@nomadlogicLA