Re: Connections Increasing Slowly
От
Bee.Lists
Тема
Re: Connections Increasing Slowly
Дата
Msg-id
6757F40E-9003-4A02-B126-F0E6893866FD@gmail.com
Ответ на
Re: Connections Increasing Slowly (Tom Lane)
Список
Дерево обсуждения
Connections Increasing Slowly "Bee.Lists" <bee.lists@gmail.com>
Re: Connections Increasing Slowly Tom Lane <tgl@sss.pgh.pa.us>
Re: Connections Increasing Slowly "Bee.Lists" <bee.lists@gmail.com>
Re: Connections Increasing Slowly Tom Lane <tgl@sss.pgh.pa.us>
Re: Connections Increasing Slowly "Bee.Lists" <bee.lists@gmail.com>
Re: Connections Increasing Slowly "David G. Johnston" <david.g.johnston@gmail.com>
Re: Connections Increasing Slowly "Bee.Lists" <bee.lists@gmail.com>
Re: Connections Increasing Slowly "David G. Johnston" <david.g.johnston@gmail.com>
On Jun 22, 2020, at 10:07 PM, Tom Lane wrote: > > Hmm. If the client thinks the server dropped the connection, but the > server thinks the connection is still live, that smells strongly of > network-level disconnects. Does the client let the connection sit idle > for more than a minute or two at a time? If so I'd bet that some firewall > in between is deciding that the connection is dead and dropping it. > Again, setting the server's tcp_keepalives_* settings could help fix that, > by ensuring that the network connection sees some traffic regularly. > > regards, tom lane Hi Tom. Some more testing. Turned off firewalld, same issue. Some notes: I have one simple query that’s in my activity (currently active) that’s in there 5 times. It should have closed very quickly, yet there’s 5 instances idling. I have two other queries, that should have operated quickly, then closed, but they are idling. tcp_keepalives* are around 3. Any idea where to look now? I’ve set my max_connections to 12 (4 cores * 3). Cheers, Bee
В списке pgsql-novice по дате отправления