Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YIKmU-0004kp-L3 for pgsql-bugs@arkaria.postgresql.org; Mon, 02 Feb 2015 17:27:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YIKmU-0003X3-4V for pgsql-bugs@arkaria.postgresql.org; Mon, 02 Feb 2015 17:27:26 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YIKmS-0003Wg-8l for pgsql-bugs@postgresql.org; Mon, 02 Feb 2015 17:27:24 +0000 Received: from smtp146.dfw.emailsrvr.com ([67.192.241.146]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YIKmM-0003b3-60 for pgsql-bugs@postgresql.org; Mon, 02 Feb 2015 17:27:22 +0000 Received: from smtp31.relay.dfw1a.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp31.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id 1DED7380177; Mon, 2 Feb 2015 12:27:17 -0500 (EST) X-SMTPDoctor-Processed: csmtpprox beta Received: from smtp31.relay.dfw1a.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp31.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id 1975338018D; Mon, 2 Feb 2015 12:27:17 -0500 (EST) Received: by smtp31.relay.dfw1a.emailsrvr.com (Authenticated sender: charles.harwood-AT-zuerchertech.com) with ESMTPSA id 8A532380177; Mon, 2 Feb 2015 12:27:16 -0500 (EST) X-Sender-Id: charles.harwood@zuerchertech.com Received: from [10.0.0.4] ([UNAVAILABLE]. [24.111.12.82]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA) by 0.0.0.0:465 (trex/5.4.2); Mon, 02 Feb 2015 17:27:17 GMT Message-ID: <54CFB36E.9080608@zuerchertech.com> Date: Mon, 02 Feb 2015 11:27:10 -0600 From: "Charles R. Harwood" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Peter Geoghegan CC: pgsql-bugs@postgresql.org Subject: Re: BUG #12718: Apparent LWlock Problem Perhaps With Page Cleanup References: <20150130221445.2583.8173@wrigleys.postgresql.org> In-Reply-To: Content-Type: multipart/alternative; boundary="------------070408030805070109000600" X-Pg-Spam-Score: -0.2 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org This is a multi-part message in MIME format. --------------070408030805070109000600 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Yes. It was pg_upgrad-ed from 9.2 almost a year ago (2014-02-27). Unfortunately, I do not have the 9.2 data anymore. It was pg_upgraded with the binaries in postgresql 9.3.1 which I understand were affected by a bug related to leaving pg_multixact files behind as per http://www.postgresql.org/docs/9.4/static/release-9-3-5.html. But the query associated with the offsets/0000 bug, if I understand it, doesn't seem to apply because offset 0000 doesn't exist in my case and therefore the associated query returns False. I'm afraid my grasp of MultiXacts isn't up to the task of understand exactly what's going on. By the time this issue is resolved I'm sure I'll understand them better than I ever wanted to. I'll attempt to supply the same information as was requested in the referenced thread. Here is the pg_controldata output: pg_control version number: 937 Catalog version number: 201306121 Database system identifier: 5985061615841541596 Database cluster state: in production pg_control last modified: Mon 02 Feb 2015 10:50:00 AM CST Latest checkpoint location: 43A/607AD468 Prior checkpoint location: 43A/5DBA9040 Latest checkpoint's REDO location: 43A/5FF7A3C8 Latest checkpoint's REDO WAL file: 000000010000043A0000005F Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/487855284 Latest checkpoint's NextOID: 134556810 Latest checkpoint's NextMultiXactId: 1183038 Latest checkpoint's NextMultiOffset: 2584953 Latest checkpoint's oldestXID: 289465105 Latest checkpoint's oldestXID's DB: 16414 Latest checkpoint's oldestActiveXID: 487855284 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 16414 Time of latest checkpoint: Mon 02 Feb 2015 10:47:30 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/0 Min recovery ending loc's timeline: 0 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: hot_standby Current max_connections setting: 1000 Current max_prepared_xacts setting: 0 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 8192 Blocks per segment of large relation: 131072 WAL block size: 8192 Bytes per WAL segment: 16777216 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 1996 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 0 leds=# SELECT datname, datfrozenxid, datminmxid FROM pg_database WHERE datname = 'leds'; datname | datfrozenxid | datminmxid ---------+--------------+------------ leds | 289465105 | 1 (1 row) leds=# SELECT oid::regclass, relnamespace, relfrozenxid, relminmxid FROM pg_class WHERE relname = 'addresses' AND relnamespace = 2200; oid | relnamespace | relfrozenxid | relminmxid -----------+--------------+--------------+------------ addresses | 2200 | 354953499 | 261502 The oldest file in the cluster's pg_multixact/offsets directory is 0003 which as a modify time within an hour of pg_upgrade on 2014-02-27.