Новые версии pgpool

Andy_S

New member
Сообщения
1
#1
Добрый день всем

Собрал pgpool 3.7.22, но не работает команда pcp_watchdog_info.
Версия pgpool из дистрибутива Астры (pgpool2/stable,now 3.6.1-1 amd64 [installed]) работает, но хотелось бы более новую сборку.

Возможно кто-то собирал новый pgpool и сталкивался с данной проблемой.
Есть идеи почему так происходит?

Версия Астры

Код:
DISTRIB_ID="AstraLinuxCE"
DISTRIB_DESCRIPTION="Astra Linux CE 2.12.45 (Orel)"
DISTRIB_RELEASE=2.12.45
DISTRIB_CODENAME=orel
Кусок лога
Код:
Apr 12 09:43:48 astra-srv01 pgpool[1320]: [186-1] 2023-04-12 09:43:48: pid 1320: DEBUG:  pool_flush_it: flush size: 5
Apr 12 09:43:49 astra-srv01 pgpool[1126]: [50-1] 2023-04-12 09:43:49: pid 1126: DEBUG:  watchdog heartbeat: send heartbeat signal to astra-srv02:9694
Apr 12 09:43:51 astra-srv01 pgpool[1126]: [51-1] 2023-04-12 09:43:51: pid 1126: DEBUG:  watchdog heartbeat: send heartbeat signal to astra-srv02:9694
Apr 12 09:43:52 astra-srv01 pgpool[1354]: [50-1] 2023-04-12 09:43:52: pid 1354: WARNING:  get watchdog nodes command failed
Apr 12 09:43:52 astra-srv01 pgpool[1354]: [50-2] 2023-04-12 09:43:52: pid 1354: DETAIL:  ipc command timeout
Apr 12 09:43:52 astra-srv01 pgpool[1354]: [51-1] 2023-04-12 09:43:52: pid 1354: ERROR:  PCP: informing watchdog info failed
Apr 12 09:43:52 astra-srv01 pgpool[1354]: [51-2] 2023-04-12 09:43:52: pid 1354: DETAIL:  invalid watchdog index
Apr 12 09:43:52 astra-srv01 pgpool[1354]: [52-1] 2023-04-12 09:43:52: pid 1354: DEBUG:  received PCP packet
Apr 12 09:43:52 astra-srv01 pgpool[1354]: [52-2] 2023-04-12 09:43:52: pid 1354: DETAIL:  PCP packet type of service 'X'
Apr 12 09:43:52 astra-srv01 pgpool[1354]: [53-1] 2023-04-12 09:43:52: pid 1354: DEBUG:  PCP processing request, client disconnecting
Apr 12 09:43:52 astra-srv01 pgpool[1354]: [53-2] 2023-04-12 09:43:52: pid 1354: DETAIL:  closing PCP connection, and exiting child
Apr 12 09:43:52 astra-srv01 pgpool[1318]: [44-1] 2023-04-12 09:43:52: pid 1318: DEBUG:  PCP child reaper handler
Apr 12 09:43:52 astra-srv01 pgpool[1318]: [45-1] 2023-04-12 09:43:52: pid 1318: LOG:  PCP process with pid: 1354 exit with SUCCESS.
Apr 12 09:43:52 astra-srv01 pgpool[1318]: [46-1] 2023-04-12 09:43:52: pid 1318: LOG:  PCP process with pid: 1354 exits with status 0
Результат команды /usr/local/bin/pcp_watchdog_info -h 127.0.0.1 -p 9898 -U postgres -v -d
Код:
DEBUG: recv: tos="m", len=8
DEBUG: recv: tos="r", len=21
DEBUG: send: tos="W", len=7
DEBUG: recv: tos="N", len=97
BACKEND WARNING:  get watchdog nodes command failed
DETAIL:  ipc command timeout
DEBUG: recv: tos="E", len=99
ERROR:  PCP: informing watchdog info failed
DETAIL:  invalid watchdog index

DEBUG: send: tos="X", len=4