morningman commented on code in PR #22919:
URL: https://github.com/apache/doris/pull/22919#discussion_r1293053988
##########
be/src/io/cache/block/block_file_cache.cpp:
##########
@@ -205,5 +207,21 @@ size_t IFileCache::file_reader_cache_size() {
return s_file_name_to_reader.size();
}
+void IFileCache::init() {
+ struct rlimit limit;
+ if (getrlimit(RLIMIT_NOFILE, &limit) != 0) {
Review Comment:
if fail, the `LOG(FATAL)` will crash the BE.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]