Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YkfWl-0007JV-8B for pgsql-bugs@arkaria.postgresql.org; Tue, 21 Apr 2015 21:16:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YkfWk-0001xT-JA for pgsql-bugs@arkaria.postgresql.org; Tue, 21 Apr 2015 21:16:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YkfWj-0001xC-4L for pgsql-bugs@postgresql.org; Tue, 21 Apr 2015 21:16:17 +0000 Received: from nm7-vm3.bullet.mail.ne1.yahoo.com ([98.138.91.137]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YkfWZ-0001bQ-U5 for pgsql-bugs@postgresql.org; Tue, 21 Apr 2015 21:16:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s2048; t=1429650963; bh=ifTaRVk1L5hYPT4LC+cDrHZKFHk4ji7RCJYk2L8sRIE=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=Pe3DisplHKkI7wMmlgx1uUuR37+FDz3m9fNawvutvOD6qchAXwpFfZ/J0cxwa0qHtao7YGKvbYZkp/zXBGfTr9S7zFtv8C8iz4oCMuqAbOKMn7SsaNZ7nnG8PG6Xey61KH9aUcgWc6l+FBYUYX+SXTSoo3ahjdihG1UaSr+v/h04rjHOVo8r0GnqoBFf/q1fRUSsNZ87fD7bBLkoj+T2sI9wGp3Ue1vRC1ANr7fwlMgX4q6bLx6YVPlF9OglUTbAp8WD5QGiYYrB+6KQrU56rCvsUF/FIqd9W/tbqGgrCyvek5T7O49JIeX1XuEpc/cHQEMfvPZXwQMUCMvyutWlZQ== Received: from [98.138.100.113] by nm7.bullet.mail.ne1.yahoo.com with NNFMP; 21 Apr 2015 21:16:03 -0000 Received: from [98.138.86.157] by tm104.bullet.mail.ne1.yahoo.com with NNFMP; 21 Apr 2015 21:16:03 -0000 Received: from [127.0.0.1] by omp1015.mail.ne1.yahoo.com with NNFMP; 21 Apr 2015 21:16:03 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 465809.25245.bm@omp1015.mail.ne1.yahoo.com X-YMail-OSG: 2NHTbX8VM1lLwOjhI3S6vDPGM4vOR0NRwkmeVdXzRoNwwTvxEZbU880eoLyET4S DTTjyy82KnhS23QzQh6jsEysFFQ3RwX.RQndrm9jIOtYd7WPFRvfSMyyUAdID3_wnfS9hbQvxmXu lrRfLz.918vt.e4zZL90w4_C1C77TBw2GQHFvrsa8WXSzZcvKUTU.jKGGQmUefnxuCdAiuhlDONf XJpU7XFMYFvFbSP1kCEfZ2XlsnP.akH.7XlipXsGhoQVAJDMDjOQ5hbiAYx4wYPiNPIsJpGtpqji nOUN9fKKT_nNuO41COgQNOrliyL.gukjjzQT4DyZfla4NGa21odcJhQLW4RWLTDyLfXF1Y2aOuRM XQoA2Igr_F.BvHNPfgBHiiR.rP08o95CZqprSNV3kZtMGS21JvuY_SDqJwo0gRtTjGJQ5MbnG._5 eIscsPYGvVM378LAMVRk3jZnA67kCb_cu5afi8afsXSbZlicfGVFMXxrGh38aLlSpIYCn7PjptJw 37NnF5JBXJw7EU4tcIL54oOLTH._fCWwTQxcekqbNFIET6lKUJw-- Received: by 98.138.105.206; Tue, 21 Apr 2015 21:16:03 +0000 Date: Tue, 21 Apr 2015 21:16:01 +0000 (UTC) From: Kevin Grittner Reply-To: Kevin Grittner To: Alvaro Herrera , "tgarnett@panjiva.com" Cc: "pgsql-bugs@postgresql.org" Message-ID: <682806730.1514266.1429650961503.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: <20150420190435.GV4369@alvh.no-ip.org> References: <20150420190435.GV4369@alvh.no-ip.org> Subject: Re: BUG #12990: Missing pg_multixact/members files (appears to have wrapped, then truncated) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Length: 1009 X-Pg-Spam-Score: -2.0 (--) 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 Alvaro Herrera wrote: > Here's a patch. I have tested locally and it closes the issue > for me. If those affected can confirm that it stops the file > removal from happening, I'd appreciate it. Based on initial testing, it seems to stop file removal from happening rather too well. Before applying the patch I ran a test test that generated files 0000 to 1185D in the members directory. Even setting vacuum_multixact_freeze_min_age and vacuum_multixact_freeze_table_age very low, none of the members files would go away with VACUUM (with and without FREEZE) followed by CHECKPOINT. After applying the patch and starting with a fresh initdb, with very low settings of the vacuum_multixact_* GUCs I get the new error almost immediately, while the only file in the members subdirectory is 0000 and it is 8kB in size. I think the calculations might be wrong, but I'm not sure what does make sense. -- Kevin Grittner EDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs