Thanks for the idea Graham. Unfortunately that did not work. On Sep 9, 9:16 pm, Graham Dumpleton <[email protected]> wrote: > See if you have DEFLATE output filter, ie., mod_deflate, enabled in > your Apache configuration. Turn it off if you do and see it it makes a > difference. > > People have seen some issues like you are seeing with mod_deflate > before. I have been lax in following up on it as don't have huge > amount of time at the moment and also cant see how mod_wsgi could > cause it. > > Graham > > On 10 September 2010 12:10, Andrew <[email protected]> wrote: > > > Hi everyone, I have a Django view like the following: > > > def page(request): > > return HttpResponse(""" > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/ > > TR/html4/strict.dtd"> > > <html> > > <head> > > <title>A</title> > > </head> > > <body> > > <form name='mainForm' method="post" action=""> > > <p> > > <input type='text' name='a' > > value='00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'> > > <input type="submit" value="Submit"> > > </p> > > </form> > > </body> > > </html> > > """) > > > If I load the page in Firefox or IE and hit submit, and it takes like > > five minutes to load the response. However, if I had just one > > character to the text box, it works fine in IE. It still takes > > forever to work in Firefox. If I add about 4000 more 0's, then it > > starts working in Firefox. > > > Does anyone have any ideas for solving this? (Yes, I could put a > > hidden field in all of my forms on all of my pages that has 5000 0's, > > but I'm worried of this problem manifesting itself in other ways.) > > > Sometimes I see the following in my Apache logs: > > [Fri Sep 10 01:39:38 2010] [notice] caught SIGTERM, shutting down > > [Fri Sep 10 01:39:39 2010] [notice] Apache/2.2.9 (Debian) mod_ssl/ > > 2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Python/2.5.2 configured -- resuming > > normal operations > > [Fri Sep 10 01:39:49 2010] [error] [client X.X.X.X] mod_wsgi > > (pid=30967): Exception occurred processing WSGI script '/home/amills/t/ > > sbui/django.wsgi'., referer:https://X.com/page > > [Fri Sep 10 01:39:49 2010] [error] [client 71.42.216.158] IOError: > > failed to write data, referer:https://X.com/page > > > Thanks for any help! > > > -- > > You received this message because you are subscribed to the Google Groups > > "modwsgi" 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 > > athttp://groups.google.com/group/modwsgi?hl=en.
-- You received this message because you are subscribed to the Google Groups "modwsgi" 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/modwsgi?hl=en.
