Networking Forums

Networking Forums > Computer Networking > Linux Networking > Maximum Number of TCP Connections for Red Hat Linux 8.x

Reply
Thread Tools Display Modes

Maximum Number of TCP Connections for Red Hat Linux 8.x

 
 
DEngelbrechtBT
Guest
Posts: n/a

 
      12-09-2004, 06:09 PM
Could anyone tell me what the default for the maximum number of TCP connections
is for Red Hat Linux 8.x and how to change this value?

TIA

Detlef
 
Reply With Quote
 
 
 
 
Arne Schmitz
Guest
Posts: n/a

 
      12-09-2004, 08:49 PM
DEngelbrechtBT schrieb:

> Could anyone tell me what the default for the maximum number of TCP
> connections is for Red Hat Linux 8.x and how to change this value?


That depends. Are you using iptables for routing and/or firewalling? If so,
then you might want to change the ip_conntrack values. Look at these
special files (just "cat" them -- values can be written with "echo"):

/proc/sys/net/ipv4/ip_conntrack_max
/proc/sys/net/ipv4/netfilter/ip_conntrack_max

Although, the default is somewhere arounde 32.000, I think. That should be
sufficient for most cases.

Arne

--
[--- PGP key FD05BED7 --- http://www.root42.de/ ---]
 
Reply With Quote
 
/dev/null
Guest
Posts: n/a

 
      12-10-2004, 07:44 AM
> Could anyone tell me what the default for the maximum number of TCP
> connections
> is for Red Hat Linux 8.x and how to change this value?


~ 1024 per process.

Where this comes from is the number of file handles given per process which
is 1024. The first 3 are usually ate up by stdin, stdout, and stderr. The
rest will be split between file and socket handles.

To change it you have to rebuild your kernel. I can't remember the #define,
do a google and I'm sure you'll find it.


 
Reply With Quote
 
/dev/null
Guest
Posts: n/a

 
      12-10-2004, 07:46 AM
>> Could anyone tell me what the default for the maximum number of TCP
>> connections is for Red Hat Linux 8.x and how to change this value?

>
> That depends. Are you using iptables for routing and/or firewalling? If
> so,
> then you might want to change the ip_conntrack values. Look at these
> special files (just "cat" them -- values can be written with "echo"):


The OP didn't ask for how many connections can be tracked by iptables.


 
Reply With Quote
 
Juha Laiho
Guest
Posts: n/a

 
      12-10-2004, 08:33 PM
(E-Mail Removed) (DEngelbrechtBT) said:
>Could anyone tell me what the default for the maximum number of TCP connections
>is for Red Hat Linux 8.x and how to change this value?


For outbound sessions, also your /proc/sys/net/ipv4/local_port_range may
affect.
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the Default Maximum Number of TCP Connections ? TIA Windows Networking 2 04-01-2009 11:58 AM
Maximum number of APs in use on WZC service? Richard Wireless Networks 5 01-27-2009 11:14 PM
Maximum number of connections MedTech Windows Networking 2 08-20-2005 06:25 PM
Maximum number of UDP ports? cbrown@sensis.com Windows Networking 1 08-19-2005 01:17 PM
MN-700 - Maximum Number of Connections TC Broadband Hardware 2 02-16-2004 01:30 AM



1 2 3 4 5 6 7 8 9 10 11