View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000744 | Pgpool-II | Bug | public | 2022-01-21 18:33 | 2022-06-28 11:59 |
| Reporter | shutao917 | Assigned To | t-ishii | ||
| Priority | high | Severity | major | Reproducibility | random |
| Status | closed | Resolution | open | ||
| Platform | linux | OS | centos | ||
| Product Version | 4.0.5 | ||||
| Summary | 0000744: child process with pid: 20263 was terminated by segmentation fault | ||||
| Description | this error occurr may times(see picture ).the promgram error log shows below: 2022-01-21T16:49:23.996 org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend. ### The error may exist in org/flowable/db/mapping/entity/Execution.xml ### The error may involve org.flowable.engine.impl.persistence.entity.ExecutionEntityImpl.selectExecution-Inline ### The error occurred while setting parameters ### SQL: select * from ACT_RU_EXECUTION where ID_ = ? ### Cause: org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend. at | ||||
| Tags | No tags attached. | ||||
|
|
pgpool.conf (5,917 bytes)
#------------------------------------------------------------------------------ # CONNECTIONS #------------------------------------------------------------------------------ listen_addresses = '*' port = 19999 socket_dir = '/var/run' listen_backlog_multiplier = 2 serialize_accept = off pcp_listen_addresses = '*' pcp_port = 19898 pcp_socket_dir = '/var/run' #------------------------------------------------------------------------------ # - Backend Connection Settings - #------------------------------------------------------------------------------ backend_hostname0 = '172.18.33.28' backend_port0 = 5432 backend_weight0 = 1 backend_data_directory0 = '/data/pg-prod' backend_flag0 = 'ALLOW_TO_FAILOVER' backend_hostname1 = '172.18.33.29' backend_port1 = 5432 backend_weight1 = 1 backend_data_directory1 = '/data/pg-prod' backend_flag1 = 'ALLOW_TO_FAILOVER' backend_hostname2 = '172.18.33.30' backend_port2 = 5432 backend_weight2 = 0 backend_data_directory2 = '/data/pg-prod' backend_flag2 = 'ALLOW_TO_FAILOVER' #------------------------------------------------------------------------------ # - Authentication - #------------------------------------------------------------------------------ enable_pool_hba = on pool_passwd = 'pool_passwd' authentication_timeout = 60 allow_clear_text_frontend_auth = on #------------------------------------------------------------------------------ # POOLS #------------------------------------------------------------------------------ # - Concurrent session and pool size - num_init_children = 2048 max_pool = 1 # - Life time - child_life_time = 300 child_max_connections = 0 connection_life_time = 0 client_idle_limit = 0 #------------------------------------------------------------------------------ # LOGS #------------------------------------------------------------------------------ log_destination = 'stderr,syslog' log_line_prefix = '%t: pid %p: ' # printf-style string to output at beginning of each log line. log_connections = off log_hostname = on log_statement = off log_per_node_statement = off log_client_messages = on log_standby_delay = 'if_over_threshold' syslog_facility = 'LOCAL0' syslog_ident = 'pgpool-prod' # - Debug - #log_error_verbosity = default # terse, default, or verbose messages #client_min_messages = notice # values in order of decreasing detail: #log_min_messages = warning # values in order of decreasing detail: #------------------------------------------------------------------------------ # FILE LOCATIONS #------------------------------------------------------------------------------ pid_file_name='/var/run/pgpool-prod.pid' logdir = '/var/log/pgpool-prod' #------------------------------------------------------------------------------ # CONNECTION POOLING #------------------------------------------------------------------------------ connection_cache = off reset_query_list = 'ABORT; DISCARD ALL' #------------------------------------------------------------------------------ # MASTER/SLAVE MODE #------------------------------------------------------------------------------ master_slave_mode = on master_slave_sub_mode = 'stream' # - Streaming delay check- sr_check_period = 10 sr_check_user = 'pgpool' sr_check_database = 'postgres' delay_threshold = 10 #------------------------------------------------------------------------------ # HEALTH CHECK GLOBAL PARAMETERS #------------------------------------------------------------------------------ health_check_period = 1 health_check_timeout = 3 health_check_user = 'pgpool' health_check_database = '' health_check_max_retries = 5 health_check_retry_delay = 1 connect_timeout = 3000 #------------------------------------------------------------------------------ # WATCHDOG #------------------------------------------------------------------------------ use_watchdog = on # -Connection to up stream servers - trusted_servers = '' ping_path = '/bin' # - Watchdog communication Settings - wd_hostname = '172.18.33.29' wd_port = 19000 wd_priority = 1 wd_authkey = '' wd_ipc_socket_dir = '/var/run' # - Virtual IP control Setting - delegate_IP = '172.18.33.217' if_cmd_path = '/sbin' if_up_cmd = 'ip addr add $_IP_$/24 dev bond0 label bond0:0' if_down_cmd = 'ip addr del $_IP_$/24 dev bond0' arping_path = '/usr/sbin' arping_cmd = 'arping -U $_IP_$ -w 1 -I bond0' # - Behaivor on escalation Setting - clear_memqcache_on_escalation = on wd_escalation_command = '' wd_de_escalation_command = '' # - Watchdog consensus settings for failover - failover_when_quorum_exists = on failover_require_consensus = on allow_multiple_failover_requests_from_node = off # - Lifecheck Setting - wd_monitoring_interfaces_list = '' wd_lifecheck_method = 'heartbeat' wd_interval = 10 # -- heartbeat mode -- wd_heartbeat_port = 19694 wd_heartbeat_keepalive = 2 wd_heartbeat_deadtime = 30 heartbeat_destination0 = '172.18.33.28' heartbeat_destination_port0 = 19694 heartbeat_device0 = '' heartbeat_destination1 = '172.18.33.30' heartbeat_destination_port1 = 19694 heartbeat_device1 = '' # - Other pgpool Connection Settings - other_pgpool_hostname0 = '172.18.33.28' other_pgpool_port0 = 19999 other_wd_port0 = 19000 other_pgpool_hostname1 = '172.18.33.30' other_pgpool_port1 = 19999 other_wd_port1 = 19000 #------------------------------------------------------------------------------ # OTHERS #------------------------------------------------------------------------------ relcache_expire = 0 relcache_size = 256 check_temp_table = on check_unlogged_table = on #------------------------------------------------------------------------------ # Load Balancing #------------------------------------------------------------------------------ load_balance_mode = on failover_command = '/etc/pgpool-prod/failover.sh %d %h %p %D %m %H %M %P %r %R %N %S' follow_master_command = '/etc/pgpool-prod/follow_master.sh %d %h %p %D %m %H %M %P %r %R' |
|
|
4.0.5 is quite old (released in 2019). Since then many bugs including segfaults have been fixed. Please try the latest version (4.0.17). If you still see the problem, please report back. |
|
|
thinks,i will try.is there any upgrade guide,i can't find in docs |
|
|
Minor releases are compatible with older minor versions. Just stopping pgpool, installing it and restarting it is enough. |
|
|
May I close this issue? |
|
|
No response over two weeks. Close issue. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2022-01-21 18:33 | shutao917 | New Issue | |
| 2022-01-21 18:33 | shutao917 | File Added: pgpool.conf | |
| 2022-01-21 18:33 | shutao917 | File Added: pgpool-log.zip | |
| 2022-01-21 18:33 | shutao917 | File Added: Dingtalk_20220121172919.jpg | |
| 2022-01-21 21:17 | t-ishii | Note Added: 0003987 | |
| 2022-01-24 21:55 | shutao917 | Note Added: 0003988 | |
| 2022-01-25 08:56 | t-ishii | Note Added: 0003989 | |
| 2022-01-25 08:56 | t-ishii | Assigned To | => t-ishii |
| 2022-01-25 08:56 | t-ishii | Status | new => assigned |
| 2022-01-25 08:56 | t-ishii | Status | assigned => feedback |
| 2022-01-25 08:56 | t-ishii | Description Updated | |
| 2022-05-19 11:28 | t-ishii | Note Added: 0004037 | |
| 2022-06-28 11:59 | administrator | Note Added: 0004081 | |
| 2022-06-28 11:59 | administrator | Status | feedback => closed |