Re: DB connection issue suggestions

From: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
To: Sudhir Guna <sudhir(dot)guna(dot)sg(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: DB connection issue suggestions
Date: 2022-05-10 18:54:53
Message-ID: CAEudQApbsOueXxm4P1BbwpTYHw1qamRApuQi-iHwm-xmwwSx1A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Em ter., 10 de mai. de 2022 às 14:49, Sudhir Guna <sudhir(dot)guna(dot)sg(at)gmail(dot)com>
escreveu:

> Dear All,
>
> We have recently upgraded Postgresql 9.4 standalone server to Postgresql
> 11.2 with High Availability (2 servers : Master and Standby).
>
> While trying to test using ETL applications and reports, we observe that
> the ETL jobs fails with below error,
>
> 2022/05/06 16:27:36 - Error occurred while trying to connect to the
> database
> 2022/05/06 16:27:36 - Error connecting to database: (using class
> org.postgresql.Driver)
> 2022/05/06 16:27:36 - FATAL: Sorry, too many clients already
>
> We have increased the max_connections = 1000 in postgresql.conf file.
>
> It worked ok for a day and later we get the same error message.
>
> Please help to advise on any additional settings required. The prior
> Postgresql 9.4 had the default max_connections = 100 and the applications
> worked fine.
>
I guess that ETL is pentaho?
You can try to use the latest JDBC driver (42.3.5) .

regards,
Ranier Vilela

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Sudhir Guna 2022-05-11 01:44:59 Re: DB connection issue suggestions
Previous Message Justin Pryzby 2022-05-10 18:15:40 Re: DB connection issue suggestions