[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTikSvf8bNK2_eHg+cWQJLz-56_88mrf0ttJX3W=0@mail.gmail.com>
Date: Wed, 26 Jan 2011 14:23:44 +0200
From: Daniel Baluta <daniel.baluta@...il.com>
To: denys@...p.net.lb
Cc: netdev@...r.kernel.org
Subject: Re: 40k+ outbound connections and bind() problem
Hi,
On Wed, Jan 26, 2011 at 2:14 PM, <denys@...p.net.lb> wrote:
> I am running server (TCP accelerator), which is initiating more than 40K
> connections.
> Each instance of server bound to separate IP, and each of them handling
> around 5-10K connections.
> At moments, when i have excessive connect/disconnect events if i try to
> establish connection even from IP is not used,
> during bind() i am getting errno "Address already in use".
> What can be the issue?
> Will it help if i increase in kernel hardcoded limit from 64K TCP bind hash
> entries to higher values?
Please provide more information. What kernel version are you using?
Are you binding on a SO_REUSEADDR socket right?
thanks,
Daniel.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists