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

Can't open new binlog for regenerate #2666

Closed
xucoanthony opened this issue Nov 6, 2023 · 2 comments
Closed

Can't open new binlog for regenerate #2666

xucoanthony opened this issue Nov 6, 2023 · 2 comments

Comments

@xucoanthony
Copy link

Hello,

What's this mean bellow, when I am download file. It cause {"@type": "error", "code": 400, "message": "File download has failed or was canceled", "@client_id": 1}

[ 1][t21][1699297475.024133920][Binlog.cpp:644][#6][!Binlog /Volumes///client/tduser/td.binlog] Can't open new binlog for regenerate: [PosixError : Too many open files : 24 : File "/Volumes///client/tduser/td.binlog.new" can't be opened/created for writing with truncation]

@xucoanthony
Copy link
Author

Ok. After conducting tests, I've found that it may be a performance bottleneck on the computer causing this issue.
If anyone has any new explanations, please feel free to let me know.

@levlam
Copy link
Contributor

levlam commented Nov 8, 2023

You exceeded OS limit for the number of files. Ensure that you close all previously opened file descriptors. You can find more details about the error in https://stackoverflow.com/questions/880557/socket-accept-too-many-open-files.

@levlam levlam closed this as completed Dec 12, 2023
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