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 1hfmVT-0001xt-Eq for pgsql-general@arkaria.postgresql.org; Tue, 25 Jun 2019 14:33:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hfmVS-0002ar-4h for pgsql-general@arkaria.postgresql.org; Tue, 25 Jun 2019 14:33:10 +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 1hfmVR-0002ak-Nj for pgsql-general@lists.postgresql.org; Tue, 25 Jun 2019 14:33:09 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hfmVL-0006T8-ON for pgsql-general@lists.postgresql.org; Tue, 25 Jun 2019 14:33:08 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 3F053429; Tue, 25 Jun 2019 10:33:02 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 25 Jun 2019 10:33:02 -0400 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=fm3; bh=K s5O43BFmIl18sW7lc0aaEv7rFkTzVMEr1q3FGK2hkc=; b=IIwNUDgVUgZqTWcZq ssLfGVGNdzLCKBd1VYocD1pEMx8QaSlVp7Y9iXRZfjLJ4mVwczw1qNSEh+WtQhpE XIUVVrDhSltQfVIohrjTmTNWTSySCXTijinuFxrCluVMWiyU44ZFjY/n1R5KGO9I v60tJKGvLK4FhrmE+ASEhstBuKLZTHY8FELmcVMaZydJFXEnWiipcV6TN8onGiue aeqJfjvu9XQVIjHpUHcrcfHh6N3jk1Tc0lF0K8L8ZMGMWxxqWjy50zV6mBqDYVdz YXtzEc6RbXMEU0dI/vDjb26ifhTYo+PaQN8/GpP6WjO4j3ijj7nfuMbGhXt5XOiS dAPHA== 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=fm3; bh=Ks5O43BFmIl18sW7lc0aaEv7rFkTzVMEr1q3FGK2h kc=; b=wGNQ7oTDuniZ176h9mHGtXtajPTl6QpCBvRHOPIP5IpC+9req3Qcn2i3r mNgwIQZDDuA7FnNU1I1FN/fMH0a08nzLe3zK3OvyrghoKxYAuQDXz8QfQLEg6LpR oaVr6RnBAtAwDYJGCFnvKYfWox6kqSsk8JuVW4XR+yvMtffoqhTDTZiPh//8COkO zmau2rEpaQIFGVQR0Ol7sMfDNdBh17PNfbc7V09lYVaQzQTdFBth6v0+3A/Qt8dS 8jTsOlWDHb8H9O70v3NXD3+2hBI1Gn96s1ANQ/Zbk6tkxk86VCvgf38jxyaQwpgp sAx7wnPBw+X8JHwmE2CkJgm2KQPUw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudeggdejjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthejre dttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhmqeenucfkphepjedurddvuddvrdduhedtrddvtd dvnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhl rghvvghrrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 00BC9380076; Tue, 25 Jun 2019 10:33:00 -0400 (EDT) Subject: Re: Connect is not available, request timeout after 30000ms. To: Pawan Sharma Cc: pgsql-general@lists.postgresql.org References: <331d9bc5-ead7-cc3d-a25f-b9156116e705@aklaver.com> From: Adrian Klaver Message-ID: <86ad4a7f-5879-624e-c89a-ab9b6c19406b@aklaver.com> Date: Tue, 25 Jun 2019 07:33:00 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 6/25/19 7:24 AM, Pawan Sharma wrote: > In PostgreSQL logs it's showing select queries are running with duration > approx 37001.347ms > Is this normal? Did you run ANALYZE on the database after you restored it to the new Postgres 11 cluster? If not do so. Then run the query in psql or something similar with EXPALIN ANALYZE and see what the time is. I cannot find the error message string in the Postgres source code, so I am guessing it came from somewhere else. Best guess is the app/driver has a timeout set. -- Adrian Klaver adrian.klaver@aklaver.com