Re: idle in transaction query makes server unresponsive - Mailing list pgsql-general

From Scot Kreienkamp
Subject Re: idle in transaction query makes server unresponsive
Date
Msg-id 17082AAFC33A934082836458CB53494357CF7012@MONEXCH01.na.lzb.hq
Whole thread Raw
In response to Re: idle in transaction query makes server unresponsive  (Thomas Kellerer <spam_eater@gmx.net>)
List pgsql-general

> -----Original Message-----
> From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-
> owner@postgresql.org] On Behalf Of Thomas Kellerer
> Sent: Tuesday, September 25, 2012 5:25 PM
> To: pgsql-general@postgresql.org
> Subject: Re: [GENERAL] idle in transaction query makes server unresponsive
>
> Scot Kreienkamp wrote on 25.09.2012 22:35:
> > The application is using a pooler and generally runs around 100
> > connections, but I've seen it as high as 200 during the day for
> > normal use.  It's on a large server; 64 cores total and about 500
> > gigs of memory.  That's one of the reasons I left it at 512
> > connections.
>
> We had several web applications where performance was *improved*
> by configuring the connection pool have a a lot less connections.
>
> There is a threshold where too many connections
> will simply flood the server. Lowering the number of processes
> fighting for resource makes each process faster.
>
> You might want to give it a try.
>

[Scot Kreienkamp]
Can I get the same effect by limiting the number of logons for the user that my application is connecting as to 250?
Ordo I need to lower the number in postgresql.conf?  I'd rather go with the first option because I can adjust it live
withoutediting and reloading config files. 



This message is intended only for the individual or entity to which it is addressed. It may contain privileged,
confidentialinformation which is exempt from disclosure under applicable laws. If you are not the intended recipient,
pleasenote that you are strictly prohibited from disseminating or distributing this information (other than to the
intendedrecipient) or copying this information. If you have received this communication in error, please notify us
immediatelyby e-mail or by telephone at the above number. Thank you. 


pgsql-general by date:

Previous
From: Robert Sosinski
Date:
Subject: Inaccurate Explain Cost
Next
From: Scot Kreienkamp
Date:
Subject: Re: idle in transaction query makes server unresponsive