[mod_python] Session problems

Wagner,Harry wagnerh at oclc.org
Tue Feb 15 12:26:53 EST 2005


On Tue, 15 Feb 2005, Chris Jackson wrote:

>> ddcSearch is a fairly large and complex object.  Does this matter?  
>> I'm running apache 2.0.40 and mod_python-3.1.3.

It may matter depending on the underlying db being chosen. I can't find
any references to it right now, but I'm pretty sure there is a limit on
size on dbhash, but if you force it to a higher-end dbm, e.g. gdbm, it
may work better.

----

Thanks Grisha, I tried it with gdbm (see below) and could not see any
difference.  It still fails on the sess.save() line.  I still don't have
a clue why it is failing.  The ddcSearch object is big, but not that big
(163M)...

sess = Session.DbmSession(req,ddc,,,gdbm)



More information about the Mod_python mailing list