nginx windows 优化
maximum number of descriptors supported by select() is 1024 while connecting to upstream
1.官网下载新版本的nginx
nginx for windows下载地址:http://nginx-win.ecsds.eu/download/
2.解压后在服务器上面双击执行解压后的Tweak-Optimize tcpip parameters for nginx connections.reg文件。修改注册表连接数配置信息
3.将解压目录的nginx_basic.exe更名为nginx.exe,拷贝到服务器上替换相应的nginx.exe程序。(服务器需停掉nginx再操作)