-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Lots of ESTABLISHED proxy connection leave in system, ss command return no keepalive timer.
root@ecs-web-2:~# lsof -p 45576 |grep IPv
php 45576 web 5u IPv4 965777 0t0 TCP *:2345 (LISTEN)
php 45576 web 15u IPv4 979696 0t0 TCP ecs-web-2:35526->xx.xx.79.224:62008 (ESTABLISHED)
php 45576 web 16u IPv4 964904 0t0 TCP ecs-web-2:21576->xx.xx.79.224:61031 (ESTABLISHED)
php 45576 web 17u IPv4 964063 0t0 TCP ecs-web-2:24330->xx.xx.79.225:56114 (ESTABLISHED)
php 45576 web 18u IPv4 964059 0t0 TCP ecs-web-2:24302->xx.xx.79.225:56114 (ESTABLISHED)
php 45576 web 20u IPv4 979714 0t0 TCP ecs-web-2:20790->xx.xx.79.224:60034 (ESTABLISHED)
php 45576 web 21u IPv4 964949 0t0 TCP ecs-web-2:21594->xx.xx.79.224:61031 (ESTABLISHED)
php 45576 web 22u IPv4 964939 0t0 TCP ecs-web-2:24344->xx.xx.79.225:56114 (ESTABLISHED)
php 45576 web 25u IPv4 967879 0t0 TCP ecs-web-2:13356->xx.xx.99.56:52031 (ESTABLISHED)
php 45576 web 26u IPv4 963314 0t0 TCP ecs-web-2:27192->xx.xx.99.57:52035 (ESTABLISHED)
php 45576 web 27u IPv4 965036 0t0 TCP ecs-web-2:13034->xx.xx.79.225:62016 (ESTABLISHED)
php 45576 web 33u IPv4 963176 0t0 TCP ecs-web-2:31100->xx.xx.79.225:59011 (ESTABLISHED)
It's 15:44 now, but the connection created at 13:01, client is already destruct in php:
root@ecs-web-2:~# ll /proc/45576/fd/15
lrwx------ 1 web www-data 64 Jun 21 13:01 /proc/45576/fd/15 -> 'socket:[979696]'
ss info has no keepalive timer:
root@ecs-web-2:~# ss -aeon | grep 'xx.xx.79.224:62008'
tcp ESTAB 0 0 192.168.1.60:35526 xx.xx.79.224:62008 uid:1000 ino:979696 sk:168b <->
ss normal connection:
tcp ESTAB 0 0 192.168.1.60:2345 47.93.20.248:48210 timer:(keepalive,1min9sec,0) uid:1000 ino:1055699 sk:148a <->
I have use php-meminfo (https://github.com/BitOne/php-meminfo) extension to detect the Amp\Http\Client\HttpClient and Amp\Http\Tunnel\Http1TunnelConnector instance count is normal, but the connection leave too much.
Where the problem it is?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels