forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0d34314
committed
Add logging for excessive ProcSignalBarrier waits.
To enable diagnosis of systems that are not processing ProcSignalBarrierrequests promptly, add a LOG message every 5 seconds if we seem to bewedged. Although you could already see this state as a wait event inpg_stat_activity, the log message also shows the PID of the process thatis 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.com1 parentf95d53e commit0d34314
1 file changed
+16
-2
lines changedLines changed: 16 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
393 | 393 |
| |
394 | 394 |
| |
395 | 395 |
| |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
396 | 401 |
| |
397 | 402 |
| |
398 | 403 |
| |
| |||
407 | 412 |
| |
408 | 413 |
| |
409 | 414 |
| |
410 |
| - | |
411 |
| - | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
412 | 421 |
| |
413 | 422 |
| |
414 | 423 |
| |
415 | 424 |
| |
416 | 425 |
| |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
417 | 431 |
| |
418 | 432 |
| |
419 | 433 |
| |
|
0 commit comments
Comments
(0)