Open GoogleCodeExporter opened 9 years ago
[root@172-1-4-96 fastdfstest]# fdfs_monitor /etc/fdfs/client.conf
[2014-04-25 17:02:18] DEBUG - base_path=/home/yuqing/fastdfs,
connect_timeout=30, network_timeout=60, tracker_server_count=1,
anti_steal_token=0, anti_steal_secret_key length=0, use_connection_pool=0,
g_connection_pool_max_idle_time=3600s, use_storage_id=0, storage server id
count: 0
server_count=1, server_index=0
tracker server is 172.1.4.96:2122
group count: 1
Group 1:
group name = group1
disk total space = 95193 MB
disk free space = 84083 MB
trunk free space = 0 MB
storage server count = 2
active server count = 2
storage server port = 23000
storage HTTP port = 8888
store path count = 1
subdir count per path = 256
current write server index = 1
current trunk file id = 0
Storage 1:
id = 172.1.2.102
ip_addr = 172.1.2.102 (172-1-2-102.lightspeed.hstntx.sbcglobal.net) ACTIVE
http domain =
version = 5.01
join time = 2014-04-18 11:01:24
up time = 2014-04-25 16:35:40
total storage = 444041 MB
free storage = 334725 MB
upload priority = 10
store_path_count = 1
subdir_count_per_path = 256
storage_port = 23000
storage_http_port = 8888
current_write_path = 0
source storage id= 172.1.4.96
if_trunk_server= 0
total_upload_count = 2336
success_upload_count = 2336
total_append_count = 300093
success_append_count = 300093
total_modify_count = 143
success_modify_count = 143
total_truncate_count = 236
success_truncate_count = 236
total_set_meta_count = 24
success_set_meta_count = 24
total_delete_count = 2144
success_delete_count = 2144
total_download_count = 360
success_download_count = 360
total_get_meta_count = 14
success_get_meta_count = 14
total_create_link_count = 0
success_create_link_count = 0
total_delete_link_count = 0
success_delete_link_count = 0
total_upload_bytes = 7000114688
success_upload_bytes = 7000114688
total_append_bytes = 1333995
success_append_bytes = 1333995
total_modify_bytes = 2160
success_modify_bytes = 2160
stotal_download_bytes = 52062806
success_download_bytes = 52062806
total_sync_in_bytes = 2171421328
success_sync_in_bytes = 2160415576
total_sync_out_bytes = 6555852724
success_sync_out_bytes = 6552353095
total_file_open_count = 304704
success_file_open_count = 304704
total_file_read_count = 537
success_file_read_count = 537
total_file_write_count = 337187
success_file_write_count = 337187
last_heart_beat_time = 2014-04-25 17:01:50
last_source_update = 2014-04-25 16:49:17
last_sync_update = 2014-04-25 16:56:42
last_synced_timestamp = 2014-04-25 15:57:10 (02m:29s delay)
Storage 2:
id = 172.1.4.96
ip_addr = 172.1.4.96 (172-1-4-96.lightspeed.hstntx.sbcglobal.net) ACTIVE
http domain =
version = 5.01
join time = 2014-04-18 10:54:31
up time = 2014-04-25 16:40:41
total storage = 95193 MB
free storage = 84083 MB
upload priority = 10
store_path_count = 1
subdir_count_per_path = 256
storage_port = 23000
storage_http_port = 8888
current_write_path = 0
source storage id=
if_trunk_server= 0
total_upload_count = 703
success_upload_count = 703
total_append_count = 280001
success_append_count = 280001
total_modify_count = 98
success_modify_count = 98
total_truncate_count = 5
success_truncate_count = 5
total_set_meta_count = 2
success_set_meta_count = 2
total_delete_count = 663
success_delete_count = 663
total_download_count = 275
success_download_count = 275
total_get_meta_count = 2
success_get_meta_count = 2
total_create_link_count = 0
success_create_link_count = 0
total_delete_link_count = 0
success_delete_link_count = 0
total_upload_bytes = 2019616983
success_upload_bytes = 2019616983
total_append_bytes = 1244531
success_append_bytes = 1244531
total_modify_bytes = 3105
success_modify_bytes = 3105
stotal_download_bytes = 18203129
success_download_bytes = 18203129
total_sync_in_bytes = 6566400359
success_sync_in_bytes = 6555399271
total_sync_out_bytes = 2160890165
success_sync_out_bytes = 2160415576
total_file_open_count = 289777
success_file_open_count = 289777
total_file_read_count = 321
success_file_read_count = 321
total_file_write_count = 320372
success_file_write_count = 320372
last_heart_beat_time = 2014-04-25 17:02:12
last_source_update = 2014-04-25 15:59:39
last_sync_update = 2014-04-25 17:02:12
last_synced_timestamp = 2014-04-25 15:54:21 (54m:56s delay)
Original comment by xcl3...@gmail.com
on 25 Apr 2014 at 9:01
truncate 提交成功,但是内容不清空
Original comment by xcl3...@gmail.com
on 25 Apr 2014 at 9:12
重启apache 可以连接tracker,但是不能truncate之前文件
Original comment by xcl3...@gmail.com
on 25 Apr 2014 at 9:13
[2014-04-25 17:35:05] ERROR - file: tracker_proto.c, line: 48, server:
172.1.2.102:23000, response status 17 != 0
[2014-04-25 17:35:05] DEBUG - file: storage_service.c, line: 5912, client ip:
172.1.2.102, file
/home/yuqing/fastdfs/data/00/15/rAECZlNXcQGEdk0-AAAAANJEtCU128.txt, my file
size: 1066757 >= src file size: 840006, do not append
Original comment by xcl3...@gmail.com
on 25 Apr 2014 at 9:34
rm /home/yuqing/fastdfs/data/00/15/rAECZlNXcQGEdk0-AAAAANJEtCU128.txt
将两个storage 都清理后,恢复正常
Original comment by xcl3...@gmail.com
on 25 Apr 2014 at 10:00
最新版本中修复了这个问题,谢谢反馈!
Original comment by happyfis...@gmail.com
on 6 May 2014 at 2:49
东西很好!不客气!
Original comment by xcl3...@gmail.com
on 21 May 2014 at 5:43
Original issue reported on code.google.com by
xcl3...@gmail.com
on 25 Apr 2014 at 9:00