请问Worker连接到Gateway出现大量失败是什么情况?

frontlon

GatewayConnection Error : 1 ,connect 172.16.17.4:4000 fail after 7.2382 seconds
GatewayConnection Error : 1 ,connect 172.16.17.4:4004 fail after 7.2382 seconds
GatewayConnection Error : 1 ,connect 172.16.17.4:4003 fail after 7.2381 seconds
GatewayConnection Error : 1 ,connect 172.16.17.4:4007 fail after 7.2379 seconds
GatewayConnection Error : 1 ,connect 172.16.17.4:4010 fail after 7.2379 seconds
GatewayConnection Error : 1 ,connect 172.16.17.4:4006 fail after 7.2379 seconds
GatewayConnection Error : 1 ,connect 172.16.17.4:4017 fail after 7.2379 seconds
GatewayConnection Error : 1 ,connect 172.16.17.4:4013 fail after 7.2379 seconds
GatewayConnection Error : 1 ,connect 172.16.17.4:4020 fail after 7.2379 seconds
GatewayConnection Error : 1 ,connect 172.16.17.4:4016 fail after 7.2378 seconds
GatewayConnection Error : 1 ,connect 172.16.17.4:4025 fail after 7.2376 seconds
GatewayConnection Error : 1 ,connect 172.16.17.4:4023 fail after 7.2376 seconds
GatewayConnection Error : 1 ,connect 172.16.17.4:4026 fail after 7.2376 seconds
GatewayConnection Error : 1 ,connect 172.16.17.4:4021 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.4:4018 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.4:4028 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.4:4019 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.4:4024 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.4:4031 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4003 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4001 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4000 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4006 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4004 fail after 7.2373 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4011 fail after 7.2373 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4010 fail after 7.2373 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4012 fail after 7.2373 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4009 fail after 7.2373 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4016 fail after 7.2373 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4008 fail after 7.2373 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4007 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4015 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4005 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4014 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4019 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4022 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4017 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4021 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4020 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4013 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4018 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4029 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4028 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4026 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4027 fail after 7.2373 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4023 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4025 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4024 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4031 fail after 7.2374 seconds
GatewayConnection Error : 1 ,connect 172.16.17.5:4030 fail after 7.2374 seconds

4167 1 0
1个回答

walkor 打赏

workerman连不上172.16.17.5的4xxx端口,一般是防火墙和安全组将连接挡住了

  • frontlon 2018-04-11

    正常情况下访问是没事的,就是并发测试量一大,就会出现这种情况。

  • walkor 2018-04-11

    根据手册优化下linux内核,并安装event扩展

年代过于久远,无法发表回答
×
🔝