You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Lassi Immonen <la...@valkeus.com> on 2001/01/19 12:39:48 UTC
[C2]Datasource with Postgresql 7.1
Hi all,
Just tried fresh cvs version of C2 and found out there is connection pooling
code added which is very nice.
When I tried C2 and new Employee example, everything works fine for a while,
but then Postgres says no more Clients allowable.
Every time database command gets executed the number of postgres processes
grows by 5. This happens until Postgres doesn't except anymore connections.
So either Postgres or C2 pool is not releasing connections properly.
I'm running Postgres7.1beta3 in Cygwin environment.
Any ideas?
Lassi Immonen
Re: [C2]Datasource with Postgresql 7.1
Posted by Berin Loritsch <bl...@apache.org>.
Lassi Immonen wrote:
> Hi all,
>
>
>
> Just tried fresh cvs version of C2 and found out there is connection pooling
>
> code added which is very nice.
>
> When I tried C2 and new Employee example, everything works fine for a while,
>
> but then Postgres says no more Clients allowable.
>
> Every time database command gets executed the number of postgres processes
>
> grows by 5. This happens until Postgres doesn't except anymore connections.
>
> So either Postgres or C2 pool is not releasing connections properly.
>
> I'm running Postgres7.1beta3 in Cygwin environment.
>
>
>
> Any ideas?
This had to do with a bug that was recently fixed in the ComponentManager/Selector.
I introduced the bug when I was trying to fix something else. Try to get a fresh
CVS version and retry. You will find that it shouldn't do that anymore.