Merge branch 'main' into fix-jemalloc-reporting
commit
7a475dc82a
|
@ -100,7 +100,7 @@ serde_urlencoded = "0.7.0"
|
|||
snafu = "0.6.9"
|
||||
structopt = "0.3.21"
|
||||
thiserror = "1.0.23"
|
||||
tikv-jemallocator = "0.4.0"
|
||||
tikv-jemallocator = {version = "0.4.0", features = ["unprefixed_malloc_on_supported_platforms"] }
|
||||
tikv-jemalloc-ctl = "0.4.0"
|
||||
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "parking_lot", "signal"] }
|
||||
tokio-stream = { version = "0.1.2", features = ["net"] }
|
||||
|
|
|
@ -100,7 +100,14 @@ async fn wait_for_signal() {
|
|||
pub async fn main(config: Config) -> Result<()> {
|
||||
let git_hash = option_env!("GIT_HASH").unwrap_or("UNKNOWN");
|
||||
let num_cpus = num_cpus::get();
|
||||
info!(git_hash, num_cpus, "InfluxDB IOx server starting");
|
||||
let build_malloc_conf = tikv_jemalloc_ctl::config::malloc_conf::mib()
|
||||
.unwrap()
|
||||
.read()
|
||||
.unwrap();
|
||||
info!(
|
||||
git_hash,
|
||||
num_cpus, build_malloc_conf, "InfluxDB IOx server starting"
|
||||
);
|
||||
|
||||
// Install custom panic handler and forget about it.
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue