免费注册 查看新帖 |

Chinaunix

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

[FastDFS] storage 出现error log,好像与同步优先级有关~~~~~~~~ [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-09-30 16:08 |只看该作者 |倒序浏览
本帖最后由 leeinuz 于 2013-10-03 00:48 编辑

# which storage server to upload file
# 0: round robin (default)
# 1: the first server order by ip address
# 2: the first server order by priority (the minimal)
store_server=0
已轮询的方式,会出现storage直接同步延迟的问题,请问该如何调整配置?
是否可以用nginx做负载来解决延迟问题?

store_server=2
如果改成优先级方式,如何做负载?这种配置如果出现trunk offline会造成无法upload。





论坛徽章:
0
2 [报告]
发表于 2013-10-02 12:13 |只看该作者
[2013-10-01 21:04:46] WARNING - file: trunk_mgr/trunk_mem.c, line: 1553, trunk space already be occupied, delete this trunk space, trunk info: store_path_index=0, sub_path_high=0, sub_path_low=3, id=315, offset=63058586, size=1847, status=1
[2013-10-01 21:04:47] ERROR - file: storage_dio.c, line: 883, trunk file: /storage/store0/data/00/03/000315, offset: 63060433 already occupied by other file, trunk header info: file_type=49, alloc_size=857874548, file_size=1634887525, crc32=1950163505, mtime=908996912, ext_name(7)=1|1248:

/logs/storaged.log [2013-09-29 09:34:14] ERROR - file: storage_service.c, line: 7366, client ip: 0.0.0.0, stat logic file M07/01/99/CgEIAVHeMHGIR1UQAAEuwhqr6H0AABB9wOFXh8AAS7a609.jpg fail, errno: 2, error info: No such file or directory

/storage/logs/storaged.log [2013-09-04 07:25:23] ERROR - file: storage_service.c, line: 7233, client ip: 123.253.43.58, stat logic file M00/00/03/2EIGUVInQvKIZAq6AAALHg1iyygAAABOQKGSHgAAAs23768960 fail, errno: 2, error info: No such file or directory.

》》》store_server=2的这种方式会出现报错,不知道是什么原因。

论坛徽章:
0
3 [报告]
发表于 2016-12-28 20:28 |只看该作者
有没有把问题解决了?

论坛徽章:
0
4 [报告]
发表于 2016-12-28 20:29 |只看该作者
怎么解决的?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP