db-koji01: try not using this long running script anymore

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2023-06-01 15:15:52 -07:00
parent c559d543a2
commit 567a69dd58

View file

@ -173,25 +173,25 @@
- cron
- postgresql
- name: install script to kill long running pgsql jobs
copy: >
src=kill_idle_xact_92.sh
dest=/usr/local/bin/kill_idle_xact_92.sh
mode=0755
when: inventory_hostname.startswith('db-koji01')
tags:
- cron
- postgresql
- name: Set up a cron job to kill long postresql queries
copy: >
src=koji-cleanup-locks.cron
dest=/etc/cron.d/koji-cleanup-locks.cron
when: inventory_hostname.startswith('db-koji01')
tags:
- cron
- postgresql
#- name: install script to kill long running pgsql jobs
# copy: >
# src=kill_idle_xact_92.sh
# dest=/usr/local/bin/kill_idle_xact_92.sh
# mode=0755
# when: inventory_hostname.startswith('db-koji01')
# tags:
# - cron
# - postgresql
#
#- name: Set up a cron job to kill long postresql queries
# copy: >
# src=koji-cleanup-locks.cron
# dest=/etc/cron.d/koji-cleanup-locks.cron
# when: inventory_hostname.startswith('db-koji01')
# tags:
# - cron
# - postgresql
#
- name: Set up a script for cron job to clean long fas sessions on fas database server only
copy: >
src=fasdb-cleanup-sessions