I am running django on a Windows server (apache 2.0.54/mod_python 3.1.3/postgres 8.0.3)
Django would crash apache when running multiple automated scripts POSTing data at a high rate through a generic create_object view. After scanning the net I found various threading fix patches, and I ended up finding that the thread-local-storage patch seemed to stop the server from crashing. The problem I have now is that occasionally (1 in 20 POSTs), I get an AttributeError exception 'QueryDict' object has no attribute '_mutable' django\http\__init__.py in _assert_mutable, line 79. It's asserting during the request.POST.copy() in create_object (generic view) This output was from the magic removal branch, however I think the behaviour is the same when using the trunk with the thread-local-storage patch. I understand that prefork is the way to go to stop these issues, but I can't see an easy way to do that in Windows (which I can't move from). Has anyone else solved the threading issue on Windows ? Is the thread-local-storage patch not the way to go ? --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---