Re: Persistent Connections

Поиск
Список
Период
Сортировка
От Peter J. Holzer
Тема Re: Persistent Connections
Дата
Msg-id 20200624104736.GB417@hjp.at
обсуждение исходный текст
Ответ на Persistent Connections  ("Bee.Lists" <bee.lists@gmail.com>)
Ответы Re: Persistent Connections
Список pgsql-general
On 2020-06-23 16:29:46 -0400, Bee.Lists wrote:
> I have an issue with a server (v10) that’s seeing increasing
> connections until it’s maxxed-out.
>
> max_connections for my 4-core server is set to 12.

The default is 100. What was your reason for reducing it to such a low
value?


> I’ve installed pg_stat_activity and pg_stat_statements.
>
> I access this server through a web app,

So that's probably a handful connections already.

> and another client on two machines.

Maybe two or more (depending on what the non-specified client does).

> I also send queries through SSH on the LAN.

And maybe some more connections.

I can see that this could easily reach 12 connections.

        hp

--
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: "Peter J. Holzer"
Дата:
Сообщение: Re: n_distinct off by a factor of 1000
Следующее
От: David Rowley
Дата:
Сообщение: Re: pgbench and timestamps