Re: Python Restarting After Every Request, MaxRequests Per Child is High

2010-10-03 Thread Koobz
I just switched it to the worker mpm and I'm getting the same results. Some more output here: [Sun Oct 03 11:59:37 2010] [error] import md5, re, time, urllib [Sun Oct 03 11:59:37 2010] [info] mod_wsgi (pid=29817): Destroying interpreters. [Sun Oct 03 11:59:37 2010] [info] mod_wsgi (pid=29817):

Python Restarting After Every Request, MaxRequests Per Child is High

2010-10-03 Thread Koobz
I'm getting about 0.5 requests per second using apache, and about 60 using the development server so something is definitely wrong :) After every requests I see: [Sun Oct 03 11:48:52 2010] [info] mod_wsgi (pid=27761): Python has shutdown. [Sun Oct 03 10:49:09 2010] [info] mod_wsgi (pid=27767): De

Anonymous Visitors vs. Registered User Preference Juggling

2009-12-29 Thread Koobz
Hi Folks, This is my problem: I want a notion of preferences for anonymous users and registered users. Preferences can be things like "saved searches", "favorite restaurant", or a personalized portal configuration for the home page. The immediate solution is to store a pickled preference object