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 Posted at Nginx Forum: http://forum.nginx.org/read.php?2,5222,5223#msg-5223