How to determine whether nginx uses epoll
The nginx documentation says that it can automatically select the appropriate method: {code...} Use epoll is not specified in the configuration file. How to determine whether nginx uses epoll?
过去多啦不再A梦 2017-05-16 17:19:03 0 3 832
linux - epoll + non-blocking IO receiving data problem
epoll + non-blocking io model, the edge trigger I set up. Now the client is a browser, and the form uploads a 2M file. The server monitors the readable event. I use recv to obtain it. Why is the data received incomplete and -1 returned? , errno = EAGAIN. {code...} cur_recv is large enough, difficult...
PHP中文网 2017-05-27 17:44:36 0 1 749
Reasons for CPU spike
I use an epoll model at the bottom of the communication. When epoll handles the request, it will hand it over to a thread pool for processing. The threads in the thread pool call the upper-layer service. Because the upper-layer service involves network communication, it roughly processes a The reque...
PHP中文网 2017-05-16 13:27:40 0 1 588