pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: vacuumdb not letting me connect to db
Date: Fri, 5 Feb 2021 10:11:18 -0600
Message-ID: <a988e21a-7f1c-8480-235a-1c5cf7ba6b3c@gmail.com> (raw)
In-Reply-To: <CA+ONtZ5VcPA1s5fuHb6+x4W_Nv9SrFdtDG+H3OKAiSLHgn-7Yw@mail.gmail.com>
References: <CA+ONtZ7hmwQn+6+fGqSbo_RXE7MBeV=OR86LpG57xRvOerWfag@mail.gmail.com>
	<b5c8a7b5a1b90443051c9158970420c1113fd751.camel@cybertec.at>
	<CA+ONtZ7L54XXOq4_ZgkTRCP2VGdc-1q4aTTEADaUjkg9ZC6jaA@mail.gmail.com>
	<367051164.1780361.1612460095810@mail.yahoo.com>
	<CA+ONtZ50t+T-RPYS-QwZx2-L+Rd9PNEniz6CqV_uOab1teRpjQ@mail.gmail.com>
	<9645df52-2cdc-9e9e-b43c-d388c1aa7951@gmail.com>
	<CA+ONtZ5VcPA1s5fuHb6+x4W_Nv9SrFdtDG+H3OKAiSLHgn-7Yw@mail.gmail.com>

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 <ronljohnsonjr@gmail.com> 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 <rkrishna_pg@aol.com
>>> <mailto: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.
>>

-- 
Angular momentum makes the world go 'round.





view thread (20+ messages)  latest in thread

Message-ID: <a988e21a-7f1c-8480-235a-1c5cf7ba6b3c@gmail.com>
Permalink:  ../a988e21a-7f1c-8480-235a-1c5cf7ba6b3c@gmail.com/
Also on:    postgresql.org/message-id/a988e21a-7f1c-8480-235a-1c5cf7ba6b3c@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ronljohnsonjr@gmail.com
  Subject: Re: vacuumdb not letting me connect to db
  In-Reply-To: <a988e21a-7f1c-8480-235a-1c5cf7ba6b3c@gmail.com>
  References: <CA+ONtZ7hmwQn+6+fGqSbo_RXE7MBeV=OR86LpG57xRvOerWfag@mail.gmail.com> <b5c8a7b5a1b90443051c9158970420c1113fd751.camel@cybertec.at> <CA+ONtZ7L54XXOq4_ZgkTRCP2VGdc-1q4aTTEADaUjkg9ZC6jaA@mail.gmail.com> <367051164.1780361.1612460095810@mail.yahoo.com> <CA+ONtZ50t+T-RPYS-QwZx2-L+Rd9PNEniz6CqV_uOab1teRpjQ@mail.gmail.com> <9645df52-2cdc-9e9e-b43c-d388c1aa7951@gmail.com> <CA+ONtZ5VcPA1s5fuHb6+x4W_Nv9SrFdtDG+H3OKAiSLHgn-7Yw@mail.gmail.com> <a988e21a-7f1c-8480-235a-1c5cf7ba6b3c@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox