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): Destroying
interpreters.
I've set my MaxRequestsPerChild to 10000 so this shouldn't be
happening
My config file looks like:
MaxRequestsPerChild 100000
LogLevel info
#See http://wiki.apache.org/httpd/CommonMisconfigurations
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName localhost
ServerAlias funkyroof.com
Alias /media/ /home/jacob/Work/workspace/mysite/frontend/media/
Alias /assets/ /home/jacob/Work/workspace/mysite/frontend/assets/
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#LogLevel warn
#CustomLog /var/log/apache2/access.log combined
WSGIScriptAlias / /home/jacob/Work/workspace/mysite/apache/
django.wsgi
<Directory /home/jacob/Work/workspace/mysite/apache/>
Order deny,allow
Allow from all
AllowOverride None
</Directory>
</VirtualHost>
Side question: how can get information on the particular Apache
configuration used to serve a request? My suspicion is that this
MaxRequestsPerChild isn't being honored or is being overwritten
somehow (Apache cascades through multiple config files.).
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment