Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZKTKz-0003WF-Sg for pgsql-bugs@arkaria.postgresql.org; Wed, 29 Jul 2015 15:32:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZKTKz-0001zJ-Ee for pgsql-bugs@arkaria.postgresql.org; Wed, 29 Jul 2015 15:32:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZKQFK-00069j-7x for pgsql-bugs@postgresql.org; Wed, 29 Jul 2015 12:14:06 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZKQFH-0005aS-Gw for pgsql-bugs@postgresql.org; Wed, 29 Jul 2015 12:14:05 +0000 MIME-Version: 1.0 Subject: BUG #13525: Database crashed with several error messages "Could not open file "pg_multixact/members/" To: pgsql-bugs@postgresql.org From: kumarsathishms@gmail.com Date: Wed, 29 Jul 2015 12:13:50 +0000 Message-ID: <20150729121350.9130.28427@wrigleys.postgresql.org> X-Pg-Spam-Score: -0.3 (/) Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" 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 The following bug has been logged on the website: Bug reference: 13525 Logged by: Could not open file "pg_multixact/members/ Email address: kumarsathishms@gmail.com PostgreSQL version: 9.3.5 Operating system: Ubuntu 12.04 Description: Hi Team, Recently our postgresql db crashed giving the error message Could not open file "pg_multixact/members/" for the second time. Architecture - Master(read+write) and slave(read-only) database - Hot standby. DB size : 159GB Note: Both master + slave had same problem. What we did to to recover from the situation - Action-1: Drop and restore the DB on same server using PITR. Result : Still the same error. Action-2: Restore base and data using PITR. Result:Poor performance in DB with loggings "WARNING: oldest multixact is far in the past" Action-3: Remove Posgresql-9.3.5 and install postgresql-9.3.9 restore the complete DB using pg_restore and did not use PITR. Worked well. After lot of read-ups, the files were wrapped around and lost over time. So, How can we avoid such situations in future?. Can this be controlled with configurations to avoid the wraparounds?. Any help on this topic would be really great to solve the issue. Let me know if some more details are needed to analyze the cause. Thanks a lot ! -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs