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 1izMqB-0005D3-5R for pgsql-general@arkaria.postgresql.org; Wed, 05 Feb 2020 15:43:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1izMqA-0001nJ-0C for pgsql-general@arkaria.postgresql.org; Wed, 05 Feb 2020 15:43:46 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1izMq8-0001n7-0D for pgsql-general@lists.postgresql.org; Wed, 05 Feb 2020 15:43:45 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1izMq3-0008Tt-VE for pgsql-general@lists.postgresql.org; Wed, 05 Feb 2020 15:43:43 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 8A835703; Wed, 5 Feb 2020 10:43:36 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 05 Feb 2020 10:43:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=o brcAlLDhha+YaMr/l0+5/04F6bIHVlWard8BZDYNiY=; b=NhPyveKw3sGAC/8zJ jlOM9l4pnDfriJbRjgjgW6NZ7HtvlOuenR2QMtuUqcc92ijNuE7Y6uRrs0YDeoqe FfDFCBXiVOTS8gA30U705qU0EV5tmEZcvKlC2s4n5YWIr1BAqGVBUkAexPOwkY0m hhzcLyobiW8nvSmlm3GKH6SinK0X5Lb8QG0JwT6PGTxz9S8of+hVrcxGzGIjKhjf K1TB96tS8VaXQx96q5gyhUpUSCzRcoQoDhRUJjZFfcQIqbcg+Wngu6eY1hglkO2V Lrf4u91a7fWmj52HJDCmEB1IFF1DNf0FSo8PttN/uTWBgPVAoDc/1GukGFRkkKV6 o9ECA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=obrcAlLDhha+YaMr/l0+5/04F6bIHVlWard8BZDYN iY=; b=GVOzZUEXoivjtCiGqLdpqUcr6NO1WEI/jWlq/Thxj6pY+rfBOsCne1bBU 4N+Hk3PJjc3MUB1v5xuFjckmBlcxl2sm/3u3UsdfbH2zLzMWgEV6p87P4XUcT9NY VhnFhXqtCLNQXaT6qufyLbU/hbNUYiVHi8xoZlXrO6i6k99OHDACY9qLh1C+BbTQ ddMOkxRG+nguPtLa9AbHKf0ZN1Y7OTcK2/ke6JKsSq8q+pemUYh7XVym1clgA25+ XJJkX5LXAPl/i495rG17Bm0EJl0AniYp4m8qCJzPYB8p+YxIeCQPHRjsJrDsXdeV okKHfITB+hC5XJ+B5++bwpdi+B9ug== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrhedugdejkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecukfhppeejuddrvdduvddruddvledrudelfeenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrg hvvghrrdgtohhm X-ME-Proxy: Received: from [192.168.1.10] (unknown [71.212.129.193]) by mail.messagingengine.com (Postfix) with ESMTPA id 5641C3280067; Wed, 5 Feb 2020 10:43:35 -0500 (EST) Subject: Re: Restore is failing To: Sonam Sharma , Rob Sargent Cc: pgsql-general@lists.postgresql.org References: From: Adrian Klaver Message-ID: Date: Wed, 5 Feb 2020 07:43:34 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2/5/20 12:47 AM, Sonam Sharma wrote: > Version is 11.2 .. took schema dump using pg_dump -d -n (schma) / gunzip .. So the above was a plain text dump that you then piped through gunzip(?)? That does not make sense. > > The error I am getting while running restore. If it is a plain text dump you would need to use psql not pg_restore. > > On Wed, Feb 5, 2020, 2:03 PM Rob Sargent > wrote: > > > > 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. > -- Adrian Klaver adrian.klaver@aklaver.com