免费注册 查看新帖 |

Chinaunix

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

[FastDFS] fdfs_storaged挂起后,重启服务器导致fdfs_storaged启动不了 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-07-14 21:59 |只看该作者 |倒序浏览
因大量的同步请求导致fdfs_storaged进程挂起, 使用killall等待太久,后来重启过服务器,这样操作是不是导致binlog丢失?

现在启动fdfs_storaged不了,日志:
[2011-07-14 21:53:33] INFO - FastDFS v2.09, base_path=/home/fastdfs, store_path_count=2, subdir_count_per_path=256, group_name=group1, connect_timeout=120s, network_timeout=150s, port=54322, bind_addr=*.*.*, client_bind=1, max_connections=512, work_threads=8, disk_rw_separated=1, disk_reader_threads=1, disk_writer_threads=1, disk_rw_direct=0, buff_size=256KB, heart_beat_interval=30s, stat_report_interval=60s, tracker_server_count=1, sync_wait_msec=200ms, 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=60s, sync_stat_file_interval=300s, thread_stack_size=512 KB, upload_priority=10, if_alias_prefix=, check_file_duplicate=0, FDHT group count=0, FDHT server count=0, FDHT key_namespace=, FDHT keep_alive=0, HTTP server port=8888, domain name=
[2011-07-14 21:53:33] INFO - file: storage_param_getter.c, line: 48, storage_ip_changed_auto_adjust=1
[2011-07-14 21:53:33] DEBUG - file: storage_ip_changed_dealer.c, line: 233, last my ip is *.*.*, current my ip is *.*.*
[2011-07-14 21:53:34] DEBUG - file: tracker_client_thread.c, line: 189, report thread to tracker server 61.142.208.210:54321 started
[2011-07-14 21:53:34] INFO - file: tracker_client_thread.c, line: 274, successfully connect to tracker server 61.142.208.210:54321, as a tracker client, my ip is *.*.*
[2011-07-14 21:53:34] DEBUG - file: storage_sync.c, line: 2274, sync thread to storage server :54322 started
[2011-07-14 21:53:34] DEBUG - file: storage_sync.c, line: 2274, sync thread to storage server 123.*.*.*:54322 started
[2011-07-14 21:53:34] DEBUG - file: storage_sync.c, line: 2274, sync thread to storage server 123.*.*.*:54322 started
[2011-07-14 21:53:34] DEBUG - file: storage_sync.c, line: 2274, sync thread to storage server 58.*.*.*:54322 started
[2011-07-14 21:53:34] INFO - file: storage_sync.c, line: 2366, successfully connect to storage server 58.*.*.*:54322
[2011-07-14 21:53:34] INFO - file: storage_sync.c, line: 2366, successfully connect to storage server 123.*.*.*:54322
[2011-07-14 21:53:34] ERROR - file: storage_sync.c, line: 1655, in mark file "/home/fastdfs/data/sync/123.*.*.*_54322.mark", item count: 0 < 7
[2011-07-14 21:53:34] CRIT - file: storage_sync.c, line: 2428, storage_reader_init fail, errno=2, program exit!
[2011-07-14 21:53:34] DEBUG - file: storage_sync.c, line: 2233, sync thread to storage server 123.*.*.*:54322 exit
[2011-07-14 21:53:34] DEBUG - file: storage_sync.c, line: 2233, sync thread to storage server 58.*.*.*:54322 exit
[2011-07-14 21:53:35] DEBUG - file: storage_sync.c, line: 2233, sync thread to storage server :54322 exit
[2011-07-14 21:53:35] DEBUG - file: tracker_client_thread.c, line: 158, report thread to tracker server 61.142.208.210:54321 exit
[2011-07-14 21:53:44] DEBUG - file: ../common/sched_thread.c, line: 223, schedule thread exit
[2011-07-14 21:56:04] DEBUG - file: storage_dio.c, line: 676, dio thread exited, thread count: 3
[2011-07-14 21:56:04] DEBUG - file: storage_dio.c, line: 676, dio thread exited, thread count: 2
[2011-07-14 21:56:04] DEBUG - file: storage_dio.c, line: 676, dio thread exited, thread count: 1
[2011-07-14 21:56:04] DEBUG - file: storage_dio.c, line: 676, dio thread exited, thread count: 0
[2011-07-14 21:56:05] DEBUG - file: storage_service.c, line: 1394, nio thread exited, thread count: 7
[2011-07-14 21:56:05] DEBUG - file: storage_service.c, line: 1394, nio thread exited, thread count: 5
[2011-07-14 21:56:05] DEBUG - file: storage_service.c, line: 1394, nio thread exited, thread count: 6
[2011-07-14 21:56:05] DEBUG - file: storage_service.c, line: 1394, nio thread exited, thread count: 4
[2011-07-14 21:56:05] DEBUG - file: storage_service.c, line: 1394, nio thread exited, thread count: 3
[2011-07-14 21:56:05] DEBUG - file: storage_service.c, line: 1394, nio thread exited, thread count: 2
[2011-07-14 21:56:05] DEBUG - file: storage_service.c, line: 1394, nio thread exited, thread count: 1
[2011-07-14 21:56:05] DEBUG - file: storage_service.c, line: 1394, nio thread exited, thread count: 0
[2011-07-14 21:56:05] INFO - exit nomally.

论坛徽章:
0
2 [报告]
发表于 2015-08-31 10:41 |只看该作者
我也出现这个问题了。file: storage_sync.c, line: 1945, in mark file  23000.mark", item count: 0 < 7
你最后是怎么解决的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP