Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V5.11版本storage同步异常导致程序异常退出问题 #681

Open
nihaomatmat opened this issue Dec 26, 2023 · 6 comments
Open

V5.11版本storage同步异常导致程序异常退出问题 #681

nihaomatmat opened this issue Dec 26, 2023 · 6 comments

Comments

@nihaomatmat
Copy link

您好,我使用的版本是V5.11,2个tracker,3个storage
在存储数据量达到一定量级后,会出现同步失败的问题,具体报错如下:
ERROR - file: storage_sync.c, line: 241, sync data to storage server XX.XX.XX.XX:23000 fail, errno: 1, error info: Operation not permitted
DEBUG - file: storage_sync.c, line: 2969, binlog index: 2, current record offset: 662788862, next record offset: 662788920
刚开始出现报错无法定位问题,打开debug日志后,提示同步文件的下一行的数据,此时我需要修改sync目录下的mark文件调整为推荐的额行数,同步继续;但是当数据量存储至14T以上后,出现的概率变高;
之后,出现该报错后,会报如下的错误:
ERROR - file: ini_file_reader.c, line: 1254, malloc dynamic annotations fail
ERROR - file: storage_sync.c, line: 1970, load from mark file "/fdfsfile/fastdfs/storage/data/sync/XXXXXX_23000.mark" fail, error code: 12
CRIT - file: storage_sync.c, line: 2794, storage_reader_init fail, errno=12, program exit!
进而导致sorage异常退出,请问是什么问题?****

@happyfish100
Copy link
Owner

版本太旧了,建议升级到最新的 V6.11。

@happyfish100
Copy link
Owner

FastDFS server、client 和 nginx扩展模块都需要同步升级。

@nihaomatmat
Copy link
Author

您好,请问client和nginx扩展模块有没有版本建议呢?客户端是java版;还有目前是集群,,能否升级一个server,另一个保持不变?

@happyfish100
Copy link
Owner

FastDFS server、client 和 nginx扩展模块都需要同步升级到最新版本。

@happyfish100
Copy link
Owner

您好,请问client和nginx扩展模块有没有版本建议呢?客户端是java版;还有目前是集群,,能否升级一个server,另一个保持不变?

必须整个集群以及 client SDK 和 nginx 扩展模块同步升级。

@nihaomatmat
Copy link
Author

好的,谢谢大佬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants