View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000711 | Pgpool-II | Bug | public | 2021-05-18 16:28 | 2021-05-24 18:10 |
| Reporter | moin | Assigned To | |||
| Priority | immediate | Severity | major | Reproducibility | N/A |
| Status | new | Resolution | open | ||
| OS | Linux | OS Version | 7 | ||
| Product Version | 4.0.3 | ||||
| Summary | 0000711: APPARENT DEADLOCK!!! Complete Status: Managed Threads: 3 Active Threads: 3 | ||||
| Description | We are facing issue whenever application is connecting to pgpool 4th Node. We have 4 Applications and 4 pgpool nodes, at any point of time Application can able to connect only 3 pgpool nodes, when we are starting application services on 4 pgpool node we are getting below error messages on application logs and also psql command on pgpool is getting hanged.. Application Logs: APPARENT DEADLOCK!!! Complete Status: Managed Threads: 3 Active Threads: 3 APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks ! [Timer-0] [WARN] [async.ThreadPoolAsynchronousRunner] – (in deadlocked PoolThread) failed to complete in maximum time 6000ms. Trying interrupt(). | ||||
| Steps To Reproduce | NA | ||||
| Additional Information | NA | ||||
| Tags | No tags attached. | ||||
|
|
|
|
|
pgpool version: 4.0.3 |
|
|
May 18 07:47:41 pgpool[22686]: [7-1] 2021-05-18 07:47:41: pid 22686: LOG: failed to connect to PostgreSQL server on "db02:5432" using INET socket May 18 07:47:41 pgpool[22650]: 2021-05-18 07:47:41: pid 22686: LOG: failed to connect to PostgreSQL server on "db02:5432" using INET socket May 18 07:47:41 pgpool[22650]: 2021-05-18 07:47:41: pid 22686: DETAIL: health check timer expired May 18 07:47:41 pgpool[22650]: 2021-05-18 07:47:41: pid 22686: ERROR: failed to make persistent db connection May 18 07:47:41 pgpool[22650]: 2021-05-18 07:47:41: pid 22686: DETAIL: connection to host:"db02:5432" failed May 18 07:47:41 pgpool[22650]: 2021-05-18 07:47:41: pid 22686: LOG: health check retrying on DB node: 1 (round:1) May 18 07:47:41 pgpool[22686]: [7-2] 2021-05-18 07:47:41: pid 22686: DETAIL: health check timer expired May 18 07:47:41 pgpool[22686]: [8-1] 2021-05-18 07:47:41: pid 22686: ERROR: failed to make persistent db connection May 18 07:47:41 pgpool[22686]: [8-2] 2021-05-18 07:47:41: pid 22686: DETAIL: connection to host:"db02:5432" failed May 18 07:48:31 pgpool[22685]: [7-1] 2021-05-18 07:48:31: pid 22685: LOG: failed to connect to PostgreSQL server on "db01:5432" using INET socket May 18 07:48:31 pgpool[22650]: 2021-05-18 07:48:31: pid 22685: LOG: failed to connect to PostgreSQL server on "db01:5432" using INET socket May 18 07:48:31 pgpool[22650]: 2021-05-18 07:48:31: pid 22685: DETAIL: health check timer expired May 18 07:48:31 pgpool[22650]: 2021-05-18 07:48:31: pid 22685: ERROR: failed to make persistent db connection May 18 07:48:31 pgpool[22650]: 2021-05-18 07:48:31: pid 22685: DETAIL: connection to host:"db01:5432" failed May 18 07:48:31 pgpool[22650]: 2021-05-18 07:48:31: pid 22685: LOG: health check retrying on DB node: 0 (round:1) May 18 07:48:31 pgpool[22685]: [7-2] 2021-05-18 07:48:31: pid 22685: DETAIL: health check timer expired May 18 07:48:31 pgpool[22685]: [8-1] 2021-05-18 07:48:31: pid 22685: ERROR: failed to make persistent db connection May 18 07:48:31 pgpool[22685]: [8-2] 2021-05-18 07:48:31: pid 22685: DETAIL: connection to host:"db01:5432" failed |
|
|
Are you sure this isn't a networking issue? It looks like your PGPool instance can't connect to the database server at all. What happens if you try connecting via netcat? Try something like this on your 4:th PGPool node: postgres@pgpool4:~$ echo hello | nc -v db02 5432 db02 [X.X.X.X] 5432 (postgresql) open postgres@pgpool4:~$ The important part there is that it says "open". |
|
|
|
|
|
Team, any update or recommendation from your side. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2021-05-18 16:28 | moin | New Issue | |
| 2021-05-18 16:28 | moin | File Added: image.png | |
| 2021-05-18 16:28 | moin | File Added: image-2.png | |
| 2021-05-18 19:54 | moin | Note Added: 0003832 | |
| 2021-05-19 21:21 | moin | Note Added: 0003833 | |
| 2021-05-20 18:47 | JockeTF | Note Added: 0003835 | |
| 2021-05-21 16:21 | moin | Note Added: 0003836 | |
| 2021-05-21 16:21 | moin | File Added: image-3.png | |
| 2021-05-24 18:10 | moin | Note Added: 0003847 |