Hey John,

2011/2/25 John Robson <[email protected]>:
> I created 500 sessions in Wt, and was automatically created 500 sessions
> of Postgre.
>
> After a few minutes all Wt sessions were destroyed, but the sections of
> Postgre continued.

How are you seeing that the Postgres sessions continue?

Do you also delete the Wt::Dbo::backend::Postgres object when your Wt
session exits?

You may also want to consider using a Postgres connection pool to
avoid creating as many connections to the database as you have Dbo
sessions.

Regards,
koen

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to