#11572: Very high memory usage by big sitemaps
-----------------------------------+----------------------------------------
Reporter: riklaunim | Owner: nobody
Status: closed | Milestone:
Component: Contrib apps | Version: 1.0
Resolution: invalid | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-----------------------------------+----------------------------------------
Comment (by EmilStenstrom):
@ubernostrum: This issue took down our site and we've been debugging it
for a week straight. Who thought a sitemap could make the apache process
consume too much memory and finally get the process killed?
Anyway. I believe two things should be done to prevent this from happening
to sites that grow:
1) Lower the default number of elements that get inserted into a sitemap.
Let people up this value with an override to be the old one.
2) The memory is not released after the sitemap has been generated (I
think). Tested on Windows by looking at the memory used with python.exe
before and after generating the sitemap (13 Mb before, 87 Mb after). Also
looking at the RSS memory on an ununtu server, it jumps 90 Mb when
accessing the sitemap, and does not go down when it's done.
I think this bug should be opened again.
--
Ticket URL: <http://code.djangoproject.com/ticket/11572#comment:4>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates?hl=en.