Advertisement
Guest User

pgpool deadlock

a guest
Jan 11th, 2013
402
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.14 KB | None | 0 0
  1. ========== 10.216.73.202 ==========
  2.  
  3. Output from netstat -p:
  4. tcp 0 0 10.216.73.20:postgresql dc.scom2012dev.co:46988 ESTABLISHED 23451/postgres: isx
  5. tcp 0 0 10.216.73.20:postgresql dc.scom2012dev.co:48077 ESTABLISHED 26453/postgres: isx
  6.  
  7. Output from psql isxo -c "select pid, locktype, transactionid, virtualtransaction, mode, granted, relname, relkind, datname, usename, current_query, waiting, query_start, client_addr, client_port from pg_locks left outer join pg_class on oid = relation left outer join pg_stat_activity on pid = procpid where pid <> pg_backend_pid() order by pid, granted, relname;"
  8.  
  9. pid | locktype | transactionid | virtualtransaction | mode | granted | relname | relkind | datname | usename | current_query | waiting | query_start | client_addr | client_port
  10. -------+---------------+---------------+--------------------+-----------------------+---------+----------------------------------------+---------+---------+----------+--------------------------------------------------------------+---------+-------------------------------+---------------+-------------
  11. 23451 | relation | | 35/717 | RowShareLock | t | qrtz_mem_locks | r | isxo | isxouser | SELECT * FROM QRTZ_MEM_LOCKS WHERE LOCK_NAME = $1 FOR UPDATE | f | 2013-01-11 10:25:32.323659+00 | 10.216.73.204 |
  12. 23451 | relation | | 35/717 | AccessShareLock | t | qrtz_mem_locks_pkey | i | isxo | isxouser | SELECT * FROM QRTZ_MEM_LOCKS WHERE LOCK_NAME = $1 FOR UPDATE | f | 2013-01-11 10:25:32.323659+00 | 10.216.73.204 |
  13. 23451 | virtualxid | | 35/717 | ExclusiveLock | t | | | isxo | isxouser | SELECT * FROM QRTZ_MEM_LOCKS WHERE LOCK_NAME = $1 FOR UPDATE | f | 2013-01-11 10:25:32.323659+00 | 10.216.73.204 |
  14. 23451 | transactionid | 201515 | 35/717 | ExclusiveLock | t | | | isxo | isxouser | SELECT * FROM QRTZ_MEM_LOCKS WHERE LOCK_NAME = $1 FOR UPDATE | f | 2013-01-11 10:25:32.323659+00 | 10.216.73.204 |
  15.  
  16. 26453 | transactionid | 201515 | 72/122 | ShareLock | f | | | isxo | isxouser | SELECT * FROM QRTZ_MEM_LOCKS WHERE LOCK_NAME = $1 FOR UPDATE | t | 2013-01-11 10:25:32.351276+00 | 10.216.73.204 |
  17. 26453 | relation | | 72/122 | RowShareLock | t | qrtz_mem_locks | r | isxo | isxouser | SELECT * FROM QRTZ_MEM_LOCKS WHERE LOCK_NAME = $1 FOR UPDATE | t | 2013-01-11 10:25:32.351276+00 | 10.216.73.204 |
  18. 26453 | tuple | | 72/122 | ExclusiveLock | t | qrtz_mem_locks | r | isxo | isxouser | SELECT * FROM QRTZ_MEM_LOCKS WHERE LOCK_NAME = $1 FOR UPDATE | t | 2013-01-11 10:25:32.351276+00 | 10.216.73.204 |
  19. 26453 | relation | | 72/122 | AccessShareLock | t | qrtz_mem_locks_pkey | i | isxo | isxouser | SELECT * FROM QRTZ_MEM_LOCKS WHERE LOCK_NAME = $1 FOR UPDATE | t | 2013-01-11 10:25:32.351276+00 | 10.216.73.204 |
  20. 26453 | virtualxid | | 72/122 | ExclusiveLock | t | | | isxo | isxouser | SELECT * FROM QRTZ_MEM_LOCKS WHERE LOCK_NAME = $1 FOR UPDATE | t | 2013-01-11 10:25:32.351276+00 | 10.216.73.204 |
  21.  
  22.  
  23.  
  24. ========== 10.216.73.204 ==========
  25.  
  26. Output from netstat -p:
  27. tcp 0 0 dc.scom2012dev.co:48715 dc.scom2012d:postgresql ESTABLISHED 7606/pgpool: isxous
  28. tcp 0 0 10.216.73.56:5433 10.216.73.56:58608 ESTABLISHED 7606/pgpool: isxous
  29. tcp 0 0 dc.scom2012dev.co:48077 10.216.73.20:postgresql ESTABLISHED 7606/pgpool: isxous
  30.  
  31. tcp 37 0 dc.scom2012dev.co:46988 10.216.73.20:postgresql ESTABLISHED 7681/pgpool: isxous
  32. tcp 0 0 dc.scom2012dev.co:47626 dc.scom2012d:postgresql ESTABLISHED 7681/pgpool: isxous
  33. tcp 0 0 10.216.73.56:5433 10.216.73.56:57519 ESTABLISHED 7681/pgpool: isxous
  34.  
  35. tcp 0 0 dc.scom2012d:postgresql dc.scom2012dev.co:47626 ESTABLISHED 12464/postgres: isx
  36. tcp 0 0 dc.scom2012d:postgresql dc.scom2012dev.co:48715 ESTABLISHED 17789/postgres: isx
  37.  
  38. Output from psql isxo -c "select pid, locktype, transactionid, virtualtransaction, mode, granted, relname, relkind, datname, usename, current_query, waiting, query_start, client_addr, client_port from pg_locks left outer join pg_class on oid = relation left outer join pg_stat_activity on pid = procpid where pid <> pg_backend_pid() order by pid, granted, relname;"
  39.  
  40. pid | locktype | transactionid | virtualtransaction | mode | granted | relname | relkind | datname | usename | current_query | waiting | query_start | client_addr | client_port
  41. -------+---------------+---------------+--------------------+-----------------------+---------+-----------------------------------------+---------+---------+----------+--------------------------------------------------------------+---------+-------------------------------+---------------+-------------
  42. 17789 | relation | | 72/242 | RowShareLock | t | qrtz_mem_locks | r | isxo | isxouser | SELECT * FROM QRTZ_MEM_LOCKS WHERE LOCK_NAME = $1 FOR UPDATE | f | 2013-01-11 10:25:32.347289+00 | 10.216.73.204 |
  43. 17789 | relation | | 72/242 | AccessShareLock | t | qrtz_mem_locks_pkey | i | isxo | isxouser | SELECT * FROM QRTZ_MEM_LOCKS WHERE LOCK_NAME = $1 FOR UPDATE | f | 2013-01-11 10:25:32.347289+00 | 10.216.73.204 |
  44. 17789 | transactionid | 201520 | 72/242 | ExclusiveLock | t | | | isxo | isxouser | SELECT * FROM QRTZ_MEM_LOCKS WHERE LOCK_NAME = $1 FOR UPDATE | f | 2013-01-11 10:25:32.347289+00 | 10.216.73.204 |
  45. 17789 | virtualxid | | 72/242 | ExclusiveLock | t | | | isxo | isxouser | SELECT * FROM QRTZ_MEM_LOCKS WHERE LOCK_NAME = $1 FOR UPDATE | f | 2013-01-11 10:25:32.347289+00 | 10.216.73.204 |
  46.  
  47. 12464 | transactionid | 201520 | 35/1659 | ShareLock | f | | | isxo | isxouser | SELECT * FROM QRTZ_MEM_LOCKS WHERE LOCK_NAME = $1 FOR UPDATE | t | 2013-01-11 10:25:32.319068+00 | 10.216.73.204 |
  48. 12464 | relation | | 35/1659 | RowShareLock | t | qrtz_mem_locks | r | isxo | isxouser | SELECT * FROM QRTZ_MEM_LOCKS WHERE LOCK_NAME = $1 FOR UPDATE | t | 2013-01-11 10:25:32.319068+00 | 10.216.73.204 |
  49. 12464 | tuple | | 35/1659 | ExclusiveLock | t | qrtz_mem_locks | r | isxo | isxouser | SELECT * FROM QRTZ_MEM_LOCKS WHERE LOCK_NAME = $1 FOR UPDATE | t | 2013-01-11 10:25:32.319068+00 | 10.216.73.204 |
  50. 12464 | relation | | 35/1659 | AccessShareLock | t | qrtz_mem_locks_pkey | i | isxo | isxouser | SELECT * FROM QRTZ_MEM_LOCKS WHERE LOCK_NAME = $1 FOR UPDATE | t | 2013-01-11 10:25:32.319068+00 | 10.216.73.204 |
  51. 12464 | virtualxid | | 35/1659 | ExclusiveLock | t | | | isxo | isxouser | SELECT * FROM QRTZ_MEM_LOCKS WHERE LOCK_NAME = $1 FOR UPDATE | t | 2013-01-11 10:25:32.319068+00 | 10.216.73.204 |
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement