[mod_python] Persistent Database and Publisher problem

Gregory (Grisha) Trubetskoy grisha at modpython.org
Wed Jan 8 21:22:35 EST 2003


On Wed, 8 Jan 2003, Mike Verdone wrote:

> If I use:
>
> import _database
>
> then it make a new connection on every request.

Are you sure that it isn't making a connection for every Apache process
that's running? If you have 10 processes running, then the first 10
requests will make 10 connections, but the 11th should be reused.

Grisha




More information about the Mod_python mailing list