El Wed, 27 May 2015 14:37:43 +0200
Johann Spies <
johann...@gmail.com> escribió:
> Most parts of the app work on our server running apache2.4 and wsgi
> but on after a query which takes some time I get this in the apache
> error log and 504 Gateway Timeout on my browser:
>
> [Wed May 27 14:20:46.617759 2015] [wsgi:error] [pid 18286:tid
> 140225013630720] [remote x.x.x.x:10678] mod_wsgi (pid=18286):
> Exception occurred processing WSGI script
> '/home/www-data/web2py/wsgihandler.py'. [Wed May 27 14:20:46.617850
> 2015] [wsgi:error] [pid 18286:tid 140225013630720] [remote
> x.x.x.x:10678] IOError: failed to write data
>
> Now my question: where did wsgi try to write data?
>
> Regards
> Johann
>
Check permissions of applications/[your-app], I think that's the only
place where wsgi should write something.
Something like this happened when I moved an app to a git repo and
pulled changes.
Marco.