0

I have to work with the web service that has created with using uwsgi django .Apache2 works as a web server.When the web service got request most of time get the response.But if the service does not get request around 10 hours then first request get timeout error, but second request got the response. apache error log says

Blockquote mod_wsgi (pid=891): Exception occurred processing WSGI script '/var/www/me.wsgi'.

IOError: failed to write data

Timeout when reading response headers from daemon process 'sam_daemon': /var/www/me.wsgi

I have add

Blockquote WSGIApplicationGroup %{GLOBAL}

part to the myapache.conf file too

when the web service get request continuously it does not got any error ,but its getting request randomly it getting error

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.