Re: Address already in use problem

From: Sun Paul
Date: Wed Sep 21 2016 - 10:15:50 EST


Hi

we are using redhat 2.6.32-642.4.2.el6.x86_64

On Wed, Sep 21, 2016 at 10:04 PM, Marcelo Ricardo Leitner
<marcelo.leitner@xxxxxxxxx> wrote:
> Hi,
>
> On Wed, Sep 21, 2016 at 09:44:30PM +0800, Sun Paul wrote:
>> Hi
>>
>> we have an SCTP application running in JAVA. and we found that there
>> is a problem when we as a client trying to connect to a remote IP
>> address.
>>
>> If the remote IP address is not accessible, our application will keep
>> retrying to connect using a self-defined local port address, says
>> 51001,
>>
>> We found that after sometimes, says 2 hrs, this port 51001 is never
>> able to bind to us again. even we tried to restart the application.
>>
>> Is there anyone know how we can resolve this?
>
> Which kernel are you using? Depending on it, that may be fixed by a
> recent patchset from Xin Long, 'sctp: fix the transmit err process'
> patchset more exactly.
>
> Marcelo
>