[mod_python] MemorySession problem

Sebastjan Trepca trepca at gmail.com
Mon Jun 27 16:46:56 EDT 2005


Hi,

I have a problem using memory sessions (MemorySession object) with Threaded 
MPM. The sessions seems to timeout after cca 30 seconds (maybe the 
dictionary that holds session data frees?). If I change the session handling 
to DbmSession everything works normally and timeouts when the timeout 
interval is reached.

This is my apache configuration:


<IfModule worker.c>
StartServers 1
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>

<Directory /srv/web/as>
Options FollowSymLinks
SetHandler mod_python
PythonInterpreter interpreter
PythonHandler as
AllowOverride None
</Directory>

What am I missing?

Thanks for help!

Regards, Sebastjan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20050627/bacaaa9b/attachment.html


More information about the Mod_python mailing list