免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7527 | 回复: 1
打印 上一主题 下一主题

[FastDFS] FastDFS v3.05经常挂掉,进程停止 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2018-06-12 17:37 |只看该作者 |倒序浏览
CentOS release 6.5
FastDFS v3.05经常挂掉,进程停止
日志如下,求大神帮忙分析下原因,非常感谢。


storage日志:
[2018-04-16 17:57:13] INFO - file: storage_func.c, line: 174, tracker_client_ip: 10.175.202.166, my_server_id_str: 10.175.202.166, g_server_id_in_filename: -1496666358
[2018-04-16 17:57:13] INFO - local_host_ip_count: 3,  127.0.0.1  10.175.202.166  120.26.85.138
[2018-04-16 17:57:13] INFO - file: tracker_client_thread.c, line: 308, successfully connect to tracker server 10.51.27.34:22122, as a tracker client, my ip is 10.175.202.166
[2018-04-16 17:57:13] INFO - file: tracker_client_thread.c, line: 1124, tracker server 10.51.27.34:22122, set tracker leader: 10.51.27.34:22122
[2018-04-16 17:57:13] INFO - file: tracker_client_thread.c, line: 308, successfully connect to tracker server 10.175.202.166:22122, as a tracker client, my ip is 10.175.202.166
[2018-04-16 18:00:44] INFO - file: storage_sync.c, line: 2698, successfully connect to storage server 10.51.27.34:23000
[2018-04-23 10:11:06] ERROR - file: storage_nio.c, line: 404, client ip: 10.168.3.49, recv failed, errno: 32, error info: Broken pipe
[2018-04-25 16:35:03] ERROR - file: storage_nio.c, line: 404, client ip: 10.168.3.49, recv failed, errno: 32, error info: Broken pipe
[2018-04-26 10:49:19] ERROR - file: tracker_proto.c, line: 37, server: 10.51.27.34:23000, recv data fail, errno: 110, error info: Connection timed out
[2018-04-26 10:49:20] INFO - file: storage_sync.c, line: 2698, successfully connect to storage server 10.51.27.34:23000
[2018-04-28 09:23:44] ERROR - file: storage_service.c, line: 4433, client ip: 10.168.3.49, file_ext_name: 襄县 is invalid!
[2018-04-28 09:23:57] ERROR - file: storage_service.c, line: 4433, client ip: 10.168.3.49, file_ext_name: 襄县 is invalid!
[2018-05-04 16:00:12] ERROR - file: storage_nio.c, line: 404, client ip: 10.168.3.49, recv failed, errno: 32, error info: Broken pipe
[2018-05-09 15:16:24] ERROR - file: storage_nio.c, line: 404, client ip: 10.171.212.116, recv failed, errno: 32, error info: Broken pipe
[2018-05-10 16:56:30] ERROR - file: storage_service.c, line: 4433, client ip: 10.171.212.116, file_ext_name: 帝豪 is invalid!
[2018-05-10 16:56:30] ERROR - file: storage_nio.c, line: 314, client ip: 10.171.212.116, pkg length: -4924214759862510093 < 0
[2018-05-18 14:48:39] ERROR - file: storage_nio.c, line: 404, client ip: 10.171.212.116, recv failed, errno: 32, error info: Broken pipe
[2018-05-28 17:56:55] ERROR - file: ../common/fdfs_global.c, line: 52, the format of filename "CjMbIlsL0dOAOMi8AAAAiBUUD_w6779.sh" is invalid
[2018-06-03 11:23:40] ERROR - file: storage_service.c, line: 4433, client ip: 10.171.212.116, file_ext_name: 报价 is invalid!
[2018-06-03 11:23:41] ERROR - file: storage_service.c, line: 4433, client ip: 10.171.212.116, file_ext_name: 十种 is invalid!
[2018-06-07 16:00:09] ERROR - file: tracker_proto.c, line: 37, server: 10.51.27.34:23000, recv data fail, errno: 110, error info: Connection timed out
[2018-06-07 16:00:10] INFO - file: storage_sync.c, line: 2698, successfully connect to storage server 10.51.27.34:23000
[2018-06-09 17:33:42] ERROR - file: tracker_proto.c, line: 37, server: 10.51.27.34:23000, recv data fail, errno: 107, error info: Transport endpoint is not connected
[2018-06-09 20:46:03] INFO - FastDFS v4.06, base_path=/home/fdfs/storage, store_path_count=3, subdir_count_per_path=256, group_name=group1, run_by_group=, run_by_user=, connect_timeout=30s, network_timeout=60s, port=23000, bind_addr=10.175.202.166, client_bind=1, max_connections=256, work_threads=4, disk_rw_separated=1, disk_reader_threads=1, disk_writer_threads=1, buff_size=256KB, heart_beat_interval=30s, stat_report_interval=60s, tracker_server_count=2, sync_wait_msec=50ms, sync_interval=0ms, sync_start_time=00:00, sync_end_time=23:59, write_mark_file_freq=500, allow_ip_count=-1, file_distribute_path_mode=0, file_distribute_rotate_count=100, fsync_after_written_bytes=0, sync_log_buff_interval=10s, sync_binlog_buff_interval=10s, sync_stat_file_interval=300s, thread_stack_size=512 KB, upload_priority=10, if_alias_prefix=, check_file_duplicate=0, file_signature_method=hash, FDHT group count=0, FDHT server count=0, FDHT key_namespace=, FDHT keep_alive=0, HTTP server port=8888, domain name=, use_access_log=0, rotate_access_log=0, access_log_rotate_time=00:00, rotate_error_log=0, error_log_rotate_time=00:00, rotate_access_log_size=0, rotate_error_log_size=0, file_sync_skip_invalid_record=0, use_connection_pool=0, g_connection_pool_max_idle_time=3600s

Tracker日志:
[2018-06-09 20:45:28] INFO - FastDFS v4.06, base_path=/home/fdfs/tracker, run_by_group=, run_by_user=, connect_timeout=30s, network_timeout=60s, port=22122, bind_addr=10.175.202.166, max_connections=256, work_threads=4, store_lookup=2, store_group=, store_server=0, store_path=0, reserved_storage_space=4096 MB, download_server=0, allow_ip_count=-1, sync_log_buff_interval=10s, check_active_interval=120s, thread_stack_size=64 KB, storage_ip_changed_auto_adjust=1, storage_sync_file_max_delay=86400s, storage_sync_file_max_time=300s, use_trunk_file=0, slot_min_size=256, slot_max_size=16 MB, trunk_file_size=64 MB, trunk_create_file_advance=0, trunk_create_file_time_base=02:00, trunk_create_file_interval=86400, trunk_create_file_space_threshold=0 GB, trunk_init_check_occupying=0, trunk_init_reload_from_binlog=0, use_storage_id=0, id_type_in_filename=ip, storage_id_count=0, rotate_error_log=0, error_log_rotate_time=00:00, rotate_error_log_size=0, store_slave_file_use_link=0, use_connection_pool=0, g_connection_pool_max_idle_time=3600s
[2018-06-09 20:45:28] INFO - local_host_ip_count: 3,  127.0.0.1  10.175.202.166  120.26.85.138
[2018-06-09 20:46:05] INFO - file: tracker_relationship.c, line: 374, selecting leader...
[2018-06-09 20:46:05] INFO - file: tracker_relationship.c, line: 413, the tracker leader 10.51.27.34:22122
[2018-06-09 20:47:00] ERROR - file: tracker_proto.c, line: 37, server: 10.51.27.34:22122, recv data fail, errno: 107, error info: Transport endpoint is not connected
[2018-06-09 20:47:01] ERROR - file: ../common/connection_pool.c, line: 84, connect to 10.51.27.34:22122 fail, errno: 111, error info: Connection refused
[2018-06-09 20:47:02] ERROR - file: ../common/connection_pool.c, line: 84, connect to 10.51.27.34:22122 fail, errno: 111, error info: Connection refused
[2018-06-09 20:47:03] INFO - file: tracker_relationship.c, line: 374, selecting leader...
[2018-06-09 20:47:03] ERROR - file: ../common/connection_pool.c, line: 84, connect to 10.51.27.34:22122 fail, errno: 111, error info: Connection refused
[2018-06-09 20:47:03] ERROR - file: ../common/connection_pool.c, line: 84, connect to 10.51.27.34:22122 fail, errno: 111, error info: Connection refused
[2018-06-09 20:47:03] ERROR - file: ../common/connection_pool.c, line: 84, connect to 10.51.27.34:22122 fail, errno: 111, error info: Connection refused
[2018-06-09 20:47:03] INFO - file: tracker_relationship.c, line: 392, I am the new tracker leader 10.175.202.166:22122


论坛徽章:
4
2015年辞旧岁徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:56:11IT运维版块每日发帖之星
日期:2016-08-11 06:20:00IT运维版块每日发帖之星
日期:2016-08-15 06:20:00
2 [报告]
发表于 2018-06-13 09:43 |只看该作者
版本太旧,是非稳定版本。建议升级到最新版本。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP