On Tue, 2007-10-09 at 12:50 -0700, identify wrote:
> On 9 Okt., 21:14, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> > On Tue, 2007-10-09 at 11:26 -0700, identify wrote:
> > > I am about to have ~80 different django-driven sites running on my
> > > server (each one needs a separate settings.py). Am I right that
> > > manage.py runfcgi needs to be started for each site? If so - this
> > > would lead to (let's say) 80*5 python processes running (when using
> > > prefork) with each one consuming 15k memory. Is there another (better)
> > > approach?
> >
> >        http://effbot.org/zone/django-multihost.htm
> 
> But this only seems to handle URL-Conf. I have patched my Django
> Installation with the multi-db-patch and therefor I have different
> database connection settings in my settings.py. Thatswhy I need
> different settings.py-files

You seem to have a contradiction in requirements, then. By definition,
fastcgi processes are long running and are only set up once. So they
will use the same settings files throughout, for example. Yet you
explicitly want different settings in each case.

If you really do need separate settings in each case, you are going to
have be running separate processes for each request.

Malcolm


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to