Re: Max_connection

From: Daulat <daulat(dot)dba(at)gmail(dot)com>
To: pgsql-performance-owner(at)lists(dot)postgresql(dot)org, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Max_connection
Date: 2022-02-18 12:48:17
Message-ID: CALfOM6+k6+3zAZq80qZCBvAw5B5iT0GGu2LnDqC4caMKLU6yBg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Feb 18, 2022 at 2:39 PM Daulat <daulat(dot)dba(at)gmail(dot)com> wrote:

> As I know, each PostgreSQL connection consumes RAM for managing the
> connection or the client using it. The more connections, the more RAM.
> I have a machine having 124 GB RAM and 16 CPU with SSD storage.
> Currently, 1200 connections are set but this value is low according to my
> application. hence, I am looking to know the criteria/thumb rule of
> deciding max_connection limit in postgres.
>
> I feel, we need to increase the shared buffer too while increasing the
> connections. I don't have idea still, we need to increase kernel.shmmax
> also?
>
>
> Thanks
>
>
> On Thu, Feb 17, 2022 at 10:47 PM Daulat <daulat(dot)dba(at)gmail(dot)com> wrote:
>
>> Hello,
>>
>> Any one can suggest the criteria/thumb rule of deciding max_connection
>> limit in postgres.
>>
>> Thanks
>>
>>
>>

Browse pgsql-general by date

  From Date Subject
Next Message Mladen Gogala 2022-02-18 13:24:31 Re: 2 phase commit with FDW
Previous Message Peter Eisentraut 2022-02-18 12:28:29 Re: Strange results when casting string to double