On Jun 24, 10:10 pm, David De La Harpe Golden
<david.delaharpe.gol...@ichec.ie> wrote:
> neri...@gmail.com wrote:
> > I tried adding more form fields to the
> > registration form and the changes would never show with touch
> > dispatch.fcgi,
>
> Which fcgi implementation are you using? Assuming apache2 web server,
> note that the common (since it's in debian and derivatives by default)
> mod_fcgid may not actually discover things need reloading upon touch of
> the .fcgi .  I think it does end server processes after ProcessLifeTime
> [1] regardless, so the changeover may happen eventually (but that
> defaults to an hour).
>
> You can use consider using "pkill" to slay the '.*dispatch.fcgi'
> processes...
>
> Anyway, if you're on apache, switch tomod_wsgiif you can (yeah, I know
> it's not in debian/oldstable (why we were using mod_fcgid), but, well,
> OLDstable), it's generally easier to setup and manage than either of the
> fastcgis, though does lack mod_fcgid's dynamic process spawning load
> management strategy which you may or may not care for.

Depending on how it is implemented, dynamic process spawning in
conjunction with fat Python web applications can be a problem. For a
discussion of how it causes issues for mod_python and mod_wsgi when
run embedded in Apache see:

  http://blog.dscpl.com.au/2009/03/load-spikes-and-excessive-memory-usage.html

I still have to sit down and properly look at how mod_fcgid,
mod_fastcgi and flup implement their process spawning, but I certainly
have concerns that it could also cause problems for certain
configurations. Part of the problem with all these mechanisms is their
defaults are often biased towards PHP hosting and this sort of
configuration doesn't work well for Python web applications.

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

Reply via email to