> Nginx sends requests to uwsgi. I havent changed default nginx config. > Maybe > I need to enable some post-buffering in uwsgi ?
generally it is not needed, and default uWSGI socket timeouts are 4 seconds so if it is a post timeout you should have got another error from the worker itself (sorry just noted now). I suppose that socket wait is referred to some other external service. Does the POST request connect to some external services ? (a db, an api server...) > > On 22 March 2013 12:53, Roberto De Ioris <[email protected]> wrote: > >> >> > I have a thought that uwsgi worker freezes somewhere, because I can >> call >> a >> > page, which returns a cached value. 90% of responses will be returned >> in >> > ~5msec and 10% in 10 sec. I dont understand that behaviour. >> >> The harakiri verbose message is telling you that your worker is blocked >> for socket data. As they are all POST requests i suppose an upload is in >> place. >> >> Are you sure you do not have a streaming webserver on front so your >> uploads (taking more than 5 seconds) are rejected ? >> >> >> -- >> Roberto De Ioris >> http://unbit.it >> _______________________________________________ >> uWSGI mailing list >> [email protected] >> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >> > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi > -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
