How to Identify high number of active connections to a proxy
search cancel

How to Identify high number of active connections to a proxy

book

Article ID: 283586

calendar_today

Updated On:

Products

Insights

Issue/Introduction

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 (15).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 (16).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 (5).png