Code: Select all
SQL: SQL Error [nagiosxi] : ERROR: deadlock detected DETAIL: Process 11570 waits for ShareLock on transaction 186147139; blocked by process 7988. Process 7988 waits for ShareLock on transaction 186147054; blocked by process 2196. Process 2196 waits for ShareLock on transaction 186147126; blocked by process 11570. HINT: See server log for query details.I found a hit on the forum that it might be postgresql so I tried vacuuming it. Still no joy.
I also bumped up the max_connecions in /var/lib/pgsql/data/postgresql.conf from 100 to 1000 and restarting the postgresql service. No change.
The entries in /var/lib/pgsql/data/pg_log/postgresql-Wed.log look like:
Code: Select all
STATEMENT: UPDATE xi_options SET value='101' WHERE name='im_component_version'
ERROR: deadlock detected
DETAIL: Process 23839 waits for ExclusiveLock on tuple (24,75) of relation 930881 of database 16385; blocked by process 32759.
Process 32759 waits for ShareLock on transaction 186167664; blocked by process 25034.
Process 25034 waits for ShareLock on transaction 186167608; blocked by process 23839.
Process 23839: UPDATE xi_options SET value='101' WHERE name='im_component_version'
Process 32759: UPDATE xi_options SET value='101' WHERE name='im_component_version'
Process 25034: UPDATE xi_options SET value='101' WHERE name='im_component_version'
HINT: See server log for query details.