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 1l83he-0004aJ-5q for pgsql-general@arkaria.postgresql.org; Fri, 05 Feb 2021 16:11:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l83hd-0002Vr-4d for pgsql-general@arkaria.postgresql.org; Fri, 05 Feb 2021 16:11:25 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l83hc-0002Vk-Tg for pgsql-general@lists.postgresql.org; Fri, 05 Feb 2021 16:11:24 +0000 Received: from mail-ot1-x32d.google.com ([2607:f8b0:4864:20::32d]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1l83hZ-0008Km-9l for pgsql-general@lists.postgresql.org; Fri, 05 Feb 2021 16:11:23 +0000 Received: by mail-ot1-x32d.google.com with SMTP id s107so7342780otb.8 for ; Fri, 05 Feb 2021 08:11:21 -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-transfer-encoding:content-language; bh=Z0JgemmlOGjD+61z8ZaAV6htyo+C1SrvczLXbqs7o6w=; b=Upp99T7cw3uatnslag7de1c1oEPcj5RbDzOTgOmS0YfWPRCk4t1DdZYCX9hqcJ9MEd uQwW8SO/XBva4AgsMmzvaUYx0ou+MyLnTbnkip66IJyv9Ch2aeFNwL6cht4m9mxFuxq/ eycLBkvwwpPufL/9JYjnJXRTgmbDcg/c80Lx86moDm+fcgTrivXnWKCDKOFx4J4pRmqg pU7WXLGkZw0plAeOIg+mjjxhMyArlAcJ4qpJweXvaAkGbBBv5BsrstH0nqtmgNydppGH 0QCo+J6CJP5K8WnwKOj6UaXJG5PLOtrQKNPAjW3zn9gvj2hrGtppjVM0jcBBVnzxGqbW m2eQ== 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-transfer-encoding :content-language; bh=Z0JgemmlOGjD+61z8ZaAV6htyo+C1SrvczLXbqs7o6w=; b=qsti98f7sDLaHt6yXw8v3wUnZAXATNwIQ29tmUlg9DGbTxUpngVRVd5gUz6vaHk0Nw VhjGYSZELdpiBD1iMWs12CMVMgShCzCoWHsJH0664h4PsV10pqtqZ8DhEC6nHOgQnRQX ZBmodESYV0CzFzoSQLRuJeXbBzDUNp4I7fOJ3Ju77uHSWQNnUpdp8j9QwN3kTtOzgy9d /l2rW19/DQkQLvfczxKIQ+rKspUetOOBTl+0G/kYutXBrWcLrAMMtWoAry1oK+IpKr4R jrVhpn6WB3TNwpH0ChJlibmpWwPIHjX8+4JyNtaiAfLDZjIUi0ImxRHQkDfQFAGkymjw g5TA== X-Gm-Message-State: AOAM532OH04fLcfVLTBAViGyXLqo4A2rHiHQ8lLQllICSiDnr8VqNr5I wKr4thd7gBV1KpS4OEtyAooQrvJrz7k= X-Google-Smtp-Source: ABdhPJzTa0KPumsNl3eyvOxuIkkT83aEGfoEqRSB/9gvV1QdBb7Ix3Dm4u5eEGM2GrIceKaU3XSjrA== X-Received: by 2002:a9d:d87:: with SMTP id 7mr3873514ots.256.1612541480088; Fri, 05 Feb 2021 08:11:20 -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 l4sm1835045oou.8.2021.02.05.08.11.19 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 Feb 2021 08:11:19 -0800 (PST) Subject: Re: vacuumdb not letting me connect to db To: pgsql-general@lists.postgresql.org References: <367051164.1780361.1612460095810@mail.yahoo.com> <9645df52-2cdc-9e9e-b43c-d388c1aa7951@gmail.com> From: Ron Message-ID: Date: Fri, 5 Feb 2021 10:11:18 -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: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Obviously... don't use 300 threads. On 2/5/21 2:15 AM, Atul Kumar wrote: > ok, How do I resolve it ? > > Any suggestions ? > > On 2/5/21, Ron wrote: >> 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. >> -- Angular momentum makes the world go 'round.