From 7939d1f0277b377966d74fc89965485a5a786d8a Mon Sep 17 00:00:00 2001 From: Marko Mikulicic Date: Tue, 25 May 2021 03:30:18 +0200 Subject: [PATCH] feat: log jemalloc build conf --- src/influxdb_ioxd.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/influxdb_ioxd.rs b/src/influxdb_ioxd.rs index 590df2a72c..59c6ac5f26 100644 --- a/src/influxdb_ioxd.rs +++ b/src/influxdb_ioxd.rs @@ -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. //