From: denys@visp.net.lb
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Daniel Baluta <daniel.baluta@gmail.com>, <netdev@vger.kernel.org>
Subject: Re: 40k+ outbound connections and bind() problem
Date: Wed, 26 Jan 2011 15:23:38 +0200 [thread overview]
Message-ID: <398df9351d5c9aec1ba69511d9dc6a70@visp.net.lb> (raw)
In-Reply-To: <1296047834.2899.62.camel@edumazet-laptop>
On Wed, 26 Jan 2011 14:17:14 +0100, Eric Dumazet wrote:
> Le mercredi 26 janvier 2011 à 15:00 +0200, Daniel Baluta a écrit :
>> Hi,
>>
>> > Latest stable, 2.6.37
>>
>> Please apply this patch [1] and see if it's still happening.
>>
>> thanks,
>> Daniel
>>
>> [1] http://www.spinics.net/lists/netdev/msg152204.html
>> -
>
> I dont think it'll help ;)
>
> Denys problem is if one source IP address is used, there is an
> absolute
> 64K limit to (IP, port) tuple
>
> Only thing you can do is to tune
> /proc/sys/net/ipv4/ip_local_port_range
> to get close to 64K limit
No, it is not one ip source.
As i mention before, i am binding each instance to different IP before
connect().
And when i am having issues and such errors, i am trying httping and
binding it to some unused ip, but still getting this error.
next prev parent reply other threads:[~2011-01-26 13:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-26 12:14 40k+ outbound connections and bind() problem denys
2011-01-26 12:23 ` Daniel Baluta
2011-01-26 12:35 ` denys
2011-01-26 13:00 ` Daniel Baluta
2011-01-26 13:17 ` Eric Dumazet
2011-01-26 13:23 ` denys [this message]
2011-01-26 13:26 ` Eric Dumazet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=398df9351d5c9aec1ba69511d9dc6a70@visp.net.lb \
--to=denys@visp.net.lb \
--cc=daniel.baluta@gmail.com \
--cc=eric.dumazet@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox