> Depends on what RSS means for that platform when running ps. This may > count private memory used plus shared memory use. If Webfaction is > counting shared memory use in your 40MB limit would suck somewhat, as > they would be double counting across all processes. > > If you run 'top' it generally splits resident (private) from shared in > what it outputs. You may be able to get 'ps' to show them separately, > but need to find which field to display.
I tried top initially but I couldn't get it to return private memory at all. I'm not sure if that's just a quirk of Red Hat or a quirk of Webfaction's shared hosting setup. > BTW, if you run 'ldd' on the mod_python.so file from the Apache > modules directory, does it use Python as a shared library or is there > no reference to libpython2.?.so at all, meaning it is embedded with in > mod_python.so? What is the actual size of your mod_python.so file? > mod_python.so is about 4MB. It doesn't show libpython2.x.so as one of the shared libraries. > Base Django setup can take up 5-7MB without even your own stuff so it > can jump up quite a bit. Is that 35MB in total across all processes or > per process? > About 4MB for the parent process, and 13MB for the two child processes. > What version of mod_python are you using? 3.2.8. It's been a couple of hours since the hard restart and memory usage is still at about 35MB. I'm now wondering if perhaps the last time I did a full restart (if ever), I'd left Debug = True in the settings.py, and the SQL query storage hadn't been emptied or some other junk. Perhaps doing the full stop/start with Debug = False set might've cleared out all the garbage. I'll watch it over the next couple of hours with my fingers crossed... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

