Basically I have this situation. I have a Django app that also has an
xmlrpc interface via the wiki recipe[1]. All works fine until I enabled
the ability to upload files. Since they're binary files I use the
xmlrpc binary type.
Well this loads the files entirely in memory on the server side, which
ordinarily is ok since the files are only typically a few MB. However,
python/mod_wsgi/apache are not releasing the memory. I've tried
manually del'ing the objects and calling the garbage collector, but have
only had minimal success. If I continue to upload files en-mass via
xmlrpc eventually Apache processes max out the available memory.
I'm hoping someone can point me to a coding or configuration solution.
Or perhaps mod_wsgi is not the best solution for this and I should go
FastCGI?
[1] http://code.djangoproject.com/wiki/XML-RPC
--
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