LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 02-03-2011, 09:52 AM   #1
rosv
Member
 
Registered: Jul 2008
Distribution: Slackware, ubuntu
Posts: 53

Rep: Reputation: 15
Max num of concurrent tcp connections && tcp auto tune


How do I find the maximum number of concurrent connections (in any state)?

I'm running RHEL5 2.6.18-194.26.1.el5

Also, does tcp auto tune affect the number of concurrent connections or is it mostly used for dynamic buffer size allocation?
 
Old 02-03-2011, 04:02 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,410
Blog Entries: 1

Rep: Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115
Ive seen this question come up a number of times, but I haven't been able to find an answer to it.
 
Old 02-03-2011, 05:41 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,725
Blog Entries: 54

Rep: Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970
IIGC there's no single simple answer: there's hardware limits (Linux auto-tuning the stack on boot looking at available memory), there's kernel compile-time limits (file descriptors), there's ports configured to be used for connections (like net.ipv4.ip_local_port_range) and userland applications may be configured with limits or be compiled with restrictions (epoll vs select?). Even then there's tweaks (like net.ipv4.tcp_tw_reuse) and handing off repetitive requests (proxying) that could help.
* BTW you're not that far behind but for some reason we're at 2.6.18-194.32.1.el5 right now.
 
1 members found this post helpful.
Old 02-04-2011, 03:57 AM   #4
rosv
Member
 
Registered: Jul 2008
Distribution: Slackware, ubuntu
Posts: 53

Original Poster
Rep: Reputation: 15
Thanks for the info. There's more info here: http://tkj.freeshell.org/unix/max-tcp-connections/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Max concurrent ssh connections limit vbarakam@yahoo.com Linux - Newbie 1 07-13-2009 01:19 AM
Any recommandation for tune the tcp\ip stack shaybery Linux - Networking 4 01-26-2008 05:51 PM
tune TCP stack for HTTP connections naijaguy Linux - General 0 02-01-2005 07:42 PM
limiting concurrent TCP sessions from a single IP n3tw0rk Linux - Security 2 12-31-2003 07:56 AM
Rh6 & Tcp BrianK Programming 1 11-21-2002 08:35 PM


All times are GMT -5. The time now is 07:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration