public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Till Immanuel Patzschke <tip@internetwork-ag.de>
To: Sven Koch <haegar@sdinet.de>
Cc: Fernando Netto <Fernando_Netto@cmsoftware.com.br>,
	linux-kernel@vger.kernel.org
Subject: Re: Is there a MAX TCP/UDP CONNECTIONS limit in Kernel?
Date: Thu, 01 Nov 2001 20:45:13 +0100	[thread overview]
Message-ID: <3BE1A649.4718E3B2@internetwork-ag.de> (raw)
In-Reply-To: <Pine.LNX.4.40.0111011931471.7334-100000@space.comunit.de>

... there may be some sort of "implicit" limit resulting from the kernel memory.
I've run into the same problem but a fix is easy.  Get the 3.5G patch from
Andrea's patch series (the -aa one), and modify it to NOT have 3.5GB of user
memory but 2.5 or 2 GB for example. Worked fine for me...
Cheers,

Immanuel


Sven Koch wrote:

> On Thu, 1 Nov 2001, Fernando Netto wrote:
>
> > I´m having problems with concurrent TCP/UDP connections in my machine and
> > wondered if there is a limit in Kernel of "how many connections can be open
> > simoultaneously".
>
> Are you talking of inbound, or outbound connections?
>
> Inbound-connections are mostly limited by the available filehandles and by
> how much server-processes your box can handle.
>
> Outbound-connections are limited by the local portrange, changeable
> in /proc/sys/net/ipv4/ip_local_port_range
> (ran into this on one of my proxy servers, having thousands of connections
> in the state CLOSING, TIME_WAIT and LAST_ACK - after
> echo "1024 16383" >/proc/sys/net/ipv4/ip_local_port_range the box at
> least stays working)
>
> > If someone know something about limitations and how to tune it up about this
> > matter, please don´t forget to put my address in CC as I´m not a signer of
> > this list.
>
> c'ya
> sven
>
> --
>
> The Internet treats censorship as a routing problem, and routes around it.
> (John Gilmore on http://www.cygnus.com/~gnu/)
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

--
Till Immanuel Patzschke                 mailto: tip@internetwork-ag.de
interNetwork AG                         Phone:  +49-(0)611-1731-121
Bierstadter Str. 7                      Fax:    +49-(0)611-1731-31
D-65189 Wiesbaden                       Web:    http://www.internetwork-ag.de




  reply	other threads:[~2001-11-01 19:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-01 16:33 Is there a MAX TCP/UDP CONNECTIONS limit in Kernel? Fernando Netto
2001-11-01 18:37 ` Sven Koch
2001-11-01 19:45   ` Till Immanuel Patzschke [this message]
2001-11-01 20:23   ` David S. Miller

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=3BE1A649.4718E3B2@internetwork-ag.de \
    --to=tip@internetwork-ag.de \
    --cc=Fernando_Netto@cmsoftware.com.br \
    --cc=haegar@sdinet.de \
    --cc=linux-kernel@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