diff options
| author | Dan Engelbrecht <[email protected]> | 2022-04-12 17:36:01 +0200 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2022-04-12 17:36:01 +0200 |
| commit | 8f2e85ead8f8011b29df0e60147e89fda2175ebc (patch) | |
| tree | c11d54c139f541cac1e8c84416ed5d7bc405b551 /zenstore-test/zenstore-test.cpp | |
| parent | log resource limit info (diff) | |
| download | zen-8f2e85ead8f8011b29df0e60147e89fda2175ebc.tar.xz zen-8f2e85ead8f8011b29df0e60147e89fda2175ebc.zip | |
set file limit on zenserver test
Diffstat (limited to 'zenstore-test/zenstore-test.cpp')
| -rw-r--r-- | zenstore-test/zenstore-test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zenstore-test/zenstore-test.cpp b/zenstore-test/zenstore-test.cpp index 4a4035ab1..6ebd60e95 100644 --- a/zenstore-test/zenstore-test.cpp +++ b/zenstore-test/zenstore-test.cpp @@ -37,7 +37,7 @@ main([[maybe_unused]] int argc, [[maybe_unused]] char* argv[]) // NewLimit.rlim_cur = 10240; // NewLimit.rlim_max = 10240; NewLimit.rlim_cur = NewLimit.rlim_max; - ZEN_WARN("changing RLIMIT_NOFILE from rlim_cur = {}, rlim_max {} to rlim_cur = {}, rlim_max {}", Limit.rlim_cur, Limit.rlim_max, NewLimit.rlim_cur, NewLimit.rlim_max); + ZEN_INFO("changing RLIMIT_NOFILE from rlim_cur = {}, rlim_max {} to rlim_cur = {}, rlim_max {}", Limit.rlim_cur, Limit.rlim_max, NewLimit.rlim_cur, NewLimit.rlim_max); Error = setrlimit(RLIMIT_NOFILE, &NewLimit); if (Error != 0) |