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

feat: get the system open file limits and set #8374

Closed
BohuTANG opened this issue Oct 21, 2022 · 3 comments
Closed

feat: get the system open file limits and set #8374

BohuTANG opened this issue Oct 21, 2022 · 3 comments
Labels
C-feature Category: feature good first issue Category: good first issue

Comments

@BohuTANG
Copy link
Member

Summary

MySQL [(none)]> SELECT SUM(AdvEngineID), COUNT(*), AVG(ResolutionWidth) FROM hits;
ERROR 1105 (HY000): Code: 4000, displayText = uncategorized error (object error: (op: read, path: 1/318/_b/1a25136fa5524916a36e999e5f78851b_v0.parquet, source: Too many open files (os error 24))).

It would be great to give a warn log for databend-query when starting if the max open file limit is less than 65535.

@BohuTANG BohuTANG added C-feature Category: feature good first issue Category: good first issue labels Oct 21, 2022
@TszKitLo40
Copy link
Contributor

TszKitLo40 commented Oct 21, 2022

I am new here and want to try this issue. But I can't figure out where the databend-query starts.

@sundy-li
Copy link
Member

I am new here and want to try this issue. But I can't figure out where the databend-query starts.

Thanks, it's in https://github.com/datafuselabs/databend/blob/04ac812d02e906fba8f99435f55465a02ec05193/src/binaries/query/main.rs

More docs : https://mp.weixin.qq.com/s/5snnRuOLdCdWEktRFcwwug

@BohuTANG
Copy link
Member Author

BohuTANG commented Nov 4, 2022

Closed #8388

@BohuTANG BohuTANG closed this as completed Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature Category: feature good first issue Category: good first issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants