Message386753
I wrote a simple proxy with Python3.8 and Asyncio, but I found it couldn't handle passive close correctly, a lot of CLOSE_WAIT sockets couldn't be released. I had trouble shot it for a long time with no progress.
netstat -anop tcp | grep CLOSE_WAIT
tcp6 0 0 64.XXX.XXX.XXX:80 113.58.229.12:46996 CLOSE_WAIT 10486/python3.8 off (0.00/0/0)
tcp6 0 0 64.XXX.XXX.XXX:80 222.137.35.237:54914 CLOSE_WAIT 10485/python3.8 off (0.00/0/0)
tcp6 0 0 64.XXX.XXX.XXX:80 119.39.47.229:53882 CLOSE_WAIT 10486/python3.8 off (0.00/0/0)
tcp6 0 0 64.XXX.XXX.XXX:80 123.14.254.238:49262 CLOSE_WAIT 10486/python3.8 off (0.00/0/0)
tcp6 0 0 64.XXX.XXX.XXX:80 121.57.230.51:35036 CLOSE_WAIT 10486/python3.8 off (0.00/0/0)
tcp6 0 0 64.XXX.XXX.XXX:80 124.235.138.253:44882 CLOSE_WAIT 10486/python3.8 off (0.00/0/0)
tcp6 0 0 64.XXX.XXX.XXX:80 36.5.157.219:38006 CLOSE_WAIT 10486/python3.8 off (0.00/0/0)
tcp6 0 0 64.XXX.XXX.XXX:80 150.255.5.121:39288 CLOSE_WAIT 10486/python3.8 off (0.00/0/0) |
|
Date |
User |
Action |
Args |
2021-02-10 01:56:34 | Bob_2021 | set | recipients:
+ Bob_2021, asvetlov, yselivanov |
2021-02-10 01:56:34 | Bob_2021 | set | messageid: <1612922194.82.0.214805555542.issue43183@roundup.psfhosted.org> |
2021-02-10 01:56:34 | Bob_2021 | link | issue43183 messages |
2021-02-10 01:56:34 | Bob_2021 | create | |
|