Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1izG7h-0007NY-5Q for pgsql-general@arkaria.postgresql.org; Wed, 05 Feb 2020 08:33:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1izG7f-0000n2-9H for pgsql-general@arkaria.postgresql.org; Wed, 05 Feb 2020 08:33:23 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1izG7e-0000mg-SJ for pgsql-general@lists.postgresql.org; Wed, 05 Feb 2020 08:33:23 +0000 Received: from mail-io1-xd29.google.com ([2607:f8b0:4864:20::d29]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1izG7c-0001Kf-MP for pgsql-general@lists.postgresql.org; Wed, 05 Feb 2020 08:33:21 +0000 Received: by mail-io1-xd29.google.com with SMTP id z16so1158785iod.11 for ; Wed, 05 Feb 2020 00:33:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=qBXMGiF+lizee+e4+bG74XGFOlTEABn57QwA9e71hsQ=; b=PcRFGyMKiFGhGw460bu+YYSNWXugtCyD/r2d84yZ0w1so05oIInBfOhj5d86boam5T U1Ns57ZkKiZ3ajuVI+WfJ9//U1iVQwxVlG1+EBKAOW4hzRzkbkgqP8PF4Ekq2+KVtn73 dm2SjQUHa0X3w7rNo6cDf+r+ShSV8xvgCwIDwn6r6YbFPQWuILET46UubdYOkobHqSo9 I5N/NrsbauscMjWYu6oAKRXd4pz/OKMDvOczjNMvx4z0Y+rN4NVnAMH0jOgXQm3wfECV krUAUU+KEtV8H8WgSvVuCVggG2tscRnHMP4Yeg+e7yYFWJmLfYeT26Wuy/rdArIpTMjV YWnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=qBXMGiF+lizee+e4+bG74XGFOlTEABn57QwA9e71hsQ=; b=IygJV++A8pDnf/H8TEtyzW5h7NhbAdfjNAk40D0cZVLbm6QQN4O7Kcnqh9mWpnip54 xhBB7h8PmG9sl39vQ8jSkASnhr7Zc3EHBVa+XPD8L4jA9oJjvCrzNaWCuPfvKeXYeEHA fry3LW7ex6knDE7jKZccTDWwjkt67MGCnkJycqJArPZ9UVyG16bUHDvlr5OFTE3ngdu3 MZN9sPPwGX3KJxkcEowYB7DiqqppNrMPmhypap3Hjsul76KjwFcbYTuOwBRAIZFQI9Cu BtcebIzsWm/EZ4+wxP1TkCe/zqG9CrfUlLD5am/Xf1Xvk5I6DQ6PLXd2iWrBEgw8ezDZ ZoLw== X-Gm-Message-State: APjAAAUvcpDeHkpKIklONicwueHIrl6/9h1lgC5RfDj6PJqV3mtG6rNA u4zp2z2y8GDBzL2LTldsPUQgEpd+x0I= X-Google-Smtp-Source: APXvYqwFJaq6jIseXKLX26iDAsJzQwGUraEwsTLoo8lItJq1m6tOvyfMJgFnYVQ9b9AWX4ty1sisJg== X-Received: by 2002:a05:6602:2282:: with SMTP id d2mr13153264iod.173.1580891599537; Wed, 05 Feb 2020 00:33:19 -0800 (PST) Received: from [172.16.12.100] (c-73-63-59-118.hsd1.ut.comcast.net. [73.63.59.118]) by smtp.gmail.com with ESMTPSA id l81sm9919818ild.87.2020.02.05.00.33.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 05 Feb 2020 00:33:19 -0800 (PST) Subject: Re: Restore is failing To: pgsql-general@lists.postgresql.org References: From: Rob Sargent Message-ID: Date: Wed, 5 Feb 2020 01:31:08 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------F81C657299EA6CA38EF787A4" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------F81C657299EA6CA38EF787A4 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 2/5/20 1:24 AM, Sonam Sharma wrote: > I am copying schema data to qa box from prod.its failing and giving > below error : > > WARNING: terminating connection because of crash of another server process > > DETAIL: The postmaster has commanded this server process to roll back > the current transaction and exit, because another server process > exited abnormally and possibly corrupted shared memory. > > HINT:  In a moment you should be able to reconnect to the database and > repeat your command. > > server closed the connection unexpectedly. > > > Can some one please help. Work_mem is set to 8gb. > > > Thanks , Sonam > What version of postgres? Method of copy? Identify which server process is failing, what's the error there. --------------F81C657299EA6CA38EF787A4 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

On 2/5/20 1:24 AM, Sonam Sharma wrote:
I am copying schema data to qa box from prod.its failing and giving below error :

WARNING:  terminating connection because of crash of another server process

DETAIL:  The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.

HINT:  In a moment you should be able to reconnect to the database and repeat your command.

server closed the connection unexpectedly. 


Can some one please help. Work_mem is set to 8gb. 


Thanks , Sonam

What version of postgres?
Method of copy?
Identify which server process is failing, what's the error there.

--------------F81C657299EA6CA38EF787A4--