Active connections not clear close session
|Reported by:||Owned by:|
|uname -a:||Linux varnish62 4.4.0-134-generic #160-Ubuntu SMP Wed Aug 15 14:58:00 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux|
|nginx -V:||nginx version: nginx/1.15.2|
I've been trying for a while to figure out what is the problem for unclosed session, without success.
At least once every two days I see more then 1000 active connections under nginx by run this command:
curl -s http://127.0.0.1:1337/nginx_status
But actually I see that there are only 300 connections to the server under port 80 and 443 together:
netstat -anp | grep :80 | grep ESTABLISHED | wc -l
netstat -anp | grep :443 | grep ESTABLISHED | wc -l
And that number can continue to grow until I restart the service:
service nginx restart
It started to happen since I installed the official version from your repo instead of the official version from the ubuntu repo.
The same issue.
Regards, Kfir Man