On 10/07/12 08:08, Rohan wrote:
Hi Matt,
If you do not have static serving enabled in your django application
mapping to /static/ in urls.py, then the content is being served by
Apache.
In settings.py I commented out the lines which assign MEDIA_ROOT,
MEDIA_URL, and ADMIN_MEDIA_PREFIX because I couldn't see what they were
good for, and I have no entry for /static/ in urls.py so I guess the
content is being served by Apache, correct?
What is your MaxRequestsPerChild in your apache conf?
0 for all of prefork, worker and event mpm's
I apologise if this is OT for this list but I'm curious if you think the
machine running apache is underpowered:
mds@waianakarua:~$ grep MHz /proc/cpuinfo
cpu MHz : 400.829
mds@waianakarua:~$ grep MemTotal /proc/meminfo
MemTotal: 185644 kB
Thx again,
--
Matt Smith
http://mattsmith.org.nz
--
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.