{"action":"created","issue":{"url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi/issues/233","repository_url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi","labels_url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi/issues/233/comments","events_url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi/issues/233/events","html_url":"https://github.com/GrahamDumpleton/mod_wsgi/issues/233","id":269998025,"number":233,"title":"OSError: failed to write data","user":{"login":"mayurpande","id":6522456,"avatar_url":"https://avatars3.githubusercontent.com/u/6522456?v=4","gravatar_id":"","url":"https://api.github.com/users/mayurpande","html_url":"https://github.com/mayurpande","followers_url":"https://api.github.com/users/mayurpande/followers","following_url":"https://api.github.com/users/mayurpande/following{/other_user}","gists_url":"https://api.github.com/users/mayurpande/gists{/gist_id}","starred_url":"https://api.github.com/users/mayurpande/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mayurpande/subscriptions","organizations_url":"https://api.github.com/users/mayurpande/orgs","repos_url":"https://api.github.com/users/mayurpande/repos","events_url":"https://api.github.com/users/mayurpande/events{/privacy}","received_events_url":"https://api.github.com/users/mayurpande/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-10-31T15:15:52Z","updated_at":"2018-02-05T10:18:10Z","closed_at":"2018-01-09T04:38:43Z","author_association":"NONE","body":"I keep getting an `OSError: failed to write data` on my site. It seems my mysql data is not updating and deleting as it should be. But I cannot work out if this is to do with wsgi or the server. I have 3.5gb of RAM and it is hardly using 1gb. Here is my error log;\r\n\r\n```\r\n[Tue Oct 31 14:45:20.207326 2017] [wsgi:error] [pid 1678] [client 95.34.66.101:65302] mod_wsgi (pid=1678): Exception occurred processing WSGI script '/var/www/html/Validation/validation.wsgi'., referer: http://businessopportunities.txfmedia.com/preview\r\n[Tue Oct 31 14:45:20.207833 2017] [wsgi:error] [pid 1678] [client 95.34.66.101:65302] OSError: failed to write data, referer: http://businessopportunities.txfmedia.com/preview\r\n[Tue Oct 31 14:45:20.501225 2017] [wsgi:error] [pid 1676] [client 95.34.66.101:65304] mod_wsgi (pid=1676): Exception occurred processing WSGI script '/var/www/html/Validation/validation.wsgi'., referer: http://businessopportunities.txfmedia.com/preview\r\n[Tue Oct 31 14:45:20.501367 2017] [wsgi:error] [pid 1676] [client 95.34.66.101:65304] OSError: failed to write data, referer: http://businessopportunities.txfmedia.com/preview\r\n[Tue Oct 31 14:45:31.820315 2017] [wsgi:error] [pid 1677] [client 95.34.66.101:65310] mod_wsgi (pid=1677): Exception occurred processing WSGI script '/var/www/html/Validation/validation.wsgi'., referer: http://businessopportunities.txfmedia.com/preview\r\n[Tue Oct 31 14:45:31.820447 2017] [wsgi:error] [pid 1677] [client 95.34.66.101:65310] OSError: failed to write data, referer: http://businessopportunities.txfmedia.com/preview\r\n[Tue Oct 31 14:45:35.291492 2017] [wsgi:error] [pid 39416] [client 95.34.66.101:65309] mod_wsgi (pid=39416): Exception occurred processing WSGI script '/var/www/html/Validation/validation.wsgi'., referer: http://businessopportunities.txfmedia.com/preview\r\n[Tue Oct 31 14:45:35.291685 2017] [wsgi:error] [pid 39416] [client 95.34.66.101:65309] OSError: failed to write data, referer: http://businessopportunities.txfmedia.com/preview\r\n\r\n\r\n```\r\n\r\nAm I missing something?"},"comment":{"url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi/issues/comments/363040793","html_url":"https://github.com/GrahamDumpleton/mod_wsgi/issues/233#issuecomment-363040793","issue_url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi/issues/233","id":363040793,"user":{"login":"GrahamDumpleton","id":507637,"avatar_url":"https://avatars2.githubusercontent.com/u/507637?v=4","gravatar_id":"","url":"https://api.github.com/users/GrahamDumpleton","html_url":"https://github.com/GrahamDumpleton","followers_url":"https://api.github.com/users/GrahamDumpleton/followers","following_url":"https://api.github.com/users/GrahamDumpleton/following{/other_user}","gists_url":"https://api.github.com/users/GrahamDumpleton/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamDumpleton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamDumpleton/subscriptions","organizations_url":"https://api.github.com/users/GrahamDumpleton/orgs","repos_url":"https://api.github.com/users/GrahamDumpleton/repos","events_url":"https://api.github.com/users/GrahamDumpleton/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamDumpleton/received_events","type":"User","site_admin":false},"created_at":"2018-02-05T10:18:10Z","updated_at":"2018-02-05T10:18:10Z","author_association":"OWNER","body":"Do not use any system package for mod_wsgi, especially on Debian/Ubuntu based systems. They are usually hopelessly out of date and unsupported. Remove any system package for mod_wsgi and install using ``pip`` and then configure Apache to load the module for the Python installation/virtual environment as explained in:\r\n\r\n* https://pypi.python.org/pypi/mod_wsgi"}}
{"actor":{"display_login":"GrahamDumpleton"}}