2008/8/22 Nimrod A. Abing <[EMAIL PROTECTED]>: > > On Fri, Aug 22, 2008 at 2:43 PM, Graham Dumpleton > <[EMAIL PROTECTED]> wrote: >> >> Details can be found at: >> >> http://code.google.com/p/modwsgi/wiki/ChangesInVersion0105 >> http://code.google.com/p/modwsgi/wiki/ChangesInVersion0202 >> >> Important changes are file descriptor leaks on a graceful restart in >> both versions and for version 2.2 possible truncation of data when >> using wsgi.file_wrapper. An upgrade would be recommended especially >> due to the latter if using wsgi.file_wrapper in a way or on system >> affected by the problem. > > Thanks for the fix for wsgi.file_wrapper. We had been experiencing > problems lately with users uploading large files. All tracebacks seem > to point to something in wsgi.file_wrapper. Unfortunately it is one of > those "heisenbugs". Some random thing/file upload triggers it, it > disappears when you try to debug it and it's impossible to recreate.
You mean downloading don't you? At least I take uploading to mean putting a file on server, not the other way around, so wouldn't expect wsgi.file_wrapper to be involved. I would also have expected you to be using Apache 2.2 on UNIX where for static file downloads wouldn't be an issue. Maybe you want to better explain the problem you are seeing in case it is something completely different. One concern would be that if it is a large file upload that takes more than 5 seconds, that if you are using daemon mode and recycling process based on number of requests, that upload is being interrupted when process is recycled, as by default will only allow at most 5 seconds for process to restart before killing it. In other words, it is not a graceful restart where process persists until all active requests complete. Thus, long running file uploads perhaps better handled in embedded mode, or delegate the URLs for file upload to special daemon process that doesn't recycle process so as to avoid problem with it being interrupted. Graham --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
