From 6d7bc89dd076e53e046a4799a66bbcb3f5453a6a Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Wed, 17 Feb 2021 21:36:44 +0100 Subject: [PATCH] Updated Debugging (markdown) --- Debugging.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Debugging.md b/Debugging.md index 601dfd4..e8a2af6 100644 --- a/Debugging.md +++ b/Debugging.md @@ -9,7 +9,7 @@ Good exapmles for situations where the following instructions helped with debugg ### Instructions 1. Run zrepl with autostarted pprof server on port `:12345` and prometheus endpoint on `:22345` * configure prometheus endpoint in [config]( https://zrepl.github.io/configuration/monitoring.html?highlight=prometheus#prometheus-grafana) - * `zrepl pprof on :12345` if the daemon is already running (for example when we want to capture a rare deadlock which would be resolved by restarting the daemon) + * `zrepl pprof listen on :12345` if the daemon is already running (for example when we want to capture a rare deadlock which would be resolved by restarting the daemon) * or `ZREPL_DAEMON_AUTOSTART_PPROF_SERVER=:12345 zrepl daemon` if restarting the daemon is a good idea 2. `watch 'curl localhost:22345/metrics | grep -v "#" | grep memstats'`