ngx_unix_recv problem
Maxim Dounin
mdounin at mdounin.ru
Thu Aug 27 13:17:26 MSD 2009
Hello!
On Thu, Aug 27, 2009 at 05:10:51AM -0400, wangbin579 wrote:
> use strace,the system alert:Resource temporarily unavailable
> recv(8, 0x9bfb880, 55, 0) = -1 EAGAIN (Resource temporarily unavailable)
>
> it appears that recv reads data when the data is not prepared.
> it does not check if the data is available
It shouldn't. Note that nginx is event-driven server, see here
for details:
http://en.wikipedia.org/wiki/Event_driven
Maxim Dounin
More information about the nginx
mailing list