Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Each TCP socket needs a file descriptor (an integer), and there's a kernel limit on the maximum number of open file descriptors, though I don't know the kernel parameter name, nor it's default value. Additionally, each TCP socket needs a socket structure, which also consumes a small amount of memory. So as a practical matter, if you could theoretically set the max file descriptor parameter to infinity, the maximum number of TCP connections should be limited only by the quantity of available memory.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.