By any chance are you reading or writing files to an NFS mount? I have
found this to have no end of problems when using Django because of the
delay that NFS inserts with the availability of newly changed data
between app servers.

~Carl

On Thu, Dec 9, 2010 at 10:47 AM, Haes <[email protected]> wrote:
> Hi,
>
> I am getting the following two Apache log errors on all my Django
> (v1.2.3) apps served by mod_wsgi, periodically (a couple of times a
> day):
>
> [Thu Dec 09 01:55:51 2010] [error] [client xxx]  mod_wsgi (pid=6141):
> Exception occurred processing WSGI script '/path/to/apache.wsgi'
> [Thu Dec 09 01:55:51 2010] [error] [client xxx]  IOError: failed to
> write data
>
> When it once happened to me, I just got an empty page on my browser.
> Just touch-ing the wsgi script [1] didn't resolve the issue but
> reloading Apache did.
>
> Any idea's what could cause this error?
>
>
> This is on Debian Lenny, Apache 2.2.9 and mod_wsgi 2.8. The Apache
> virtualhost hosts an old, big PHP application, where some parts are
> rewritten in Django and served as different projects, see [2].
>
> [1] Django wsgi source: http://pastebin.com/NhshyUC6
> [2] Apache config: http://pastebin.com/CuWqxBL2
>
> --
> 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.
>
>



-- 
-------------------------------------------------------------------------------
Carl J. Nobile (Software Engineer)
[email protected]
-------------------------------------------------------------------------------

-- 
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.

Reply via email to