How to Identify high number of active connections to a proxy

Overview:

This article provides information on the active connections to a proxy and will help to identify where the majority of them are coming from.

 

Issue: 

Observing a surge in the number of active connections to a proxy.

 

Cause:  

There can be a possibility that a single host might have established multiple TCP connections to the same destination port (with different source ports).

 

Troubleshooting steps:

~proxy.listeners.connections.active metric tracks the number of currently active connections

 

mceclip0.png

 

If you want to identify from where these connections are coming from then you can run the below command,

netstat -anp --tcp

 

Example output:

Windows:

Active_Connections.JPG

 

Linux:

mceclip0.png

 

Also, you can see how many connections telegraf is making by running the below command in the source machine where you installed telegraf ,

lsof -p $(pgrep telegraf)

 

Example output :

Linux:

mceclip1.png

 

 

 

 

 

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments