I am a new bee in the networking field. I have deployed a website which is built in java. My site's response slows down after increasing TCP/IP connections. I have use below command to check the coneections:_ netstat -an|awk '/tcp/ {print $6}'|sort -nr| uniq -c
And below is the response:- 12804 TIME_WAIT 8 LISTEN 75 ESTABLISHED 571 CLOSE_WAIT
Would you please tell me how these ESTABLISHED connections are increasing and how can I handle these connections.Do we need to handle these connections on application level or server level?
My java application using Postgres DB and running on Linux OS.
Thanks in advance,