[pgpool-general: 840] Re: Pgpool - not more connection than 80

Tatsuo Ishii ishii at postgresql.org
Thu Aug 2 22:14:16 JST 2012


> 2012-08-02 14:44:14 LOG: pid 7705: do_query: error message from
> backend out of memory

Apparently this your PostgreSQL problem because pgpool received error
messages from backend "out of memory".

> backend_data_directory0 = '/opt/PostgresPlus/9.1AS/data'

Hm. You are using EDB's Postgres Plus Advanced Server?
I'd suggest you to ask EDB's support staffs.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp

> Hi,
> 
> I test a pgpool 3.1.3 now with one DB PostgreSQL 9.1 server and when I
> run our jmeter test I have only max 80 loggen-in users. In pgpool I
> get some errors:
> 
> 2012-08-02 14:44:02 ERROR: pid 9743: pool_read: read failed
> (Connection reset by peer)
> 2012-08-02 14:44:02 LOG: pid 9743: ProcessFrontendResponse: failed to
> read kind from frontend. frontend abnormally exited
> 2012-08-02 14:44:07 LOG: pid 9730: ProcessFrontendResponse: failed to
> read kind from frontend. frontend abnormally exited
> 2012-08-02 14:44:07 LOG: pid 9730: ProcessFrontendResponse: failed to
> read kind from frontend. frontend abnormally exited
> 2012-08-02 14:44:14 LOG: pid 7705: do_query: error message from
> backend out of memory
> 2012-08-02 14:44:14 LOG: pid 7705: do_query: error message from
> backend out of memory
> 2012-08-02 14:44:14 LOG: pid 7705: do_query: error message from
> backend out of memory
> 
> my config
> 
> listen_addresses = '*'
> port = 9988
> socket_dir = '/tmp'
> pcp_port = 9898
> pcp_socket_dir = '/tmp'
> pcp_timeout = 0
> backend_hostname0 = 'db1'
> backend_port0 = 5433
> backend_weight0 = 1
> backend_data_directory0 = '/opt/PostgresPlus/9.1AS/data'
> backend_flag0 = 'ALLOW_TO_FAILOVER'
> enable_pool_hba = off
> authentication_timeout = 60
> ssl = off
> num_init_children = 120
> max_pool = 5
> child_life_time = 300
> child_max_connections = 1000
> connection_life_time = 0
> client_idle_limit = 0
> log_destination = 'stderr'
> print_timestamp = on
> log_connections = off
> log_hostname = off
> log_statement = off
> log_per_node_statement = off
> log_standby_delay = 'if_over_threshold'
> syslog_facility = 'LOCAL0'
> syslog_ident = 'pgpool'
> debug_level = 0
> pid_file_name = '/var/run/pgpool/pgpool.pid'
> logdir = '/tmp'
> connection_cache = on
> reset_query_list = 'ABORT; DISCARD ALL'
> replication_mode = off
> replicate_select = off
> insert_lock = off
> lobj_lock_table = ''
> replication_stop_on_mismatch = off
> failover_if_affected_tuples_mismatch = off
> load_balance_mode = on
> ignore_leading_white_space = on
> white_function_list = ''
> master_slave_mode = on
> master_slave_sub_mode = 'stream'
> sr_check_period = 0
> sr_check_user = 'postgres'
> sr_check_password = ''
> delay_threshold = 10000000
> follow_master_command = ''
> parallel_mode = off
> enable_query_cache = off
> pgpool2_hostname = ''
> system_db_hostname  = 'localhost'
> system_db_port = 5432
> system_db_dbname = 'pgpool'
> system_db_schema = 'pgpool_catalog'
> system_db_user = 'pgpool'
> system_db_password = ''
> health_check_period = 0
> health_check_timeout = 20
> health_check_user = 'nobody'
> health_check_password = ''
> client_idle_limit_in_recovery = 0
> relcache_expire = 5
> 
> The target configuration, I would like to connect an additional 2-3
> servers with streaming replication.


More information about the pgpool-general mailing list