mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
Increase open files limit (#41345)
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
This commit is contained in:
parent
545893f56a
commit
ce0508e223
@ -446,8 +446,8 @@ int mainEntryClickHouseInstall(int argc, char ** argv)
|
||||
fs::path ulimits_file = ulimits_dir / fmt::format("{}.conf", user);
|
||||
fmt::print("Will set ulimits for {} user in {}.\n", user, ulimits_file.string());
|
||||
std::string ulimits_content = fmt::format(
|
||||
"{0}\tsoft\tnofile\t262144\n"
|
||||
"{0}\thard\tnofile\t262144\n", user);
|
||||
"{0}\tsoft\tnofile\t1048576\n"
|
||||
"{0}\thard\tnofile\t1048576\n", user);
|
||||
|
||||
fs::create_directories(ulimits_dir);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user