From eb2088264f1dc21484e030d7bbfb72af85b2be08 Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Thu, 25 Jan 2024 20:09:40 +0000 Subject: [PATCH] suspicion: the fsync after creating a lot of data is the culprit; add info! line to get a timestamp before we start claiming pidfile --- pageserver/src/bin/pageserver.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/pageserver/src/bin/pageserver.rs b/pageserver/src/bin/pageserver.rs index 15e3359c06..bc716351ac 100644 --- a/pageserver/src/bin/pageserver.rs +++ b/pageserver/src/bin/pageserver.rs @@ -293,6 +293,7 @@ fn start_pageserver( // Create and lock PID file. This ensures that there cannot be more than one // pageserver process running at the same time. let lock_file_path = conf.workdir.join(PID_FILE_NAME); + info!("Claiming pid file at {lock_file_path:?}"); let lock_file = utils::pid_file::claim_for_current_process(&lock_file_path).context("claim pid file")?; info!("Claimed pid file at {lock_file_path:?}");