mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-16 09:52:54 +00:00
suspicion: the fsync after creating a lot of data is the culprit; add info! line to get a timestamp before we start claiming pidfile
This commit is contained in:
@@ -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:?}");
|
||||
|
||||
Reference in New Issue
Block a user