Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqLK6-0000PB-5C for pgsql-bugs@arkaria.postgresql.org; Tue, 21 Mar 2017 15:03:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cqLK5-0006fa-H9 for pgsql-bugs@arkaria.postgresql.org; Tue, 21 Mar 2017 15:03:45 +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_2) (envelope-from ) id 1cqLJO-0005Rm-7V for pgsql-bugs@postgresql.org; Tue, 21 Mar 2017 15:03:02 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cqLJK-0003zZ-KZ for pgsql-bugs@postgresql.org; Tue, 21 Mar 2017 15:03:01 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v2LF2udO031586; Tue, 21 Mar 2017 11:02:56 -0400 From: Tom Lane To: gnareshdba@gmail.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14594: postgres dies with fatal error In-reply-to: <20170320222603.1416.38609@wrigleys.postgresql.org> References: <20170320222603.1416.38609@wrigleys.postgresql.org> Comments: In-reply-to gnareshdba@gmail.com message dated "Mon, 20 Mar 2017 22:26:03 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <31584.1490108576.1@sss.pgh.pa.us> Date: Tue, 21 Mar 2017 11:02:56 -0400 Message-ID: <31585.1490108576@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 gnareshdba@gmail.com writes: > Operating system: RHEL 7.2 > postgresql (9.4.5) instance restarts with below error during backup times > 2017-03-19 19:00:21 EDT PANIC: semop(id=152698887) failed: Invalid argument You need to prevent systemd from deleting Postgres' semaphores. See the discussion of RemoveIPC here: https://wiki.postgresql.org/wiki/Systemd > on RHEL 7.2, and UID set to (id -u postgres) 2011 That's not the UID typically used on RHEL for Postgres, which is probably why systemd doesn't know to exempt it from RemoveIPC. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs