Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l7jXW-0006s6-9G for pgsql-general@arkaria.postgresql.org; Thu, 04 Feb 2021 18:39:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l7jXV-0000IG-7z for pgsql-general@arkaria.postgresql.org; Thu, 04 Feb 2021 18:39:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l7jXU-0000I9-Ux for pgsql-general@lists.postgresql.org; Thu, 04 Feb 2021 18:39:37 +0000 Received: from mail-oi1-x234.google.com ([2607:f8b0:4864:20::234]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1l7jXS-0000nQ-RA for pgsql-general@lists.postgresql.org; Thu, 04 Feb 2021 18:39:36 +0000 Received: by mail-oi1-x234.google.com with SMTP id u66so2824601oig.9 for ; Thu, 04 Feb 2021 10:39:34 -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=L66RUfUXc4SlYgq+Ybpl40qoeW56HkYRgjZi9Ltv6Zw=; b=sNornecj1JGDGH4zdgK/T16/bsOpbGLal2alCv9OUMssaLFTSmAGvKiBjdlzsBayT1 /ick0u/ipQpiVPCVSjoA0Yej5qB1GPOJ5Ssy0dD9d44fzbim457i7UAz9csKGSMOP7N2 N2TiCBH0HQ4/v7Ehi3IPyVoTgFDZM2at6dc4h+t34rHc2tIU7ooZfvjs5d4iqLBP63ur Ypboa6Z8Jn5xy8VMu1DThvl62dBU2POL7YF4dkRFVBvZ4DtoNiT5BKmen9sMlVOPwaI0 PpT3eUGRM5kSaVf3FLEcbpV+79q3nDeFmFah4GhVLpsToXku9basqZDWhXvYRW+JziV9 Fh+Q== 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=L66RUfUXc4SlYgq+Ybpl40qoeW56HkYRgjZi9Ltv6Zw=; b=F8gBTrs0cCp7Ojqf/Z3KPnyKKt7R5+nPkYp+zbOhMQhhEY/iaCweteofw/OfrT4Jg7 D1J9PQJYYmo/gXME8YAvOH8dLnhAwvqWUizDJiA8La/msnvYFcdcsc8zo6qVfHNWLc8N BOHg1LJA+UTYmS/pqBAyd7q+A59phqx+rrZ34mUkYq8Cdi47qYgl3V+I8QFdd76DAcq+ m9IqvHu1652evXqVZ296ya+iJrUBJ7ROV6+pGozWO31iwJAOGNqq4OM4a8gGrMqiWRQc a67CXJmDHcKJrQKMW9i7uxQuecvW1hWjLcCnD7+KmYWgEGzi+juwUCOf6aaYBZX5rriJ E6cQ== X-Gm-Message-State: AOAM531PSXJ20YHMoPl57/lOBn2Yjm/sTzRxNfsdW32aDnmhLCUtbrSC OPY8z8zKjo1Zjd40+/Ew8FEm53lJ8MU= X-Google-Smtp-Source: ABdhPJwU+Mb3zmMvuUZ51eqZc6aMkOqfwAJi5IzCEc7kmPR2c0c0s6Z4K76apDhRrHer19k++BYlQg== X-Received: by 2002:aca:4b45:: with SMTP id y66mr584364oia.19.1612463972368; Thu, 04 Feb 2021 10:39:32 -0800 (PST) Received: from [192.168.88.10] (ip174-67-141-204.no.no.cox.net. [174.67.141.204]) by smtp.googlemail.com with ESMTPSA id y66sm1263260oia.20.2021.02.04.10.39.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Feb 2021 10:39:31 -0800 (PST) Subject: Re: vacuumdb not letting me connect to db To: pgsql-general@lists.postgresql.org References: <367051164.1780361.1612460095810@mail.yahoo.com> From: Ron Message-ID: <9645df52-2cdc-9e9e-b43c-d388c1aa7951@gmail.com> Date: Thu, 4 Feb 2021 12:39:30 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------2A20F3847138BCAAE20DF64A" 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. --------------2A20F3847138BCAAE20DF64A Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Your problem screams "IO saturation". On 2/4/21 12:07 PM, Atul Kumar wrote: > There is no error message, when I try to connect the database while > running vacuumdb with 300 jobs, it gets stuck. > > On Thursday, February 4, 2021, Ravi Krishna > wrote: > > >The CPU and RAM are normal even on 300 jobs ( only 1-4% of consumption) > >but I don’t understand one thing here that if max_connections is set > to 700 then > >why I am not able to connect the db. As the running jobs (300) are > lesser than > >half of max_connections. > > Please paste the error message > -- Angular momentum makes the world go 'round. --------------2A20F3847138BCAAE20DF64A Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Your problem screams "IO saturation".

On 2/4/21 12:07 PM, Atul Kumar wrote:
There is no error message, when I try to connect the database while running vacuumdb with 300 jobs, it gets stuck.

On Thursday, February 4, 2021, Ravi Krishna <rkrishna_pg@aol.com> wrote:
>The CPU and RAM are normal even on 300 jobs ( only 1-4% of consumption)
>but I don’t understand one thing here that if max_connections is set to 700 then
>why I am not able to connect the db. As the running jobs (300) are lesser than
>half of max_connections.

Please paste the error message


--
Angular momentum makes the world go 'round.
--------------2A20F3847138BCAAE20DF64A--