[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] choice of web frameworks

From: Sebastian Hilbert
Subject: Re: [Gnumed-devel] choice of web frameworks
Date: Tue, 13 Jul 2010 12:28:24 +0200
User-agent: KMail/1.13.3 (Linux/2.6.33-6-desktop; KDE/4.4.5; i686; ; )

Am Dienstag 13 Juli 2010, 12:11:34 schrieb Karsten Hilbert:
> > 
> > So if we operate 5 client in an office and each thread is active then
> > there are 15 concurrent database connections. Is the connection limit a
> > hard limit of PG or a user defined limit set by GNUmed ?
> There is no connection limit unless the user sets one in the
> PG configuration.
> PG defaults to some number like:
>       max_connections = 100                   # (change requires restart)
>       # Note:  Increasing max_connections costs ~400 bytes of shared memory 
> per
> GNUmed uses exactly as many connections as it needs. Given
> the PG default you could run 30 clients full tilt without
> needing to change a thing (if the machine is beefed up to
> the task).

I was wondering what part of the PG/psycopg2/gmPG2/GNUmed client equation is 
responsible for the "connection pool exhausted" message referenced earlier.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]