Add script from jberkus to kill idle/locked transactions and log information about them on db-koji01
This commit is contained in:
parent
0b926eed53
commit
f0d34369c5
3 changed files with 100 additions and 0 deletions
6
roles/postgresql_server/files/koji-cleanup-locks.cron
Normal file
6
roles/postgresql_server/files/koji-cleanup-locks.cron
Normal file
|
@ -0,0 +1,6 @@
|
|||
SHELL=/bin/bash
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
MAILTO=root@fedoraproject.org
|
||||
HOME=/
|
||||
|
||||
*/10 * * * * postgres kill_idle_xact_92.sh
|
Loading…
Add table
Add a link
Reference in a new issue