Re: Dynamically Changing Cache Settings

2009-03-09 Thread Dave Fowler
Malcom, Great suggestion. I'll do just that. It shouldn't be too hard and I will have to write a script to update server numbers anyway. I'll be sure to write about it when its complete. Also, thanks to everyone else who posted. On Mar 9, 11:42 pm, Malcolm Tredinnick wrote: > On Mon, 2009

Re: Dynamically Changing Cache Settings

2009-03-09 Thread Malcolm Tredinnick
On Mon, 2009-03-09 at 21:28 -0700, Dave Fowler wrote: > Thanks. So to summarize, > > No one knows of a way to change memcached settings without having to > re-load the django settings They're not intended to be changed like that, which is why you haven't been flooded with answers. Not a matter

Re: Dynamically Changing Cache Settings

2009-03-09 Thread Dave Fowler
Thanks. So to summarize, No one knows of a way to change memcached settings without having to re-load the django settings mod_wsgi can be used to avoid having to restart apache but the following statement applies: " Only the script file itself is reloaded, no other Python modules are reloaded.

Re: Dynamically Changing Cache Settings

2009-03-09 Thread Graham Dumpleton
If considering mod_wsgi due to its reloading ability, ensure you read: http://code.google.com/p/modwsgi/wiki/ReloadingSourceCode http://blog.dscpl.com.au/2008/12/using-modwsgi-when-developing-django.html http://blog.dscpl.com.au/2009/02/source-code-reloading-with-modwsgi-on.html to unders

Re: Dynamically Changing Cache Settings

2009-03-09 Thread Dave Fowler
Thanks, I'm currently under mod_python... maybe I should switch. On Mar 9, 8:33 pm, Alex Gaynor wrote: > On Mon, Mar 9, 2009 at 8:31 PM, Dave Fowler wrote: > > > I'm running Django with memcached on EC2.  We frequently turn on or > > off different servers with memcached running on each. > > >

Re: Dynamically Changing Cache Settings

2009-03-09 Thread Alex Gaynor
On Mon, Mar 9, 2009 at 8:31 PM, Dave Fowler wrote: > > I'm running Django with memcached on EC2. We frequently turn on or > off different servers with memcached running on each. > > To configure your memcached the docs suggest you list them in your > settings file: > > CACHE_BACKEND = 'memcached