fastdfs
fastdfs copied to clipboard
两台云服务器搭建集群,storage服务器会频繁离线
用两台云服务器搭建fastdfs集群时,可以正常工作,但是storage服务器会频繁的变为离线状态。请问有遇到过这种情况嘛
我两台服务器一台境内,一台境外,通过vpn内网连接,境外的服务器也是经常掉线 [2020-11-29 12:07:03] ERROR - file: tracker_client_thread.c, line: 1296, tracker server 192.168.18.70:22122, recv data fail, errno: 110, error info: Connection timed out. [2020-11-29 12:07:04] ERROR - file: sockopt.c, line: 1016, bind ip 10.77.12.8, bind port 0 failed, errno: 99, error info: Cannot assign requested address. [2020-11-29 12:07:04] ERROR - file: tracker_client_thread.c, line: 260, connect to tracker server 192.168.18.70:22122 fail, errno: 99, error info: Cannot assign requested address [2020-11-29 12:07:26] ERROR - file: tracker_client_thread.c, line: 1296, tracker server 10.77.12.8:22122, recv data fail, errno: 110, error info: Connection timed out. [2020-11-29 12:07:26] ERROR - file: tracker_proto.c, line: 39, server: 192.168.18.70:23000, recv data fail, errno: 110, error info: Connection timed out [2020-11-29 12:07:26] ERROR - file: tracker_proto.c, line: 190, fdfs_recv_header fail, cmd: 111, result: 110 [2020-11-29 12:07:27] ERROR - file: sockopt.c, line: 1016, bind ip 10.77.12.8, bind port 0 failed, errno: 99, error info: Cannot assign requested address. [2020-11-29 12:07:27] ERROR - file: tracker_client_thread.c, line: 260, connect to tracker server 10.77.12.8:22122 fail, errno: 99, error info: Cannot assign requested address [2020-11-29 12:07:27] ERROR - file: sockopt.c, line: 1016, bind ip 10.77.12.8, bind port 0 failed, errno: 99, error info: Cannot assign requested address. [2020-11-29 12:07:28] CRIT - file: storage_sync_func.c, line: 92, socket create fail, program exit! [2020-11-29 12:07:34] ERROR - file: tracker_client_thread.c, line: 546, connect to tracker server 192.168.18.70:22122 fail, try count: 1, errno: 99, error info: Cannot assign requested address [2020-11-29 12:07:57] ERROR - file: tracker_client_thread.c, line: 546, connect to tracker server 10.77.12.8:22122 fail, try count: 1, errno: 99, error info: Cannot assign requested address [2020-11-29 12:08:05] INFO - exit normally.
我这边报错的原因是因为受到了来自外网的攻击。及时安装防火墙和购买了云盾服务以后就解决了。希望对你有帮助
请问,也是通过VPN方式搭建的集群吗? 除了VPN方式,还有其他的方式么? 查了几天没有找到相关文档, 留言求助。