[OGo-Users] postgres connection limit exceeded

Andreas 'ads' Scherbaum users@opengroupware.org
Thu, 6 Mar 2008 18:19:16 +0100


Hello,

On Fri, 29 Feb 2008 14:39:12 +0100 Sebastian Reitenbach wrote:

> I figured out, that the postgres database had its connection limit exceeded. 
> Raising the connection limit fixes the problem for a while, but I don't 
> think that this is the best idea, if good at all.

What's wrong with the connection limit?


> Well, after googling for a solution to the problem, the recommended answer 
> is either fix the application, or use a connection pooling daemon like 
> pgbouncer. 

PGbouncer have some implications which the application has to be aware
of.

The only mode without limitations is "session pooling" - but
this will be the same behavior like the current situation.


> Is there an ogo default, allowing me to kill idle database sessions?
> Or anybody uses such a postgresql connection pooling daemon in conjunction 
> with OGo?

The database session is idle because one OGo process is still connected.
One solution could be sOGo, but i think, Helge can tell you more.


Bye

-- 
				Andreas 'ads' Scherbaum
German PostgreSQL User Group
European PostgreSQL User Group - Board of Directors