Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mdiag.sh - add netstat -s #128

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

frederik-mdb
Copy link

I find useful the stats provided by netstat -s, in particular this one that shows when local listening servers are unresponsive:

netstat -s | grep listen

example taken from https://devops-insider.mygraphql.com/zh_CN/latest/kernel/network/socket/listen-queues/ref/tcp-syn-queue-and-accept-queue-overflow-explained.html:

$ netstat -s | grep -i "listen"
189088 times the listen queue of a socket overflowed
30140232 SYNs to LISTEN sockets dropped

Those stats get zeroed after system restart and do not show the port but I believe that are useful.

I find useful the stats provided by `netstat -s`, in particular this one that shows when a listening server is sometimes unresponsive:

netstat -s | grep -i listen

example taken from https://devops-insider.mygraphql.com/zh_CN/latest/kernel/network/socket/listen-queues/ref/tcp-syn-queue-and-accept-queue-overflow-explained.html:


$ netstat -s | grep -i "listen"
    189088 times the listen queue of a socket overflowed
30140232 SYNs to LISTEN sockets dropped


Those stats get zeroed after system restart and do not show the port but I believe that are useful.
@jsmurphy
Copy link
Member

Hi Frederik,

Please create the relevant Jira ticket as per the change process, so that this may be reviewed.

Thanks

@frederik-mdb
Copy link
Author

frederik-mdb commented Jul 4, 2023

Hi John,

I looked at the already opened tickets and found this same request, so I linked this pull request in that Jira ticket: https://jira.mongodb.org/browse/TSPROJ-4602 .

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants