[mod_python] session example

Gregory (Grisha) Trubetskoy grisha at modpython.org
Tue Apr 6 22:51:02 EST 2004



On Tue, 6 Apr 2004, Colin Fox wrote:

> Incidentally, I've got MaxRequestsPerChild set to 1, so that when I
> change my files apache will actually reload them rather than cache them.
>
> Is that a possible issue?

It could be, because Apache will terminate a child whose life is over,
but it's impossible to tell without knowing the details of your program.

One thing you may try as an experiment is to disable session locking
(Session(lock=0)). It will still use locking for access to the DBM, but it
won't lock individual sessions.

Grisha


More information about the Mod_python mailing list