Code Monkey home page Code Monkey logo

http-tunnel's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

http-tunnel's Issues

Lots of ESTABLISHED proxy connection leave in system

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.