Welcome! Log In Create A New Profile

Advanced

connection starvation problem

May 25, 2014 09:38PM
hi:

In man epoll , a section refer to "epoll edge trigger starvation problem", and around to this we need to maintain a ready list instead of read socket
until EAGAIN. but i didn't find any related solution code in nginx. In request body read function `ngx_http_do_read_client_request_body`, it seems that
nginx will read socket buffer until EAGAIN or has read Content-length data. so if a client is fast enough and post data is large enough, is it possible to
starve other connections? SO do i miss something important? nginx how to deal with this situation in read and write?

thanks!_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

connection starvation problem

xinghua_hi 1185 May 25, 2014 09:38PM

Re: connection starvation problem

Valentin V. Bartenev 554 May 26, 2014 05:22AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 173
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready