Solved

How many connections?

Posted on 2001-09-17
4
165 Views
Last Modified: 2010-04-21
Hi, I'm developing a daemon server in linux, i want to know linux system can support how many tcp connections. would you like to help me?

regards

wintch
0
Comment
Question by:wintch
  • 2
4 Comments
 
LVL 8

Expert Comment

by:mnashadka
ID: 6488692
Try netstat -an | grep -c <port>.  netstat is usually in /sbin/ or /usr/sbin, depending on the version of Linux/Unix you are using.  Of course the grep can be refined.  Hope this helps.
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 6488737
Linux can connect to 65536, roughly.
So subtract the currently connected ports, and you have the amount of available connections for your process.
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6786552
wintch logged in as recently as 01/29/02 and chose not to update and finalize the open questions, despite
an August request already do to do.  I will post this in them all.

EXPERTS .... please let me know what you believe to be the fair outcome here, since it appears I will be finalizing this if wintch chooses not to within the next 7 days.

Moondancer
Community Support Moderator @ Experts Exchange
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6792393
Thanks for returning and updating this question.  Can you please tell me why you chose a "B" versus an "A" grade here?  It is always appreciated when grades are less than an A to receive comments as to why so that both experts and future PAQ readers can be advised.

If this was in error, let me know so I can correct this.

Thank you.

Moondancer
Community Support Moderator @ Experts Exchange
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
why should double free() crash? 7 35
null coming in rpm name 3 79
What is the timeframe of this cron job? 2 147
Help with Ubuntu 14.04 LTS 10 139
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question