nginx报错:maximum number of descriptors supported by select() is 1024 while connecting to upstream

That's because nginx windows version 1024 restricts
the Windows version because the number of file access handles is limited to 1024, and it will not respond when there is a large amount of access.

There will be the following error message:
maximum number of descriptors supported by select() is 1024

Modifying the parameter worker_connections can solve this limitation, and there are many others that say modifying the worker_rlimit_nofile parameter, etc., have tried but failed.

With a specialized Windows version of nginx, the limitations on file handle data have been modified.

nginx for windows official website: http://nginx-win.ecsds.eu/

nginx for windows download address: http://nginx-win.ecsds.eu/download/

Just find the latest ZIP download

After downloading, there is a brief update information and installation guide Readme nginx-win version.txt.

Registry entries under the run directory

and rename Nginx_basic.exe to Nginx.exe

nginx-win.conf in the conf folder, copy it and rename it to nginx.conf, and then configure it in this file.

Pay attention to paste the contents of the previous version of nginx.conf into the new nginx.conf file

                                 NginxDragonfly directory map

Guess you like

Origin blog.csdn.net/qq_40421671/article/details/130830303