Skip to content

Commit

Permalink
[fix](config) change segment_cache_fd_percentage and inverted_index_f…
Browse files Browse the repository at this point in the history
…d_number_limit_percent default value (#42224)

change segment_cache_fd_percentage and
inverted_index_fd_number_limit_percent default value from 40% to 20% to
avoid too many open files.
  • Loading branch information
xiaokang committed Oct 24, 2024
1 parent 851477e commit 5bf5bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/common/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ DEFINE_String(inverted_index_searcher_cache_limit, "10%");
// set `true` to enable insert searcher into cache when write inverted index data
DEFINE_Bool(enable_write_index_searcher_cache, "false");
DEFINE_Bool(enable_inverted_index_cache_check_timestamp, "true");
DEFINE_Int32(inverted_index_fd_number_limit_percent, "40"); // 40%
DEFINE_Int32(inverted_index_fd_number_limit_percent, "20"); // 20%

// inverted index match bitmap cache size
DEFINE_String(inverted_index_query_cache_limit, "10%");
Expand Down

0 comments on commit 5bf5bb8

Please sign in to comment.