Why is mod_wsgi not able to write data? IOError: failed to write data
Posted
by
BryanWheelock
on Stack Overflow
See other posts from Stack Overflow
or by BryanWheelock
Published on 2010-12-29T21:15:22Z
Indexed on
2010/12/29
21:54 UTC
Read the original article
Hit count: 497
What could be causing this error:
$ sudo tail -n 100 /var/log/apache2/error.log'
[Wed Dec 29 15:20:03 2010] [error] [client 220.181.108.181] mod_wsgi (pid=20343): Exception occurred processing WSGI script '/home/username/public_html/idm.wsgi'.
[Wed Dec 29 15:20:03 2010] [error] [client 220.181.108.181] IOError: failed to write data
Here is the WSGI script:
$ cat public_html/idm.wsgi
import os
import sys
sys.path.append('/home/username/public_html/IDM_app/')
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
Why would Django not be able to write data?
I'm running Django 1.2.4
© Stack Overflow or respective owner