From bc836d0fd85f2872cdf7b3fa20d80e11c9b9a656 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Fri, 20 Mar 2020 09:33:49 -0700 Subject: [PATCH] ircd::info: Remove the fixed-rlimit sample section here. --- include/ircd/info.h | 8 ----- ircd/fs.cc | 8 ----- ircd/info.cc | 84 --------------------------------------------- 3 files changed, 100 deletions(-) diff --git a/include/ircd/info.h b/include/ircd/info.h index 2cfba4a99..9252d1156 100644 --- a/include/ircd/info.h +++ b/include/ircd/info.h @@ -53,14 +53,6 @@ namespace ircd::info extern const size_t total_ram; extern const size_t total_swap; - // Resource limitations - extern const size_t rlimit_as; - extern const size_t rlimit_data; - extern const size_t rlimit_rss; - extern const size_t rlimit_nofile; - extern const size_t rlimit_rttime; - extern const size_t rlimit_memlock; - // Host & third-party information #ifdef HAVE_SYS_UTSNAME_H extern const ::utsname utsname; diff --git a/ircd/fs.cc b/ircd/fs.cc index aa98bae6a..c2f19f765 100644 --- a/ircd/fs.cc +++ b/ircd/fs.cc @@ -337,14 +337,6 @@ ircd::fs::support::dump_info() const bool support_async {false}; #endif - if(info::rlimit_nofile <= 1024) - log::warning - { - log, "Maximum number of open files limited to %zu." - " Suggest increasing for best performance.", - info::rlimit_nofile, - }; - log::info { log, "Support: async:%b preadv2:%b pwritev2:%b SYNC:%b DSYNC:%b HIPRI:%b NOWAIT:%b APPEND:%b RWH:%b WLH:%b", diff --git a/ircd/info.cc b/ircd/info.cc index 5c01b748a..42b0f3d4a 100644 --- a/ircd/info.cc +++ b/ircd/info.cc @@ -11,7 +11,6 @@ #include