aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/json.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2022-05-11 18:03:03 +1200
committerThomas Munro <tmunro@postgresql.org>2022-05-11 18:03:03 +1200
commit0d3431497dbe91ba1e428ace4e9537c109eaff07 (patch)
treea4bc28645a52f87de2fe0d91455238b1d17cd563 /src/backend/utils/adt/json.c
parentf95d53eded55ecbf037f6416ced6af29a2c3caca (diff)
downloadpostgresql-0d3431497dbe91ba1e428ace4e9537c109eaff07.tar.gz
postgresql-0d3431497dbe91ba1e428ace4e9537c109eaff07.zip
Add logging for excessive ProcSignalBarrier waits.
To enable diagnosis of systems that are not processing ProcSignalBarrier requests promptly, add a LOG message every 5 seconds if we seem to be wedged. Although you could already see this state as a wait event in pg_stat_activity, the log message also shows the PID of the process that is preventing progress. Also add DEBUG1 logging around the whole wait loop. Reviewed-by: Robert Haas <robertmhaas@gmail.com> Discussion: https://postgr.es/m/CA%2BTgmoYJ03r5359gQutRGP9BtigYCg3_UskcmnVjBf-QO3-0pQ%40mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions