You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should be using 'ss' as opposed to netstat. I have instances that are running with socket connections > 20000 - Netstat will either timeout or topple over before the metric is sent. Can we discuss changing this to ss since it gets its metrics directly from the kernel space as opposed to /proc (netstat) which is heavy.
👍 Netstat is evil - it will throw out information to ensure output is formatted nicely - surely the worst design goal ever. Apparently this is not considered a bug!
Should be using 'ss' as opposed to netstat. I have instances that are running with socket connections > 20000 - Netstat will either timeout or topple over before the metric is sent. Can we discuss changing this to ss since it gets its metrics directly from the kernel space as opposed to /proc (netstat) which is heavy.
(line 141) netstat = subprocess.Popen(["netstat", "-n", "-u", "-t", "-a"],
stdout=subprocess.PIPE,
close_fds=True).communicate()[0]
The text was updated successfully, but these errors were encountered: