Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 5F5AE1337B9E for ; Fri, 28 Jan 2011 12:45:37 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 79599-02 for ; Fri, 28 Jan 2011 16:45:35 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id 7B0411337B96 for ; Fri, 28 Jan 2011 12:45:35 -0400 (AST) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p0SGjY6l045322 for ; Fri, 28 Jan 2011 16:45:34 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p0SGjYOP045321; Fri, 28 Jan 2011 16:45:34 GMT (envelope-from www) Date: Fri, 28 Jan 2011 16:45:34 GMT Message-Id: <201101281645.p0SGjYOP045321@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #5855: pgstat wait timeout From: "Ondrej Pachner" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201101/237 X-Sequence-Number: 29259 The following bug has been logged online: Bug reference: 5855 Logged by: Ondrej Pachner Email address: ondrej.pachner@4internet.cz PostgreSQL version: 9.0.1 Operating system: Debian GNU Linux - stable Description: pgstat wait timeout Details: all counters on zero and warning about wait timeout.. postgres=> SELECT * FROM pg_stat_database; WARNING: pgstat wait timeout datid | datname | numbackends | xact_commit | xact_rollback | blks_read | blks_hit | tup_returned | tup_fetched | tup_inserted | tup_updated | tup_deleted -----------+-------------------+-------------+-------------+---------------+ -----------+----------+--------------+-------------+--------------+--------- ----+------------- 11866 | template0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 11874 | postgres | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 214340298 | eims_ejb_total_50 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 1 | template1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 (4 rows) ----------------------------------- configuration: listen_addresses = '*' port = 5432 max_connections = 100 shared_buffers = 512MB work_mem = 128MB maintenance_work_mem = 256MB effective_cache_size = 12288MB default_statistics_target = 10000 log_destination = 'stderr' logging_collector = on log_directory = 'pg_log' log_truncate_on_rotation = on log_rotation_age = 1d log_rotation_size = 0 log_min_messages = warning log_min_duration_statement = 300 log_connections = off log_disconnections = off log_duration = off log_line_prefix = '%t [%p]: [%l-1] ' log_lock_waits = on track_counts = on log_planner_stats = on autovacuum = on log_autovacuum_min_duration = 300 autovacuum_max_workers = 3 autovacuum_naptime = 1min autovacuum_vacuum_threshold = 50 autovacuum_analyze_threshold = 50 autovacuum_vacuum_scale_factor = 0.2 autovacuum_analyze_scale_factor = 0.1 autovacuum_freeze_max_age = 200000000 autovacuum_vacuum_cost_delay = 20ms autovacuum_vacuum_cost_limit = -1 datestyle = 'iso, dmy' lc_messages = 'cs_CZ.utf8' lc_monetary = 'cs_CZ.utf8' lc_numeric = 'cs_CZ.utf8' lc_time = 'cs_CZ.utf8' default_text_search_config = 'pg_catalog.simple' custom_variable_classes = 'pljava' dynamic_library_path ='$libdir:/usr/local/postgresql-9.0.1/lib/postgresql' pljava.classpath='/usr/local/postgresql-9.0.1/lib/postgresql/pljava.jar:/usr /local/postgresql-9.0.1/lib/postgresql/jbossall-client.jar' ------------- 8CPUs, 16G of RAM, uname -a gives: Linux tbdb-901 2.6.26-2-xen-amd64 #1 SMP Thu Sep 16 16:32:15 UTC 2010 x86_64 GNU/Linux