AWS Network load balancer - What is client reset count and why is it high

+1 vote

The documentation for the various client/target/elb reset count metrics
(
TCP_Client_Reset_Count, TCP_Target_Reset_Count, TCP_ELB_Reset_Count)
just says they count RST packets. I tried to understand what a RST packet is, and it seems to have to do with broken TCP connections. My load balancer has a single, long-term, seemingly successful client connection. Why do I see on the order of 100 client resets per hour? I also see about 10 load balancer resets per hour, and 0 target resets.

EDIT: I just observed that increasing the size of the server instance (I'm using Farscape--increased 0.25 vCPU to 0.5) led to a 10-fold reduction in client resets per hour. The number of load balancer resets did not change.

Aug 23, 2018 in AWS by bug_seeker
• 15,510 points
11,350 views

1 answer to this question.

0 votes

There are many reasons for an TCP RST to be sent. Some are not normal, meaning errors, and some are normal connection cleanups that the TCP/IP stack or application performs.

An example of a normal TCP RST would be a long lived connection that exceeds some time limit imposed by one side or the other. Once the time limit is exceeded the connection can be "forceably" closed which will generate the RST.

An example of a not normal TCP RST would be an application that abruptly disconnected due to an internal error.

A poorly written application can also cause TCP RST when it does not perform graceful shutdowns on the TCP socket before closing the connection.

I will guess that the behavior you are seeing is not a problem. However, to really know, you will need to do a wire trace and protocol analysis on each connection to determine exactly what is happening.

To know more about Migrating to AWS, join our AWS Cloud Migration Course. Also, If you wish to master the principles in AWS and work on step-by-step tasks that have significant relevance for the world of business, industry professionals developed the AWS syllabus.

answered Aug 23, 2018 by Priyaj
• 58,020 points

Related Questions In AWS

0 votes
1 answer
0 votes
1 answer

What is Amazon Gaurd Duty and why use it?

Amazon Gaurd Duty offers threat detection that ...READ MORE

answered Apr 9, 2019 in AWS by Gargi
809 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

What is the benfits of using Elastic Load Balancer in VPC?

Hello, @Jino. Talking about the Load Balancer, it ...READ MORE

answered Nov 20, 2018 in AWS by Priyaj
• 58,020 points
949 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP