免费注册 查看新帖 |

Chinaunix

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

[FastDFS] 鱼大,FastDFS文件系统同组成员同步问题描述--含日志 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-12-27 18:17 |只看该作者 |倒序浏览
鱼大:FastDFS版本:FastDFS_v4.06
同一组两台机器内的两台机器上文件不同步:
10.0.10.78 CentOS release 6.4 (Final)
10.0.10.76 CentOS release 6.4 (Final)
10.0.10.76和tracker是一台机器上的
以下是日志信息:
10.0.10.78上的storage日志:
[2013-12-26 17:27:17] INFO - exit normally.
[2013-12-26 17:28:58] INFO - FastDFS v4.06, base_path=/data/fastdfs/storage, store_path_count=1, 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.0.10.78, 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=1, 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
[2013-12-26 17:28:58] INFO - file: storage_param_getter.c, line: 187, use_storage_id=0, id_type_in_filename=ip, storage_ip_changed_auto_adjust=1, store_path=0, reserved_storage_space=0 MB, 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, store_slave_file_use_link=0
[2013-12-26 17:28:58] INFO - file: storage_func.c, line: 174, tracker_client_ip: 10.0.10.78, my_server_id_str: 10.0.10.78, g_server_id_in_filename: 1309278218
[2013-12-26 17:28:58] INFO - local_host_ip_count: 4,  127.0.0.1  10.0.10.78  10.0.10.200  172.16.200.78
[2013-12-26 17:28:58] INFO - file: tracker_client_thread.c, line: 308, successfully connect to tracker server 10.0.10.76:22122, as a tracker client, my ip is 10.0.10.78
[2013-12-26 17:28:58] INFO - file: tracker_client_thread.c, line: 1124, tracker server 10.0.10.76:22122, set tracker leader: 10.0.10.76:22122
[2013-12-26 17:28:58] INFO - file: storage_sync.c, line: 2698, successfully connect to storage server 10.0.10.76:23000
[2013-12-26 17:43:27] CRIT - file: fdfs_storaged.c, line: 453, catch signal 15, program exiting...
[2013-12-26 17:43:28] INFO - exit normally.
[2013-12-26 17:43:29] INFO - FastDFS v4.06, base_path=/data/fastdfs/storage, store_path_count=1, 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.0.10.78, 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=1, 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
[2013-12-26 17:43:29] INFO - file: storage_param_getter.c, line: 187, use_storage_id=0, id_type_in_filename=ip, storage_ip_changed_auto_adjust=1, store_path=0, reserved_storage_space=0 MB, 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, store_slave_file_use_link=0
[2013-12-26 17:43:29] INFO - file: storage_func.c, line: 174, tracker_client_ip: 10.0.10.78, my_server_id_str: 10.0.10.78, g_server_id_in_filename: 1309278218
[2013-12-26 17:43:29] DEBUG - file: storage_ip_changed_dealer.c, line: 235, last my ip is 10.0.10.78, current my ip is 10.0.10.78
[2013-12-26 17:43:29] INFO - local_host_ip_count: 4,  127.0.0.1  10.0.10.78  10.0.10.200  172.16.200.78
[2013-12-26 17:43:29] DEBUG - file: fast_task_queue.c, line: 196, max_connections: 256, min_buff_size: 262144, max_buff_size: 262144, block_size: 263480, arg_size: 1016, max_data_size: 268435456, total_size: 67450880
[2013-12-26 17:43:29] DEBUG - file: fast_task_queue.c, line: 262, malloc task info as whole: 1, malloc loop count: 1
[2013-12-26 17:43:29] DEBUG - file: tracker_client_thread.c, line: 223, report thread to tracker server 10.0.10.76:22122 started
[2013-12-26 17:43:29] INFO - file: tracker_client_thread.c, line: 308, successfully connect to tracker server 10.0.10.76:22122, as a tracker client, my ip is 10.0.10.78
[2013-12-26 17:43:29] INFO - file: tracker_client_thread.c, line: 1124, tracker server 10.0.10.76:22122, set tracker leader: 10.0.10.76:22122
[2013-12-26 17:43:29] DEBUG - file: storage_sync.c, line: 2605, sync thread to storage server 10.0.10.76:23000 started
[2013-12-26 17:43:29] INFO - file: storage_sync.c, line: 2698, successfully connect to storage server 10.0.10.76:23000
[2013-12-26 17:43:50] DEBUG - file: storage_service.c, line: 3354, client ip: 10.0.10.76, storage server id: 10.0.10.76
[2013-12-26 17:45:09] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.78, recv failed, connection disconnected.
[2013-12-26 17:47:24] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.78, recv failed, connection disconnected.
[2013-12-26 17:48:09] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.78, recv failed, connection disconnected.
[2013-12-26 17:51:09] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.78, recv failed, connection disconnected.
[2013-12-26 17:54:09] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.78, recv failed, connection disconnected.
[2013-12-26 17:57:09] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.78, recv failed, connection disconnected.
[2013-12-26 18:00:09] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.78, recv failed, connection disconnected.
[2013-12-26 18:03:09] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.78, recv failed, connection disconnected.
[2013-12-26 18:06:09] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.78, recv failed, connection disconnected.
[2013-12-26 18:09:09] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.78, recv failed, connection disconnected.
[2013-12-26 18:12:09] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.78, recv failed, connection disconnected.
[2013-12-26 18:15:09] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.78, recv failed, connection disconnected.
[2013-12-26 18:18:09] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.78, recv failed, connection disconnected.
[2013-12-26 18:21:09] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.78, recv failed, connection disconnected.
[2013-12-26 18:22:30] CRIT - file: fdfs_storaged.c, line: 453, catch signal 15, program exiting...
[2013-12-26 18:22:31] DEBUG - file: ../common/sched_thread.c, line: 380, schedule thread exit
[2013-12-26 18:22:31] DEBUG - file: storage_dio.c, line: 796, dio thread exited, thread count: 1
[2013-12-26 18:22:31] DEBUG - file: storage_sync.c, line: 2565, sync thread to storage server 10.0.10.76:23000 exit
[2013-12-26 18:22:31] DEBUG - file: storage_dio.c, line: 796, dio thread exited, thread count: 0
[2013-12-26 18:22:31] DEBUG - file: tracker_client_thread.c, line: 168, report thread to tracker server 10.0.10.76:22122 exit
[2013-12-26 18:22:32] DEBUG - file: storage_service.c, line: 1926, nio thread exited, thread count: 3
[2013-12-26 18:22:32] DEBUG - file: storage_service.c, line: 1926, nio thread exited, thread count: 2
[2013-12-26 18:22:32] DEBUG - file: storage_service.c, line: 1926, nio thread exited, thread count: 1
[2013-12-26 18:22:32] DEBUG - file: storage_service.c, line: 1926, nio thread exited, thread count: 0
[2013-12-26 18:22:32] INFO - exit normally.
[2013-12-26 18:24:14] INFO - FastDFS v4.06, base_path=/data/fastdfs/storage, store_path_count=1, 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.0.10.78, 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=1, 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
[2013-12-26 18:24:14] INFO - file: storage_param_getter.c, line: 187, use_storage_id=0, id_type_in_filename=ip, storage_ip_changed_auto_adjust=1, store_path=0, reserved_storage_space=0 MB, 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, store_slave_file_use_link=0
[2013-12-26 18:24:14] INFO - file: storage_func.c, line: 174, tracker_client_ip: 10.0.10.78, my_server_id_str: 10.0.10.78, g_server_id_in_filename: 1309278218
[2013-12-26 18:24:14] DEBUG - file: storage_ip_changed_dealer.c, line: 235, last my ip is 10.0.10.78, current my ip is 10.0.10.78
[2013-12-26 18:24:14] INFO - local_host_ip_count: 4,  127.0.0.1  10.0.10.78  10.0.10.200  172.16.200.78
[2013-12-26 18:24:14] DEBUG - file: fast_task_queue.c, line: 196, max_connections: 256, min_buff_size: 262144, max_buff_size: 262144, block_size: 263480, arg_size: 1016, max_data_size: 268435456, total_size: 67450880
[2013-12-26 18:24:14] DEBUG - file: fast_task_queue.c, line: 262, malloc task info as whole: 1, malloc loop count: 1
[2013-12-26 18:24:14] DEBUG - file: tracker_client_thread.c, line: 223, report thread to tracker server 10.0.10.76:22122 started
[2013-12-26 18:24:14] INFO - file: tracker_client_thread.c, line: 308, successfully connect to tracker server 10.0.10.76:22122, as a tracker client, my ip is 10.0.10.78
[2013-12-26 18:24:14] INFO - file: tracker_client_thread.c, line: 1124, tracker server 10.0.10.76:22122, set tracker leader: 10.0.10.76:22122
[2013-12-26 18:24:14] DEBUG - file: storage_sync.c, line: 2605, sync thread to storage server 10.0.10.76:23000 started
[2013-12-26 18:26:10] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.78, recv failed, connection disconnected.
[2013-12-26 18:29:10] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.78, recv failed, connection disconnected.
10.0.10.76上的storage日志:
[2013-12-26 00:02:18] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
[2013-12-26 00:05:18] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
[2013-12-26 01:11:17] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
[2013-12-26 01:14:17] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
[2013-12-26 01:17:18] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
[2013-12-26 01:20:18] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
[2013-12-26 01:23:18] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected
....
[2013-12-26 04:44:18] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
[2013-12-26 04:47:18] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
[2013-12-26 04:50:18] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
[2013-12-26 04:53:18] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
[2013-12-26 04:56:18] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
......
[2013-12-26 17:27:29] ERROR - file: tracker_proto.c, line: 37, server: 10.0.10.78:23000, recv data fail, errno: 107, error info: Transport endpoint is not connected
[2013-12-26 17:27:29] DEBUG - file: storage_sync.c, line: 2935, binlog index: 0, current record offset: 174986, next record offset: 175044
[2013-12-26 17:27:29] ERROR - file: storage_sync.c, line: 2710, connect to storage server 10.0.10.78:23000 fail, errno: 111, error info: Connection refused
[2013-12-26 17:27:35] CRIT - file: fdfs_storaged.c, line: 453, catch signal 15, program exiting...
[2013-12-26 17:27:36] DEBUG - file: storage_dio.c, line: 796, dio thread exited, thread count: 0
[2013-12-26 17:27:36] DEBUG - file: ../common/sched_thread.c, line: 380, schedule thread exit
[2013-12-26 17:27:36] DEBUG - file: storage_dio.c, line: 796, dio thread exited, thread count: 1
[2013-12-26 17:27:36] DEBUG - file: tracker_client_thread.c, line: 168, report thread to tracker server 10.0.10.76:22122 exit
[2013-12-26 17:27:36] ERROR - file: storage_sync.c, line: 2733, connect to storage server 10.0.10.78:23000 fail, try count: 7, errno: 111, error info: Connection refused
[2013-12-26 17:27:37] DEBUG - file: storage_sync.c, line: 2565, sync thread to storage server 10.0.10.78:23000 exit
[2013-12-26 17:27:37] DEBUG - file: storage_service.c, line: 1926, nio thread exited, thread count: 3
[2013-12-26 17:27:37] DEBUG - file: storage_service.c, line: 1926, nio thread exited, thread count: 2
[2013-12-26 17:27:37] DEBUG - file: storage_service.c, line: 1926, nio thread exited, thread count: 1
[2013-12-26 17:27:37] DEBUG - file: storage_service.c, line: 1926, nio thread exited, thread count: 0
[2013-12-26 17:27:37] INFO - exit normally.

[2013-12-26 17:28:48] INFO - FastDFS v4.06, base_path=/data/fastdfs/storage, store_path_count=1, 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.0.10.76, 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=1, 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=1, rotate_access_log=1, access_log_rotate_time=00:00, rotate_error_log=1, 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
[2013-12-26 17:28:48] INFO - file: storage_param_getter.c, line: 187, use_storage_id=0, id_type_in_filename=ip, storage_ip_changed_auto_adjust=1, store_path=0, reserved_storage_space=0 MB, 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, store_slave_file_use_link=0
[2013-12-26 17:28:48] INFO - file: storage_func.c, line: 174, tracker_client_ip: 10.0.10.76, my_server_id_str: 10.0.10.76, g_server_id_in_filename: 1275723786
[2013-12-26 17:28:48] DEBUG - file: storage_ip_changed_dealer.c, line: 235, last my ip is 10.0.10.76, current my ip is 10.0.10.76
[2013-12-26 17:28:48] INFO - local_host_ip_count: 3,  127.0.0.1  10.0.10.76  172.16.100.76
[2013-12-26 17:28:48] DEBUG - file: fast_task_queue.c, line: 196, max_connections: 256, min_buff_size: 262144, max_buff_size: 262144, block_size: 263480, arg_size: 1016, max_data_size: 268435456, total_size: 67450880
[2013-12-26 17:28:48] DEBUG - file: fast_task_queue.c, line: 262, malloc task info as whole: 1, malloc loop count: 1
[2013-12-26 17:28:48] DEBUG - file: tracker_client_thread.c, line: 223, report thread to tracker server 10.0.10.76:22122 started
[2013-12-26 17:28:48] INFO - file: tracker_client_thread.c, line: 308, successfully connect to tracker server 10.0.10.76:22122, as a tracker client, my ip is 10.0.10.76
[2013-12-26 17:28:48] INFO - file: tracker_client_thread.c, line: 1124, tracker server 10.0.10.76:22122, set tracker leader: 10.0.10.76:22122
[2013-12-26 17:28:48] DEBUG - file: storage_sync.c, line: 2605, sync thread to storage server 10.0.10.78:23000 started
[2013-12-26 17:28:56] DEBUG - file: storage_service.c, line: 3354, client ip: 10.0.10.78, storage server id: 10.0.10.78
[2013-12-26 17:29:17] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
[2013-12-26 17:29:18] INFO - file: storage_sync.c, line: 2698, successfully connect to storage server 10.0.10.78:23000
[2013-12-26 17:32:17] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
[2013-12-26 17:35:17] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
[2013-12-26 17:38:16] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
[2013-12-26 17:39:29] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.82, recv failed, connection disconnected.
[2013-12-26 17:41:17] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
[2013-12-26 17:43:25] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.78, recv failed, connection disconnected.
[2013-12-26 17:43:27] DEBUG - file: storage_service.c, line: 3354, client ip: 10.0.10.78, storage server id: 10.0.10.78
[2013-12-26 17:43:48] ERROR - file: tracker_proto.c, line: 37, server: 10.0.10.78:23000, recv data fail, errno: 107, error info: Transport endpoint is not connected
[2013-12-26 17:43:49] INFO - file: storage_sync.c, line: 2698, successfully connect to storage server 10.0.10.78:23000
[2013-12-26 17:44:17] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
[2013-12-26 17:47:17] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
[2013-12-26 17:50:17] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
[2013-12-26 17:53:16] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
[2013-12-26 17:56:17] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected
........
[2013-12-26 18:08:17] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
[2013-12-26 18:11:17] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
[2013-12-26 18:14:17] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
[2013-12-26 18:17:16] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
[2013-12-26 18:20:16] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
[2013-12-26 18:22:28] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.78, recv failed, connection disconnected.
[2013-12-26 18:22:49] ERROR - file: tracker_proto.c, line: 37, server: 10.0.10.78:23000, recv data fail, errno: 107, error info: Transport endpoint is not connected
[2013-12-26 18:22:49] DEBUG - file: storage_sync.c, line: 2935, binlog index: 0, current record offset: 178814, next record offset: 178872
[2013-12-26 18:22:49] ERROR - file: storage_sync.c, line: 2710, connect to storage server 10.0.10.78:23000 fail, errno: 111, error info: Connection refused
[2013-12-26 18:23:17] DEBUG - file: storage_nio.c, line: 285, client ip: 10.0.10.76, recv failed, connection disconnected.
[2013-12-26 18:24:00] CRIT - file: fdfs_storaged.c, line: 453, catch signal 15, program exiting...
[2013-12-26 18:24:00] DEBUG - file: ../common/sched_thread.c, line: 380, schedule thread exit
[2013-12-26 18:24:00] DEBUG - file: storage_dio.c, line: 796, dio thread exited, thread count: 1
[2013-12-26 18:24:00] ERROR - file: storage_sync.c, line: 2733, connect to storage server 10.0.10.78:23000 fail, try count: 72, errno: 111, error info: Connection refused
[2013-12-26 18:24:00] DEBUG - file: storage_sync.c, line: 2565, sync thread to storage server 10.0.10.78:23000 exit
[2013-12-26 18:24:00] DEBUG - file: tracker_client_thread.c, line: 168, report thread to tracker server 10.0.10.76:22122 exit
[2013-12-26 18:24:00] DEBUG - file: storage_dio.c, line: 796, dio thread exited, thread count: 0
[2013-12-26 18:24:01] DEBUG - file: storage_service.c, line: 1926, nio thread exited, thread count: 3
[2013-12-26 18:24:01] DEBUG - file: storage_service.c, line: 1926, nio thread exited, thread count: 2
[2013-12-26 18:24:01] DEBUG - file: storage_service.c, line: 1926, nio thread exited, thread count: 1
[2013-12-26 18:24:01] DEBUG - file: storage_service.c, line: 1926, nio thread exited, thread count: 0
[2013-12-26 18:24:01] INFO - exit normally.
10.0.10.76的tracker日志:
[2013-10-10 22:37:21] INFO - FastDFS v4.06, base_path=/data/fastdfs/tracker, run_by_group=, run_by_user=, connect_timeout=30s, network_timeout=60s, port=22122, bind_addr=10.0.10.76, 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
[2013-10-10 22:37:21] INFO - local_host_ip_count: 2,  127.0.0.1  10.0.10.76
[2013-10-10 23:35:54] INFO - file: tracker_relationship.c, line: 374, selecting leader...
[2013-10-10 23:35:55] INFO - file: tracker_relationship.c, line: 392, I am the new tracker leader 10.0.10.76:22122
[2013-10-12 11:52:07] INFO - FastDFS v4.06, base_path=/data/fastdfs/tracker, run_by_group=, run_by_user=, connect_timeout=30s, network_timeout=60s, port=22122, bind_addr=10.0.10.76, 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
[2013-10-12 11:52:07] INFO - local_host_ip_count: 2,  127.0.0.1  10.0.10.76
[2013-10-12 11:52:14] INFO - file: tracker_relationship.c, line: 374, selecting leader...
[2013-10-12 11:52:15] INFO - file: tracker_relationship.c, line: 392, I am the new tracker leader 10.0.10.76:22122

论坛徽章:
0
2 [报告]
发表于 2013-12-27 18:24 |只看该作者
鱼大,我现在是一有问题,先停掉服务,人肉rsync同步,然后再重启,这样做是不是有问题,文件不同步的问题可能出现在哪,谢谢鱼大
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP