Hello all-- I have yet to get down and dirty with my apache installation, so
I'm not 100% sure of the issue yet.  I have access to the server right now,
but I'm a work currently and can't really just dedicate time to having a
look until probably tomorrow.  I thought I'd pitch it out here though, in
case anybody else had a similar experience.
By "lots of memory", I mean about 180~200mb more than after an apache
restart-- it's truly not all that much, but the whole setup is pretty
little, so it was an interesting point.

All I'm running on the web server is my Django site and a corresponding SVN
repository.  I routinely have a script compare the revision numbers of the
live site and of the latest SVN revision.  If they're different, I have
the live Django site (running mod_wsgi, of course) update from its own SVN
repository, and then do an "apache reload" command, to push my updates.

After a pretty busy number of 30 reloads in a single day, I noticed that the
memory consumption for apache was a lot higher than normal.  For all I know,
this could be pretty normal-- apache caching stuff, threads off doing
things, etc, etc.  But if not, is there any reason to think that lots of
reloads would be the source of anything unfavorable?  Again, if not, then I
should pay attention to my Django and Python stats, and this discussion
doesn't really apply to mod_wsgi

Quick stats... Apache 2.x (not sure which revision number, at the moment),
using SVN through dav_svn and authz_svn apache modules, and Django is at its
most recent SVN checkout.  Python is version 2.5.4.

The 30 reloads was kind of excessive, but there were a lot of SVN updates
that day :)  In the future, the updates would be much less frequent.  The
site is in a kind of public beta/dev version, and I don't anticipate this
kind of situation to be normal after about a week from now.

I really haven't gotten into examining anything yet, and I have not tried
playing with any configurations for apache or mod_wsgi to allow for some
optimizations.  If anybody thinks a particular few apache directives could
help, please suggest.

Thanks for any ideas.
Tim

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

Reply via email to