Nginx - Connection processing methods

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Nginx - Connection processing methods相关的知识,希望对你有一定的参考价值。

A connection processing method can be selected explicitly with the use directive.

The following connection processing methods are supported:

select — standard method. The --with-select_module and --without-select_module configuration parameters can be used to forcibly enable or disable the build of this module.

poll — standard method. The --with-poll_module and --without-poll_module configuration parameters can be used to forcibly enable or disable the build of this module.

kqueue — efficient method used on FreeBSD 4.1+, OpenBSD 2.9+, NetBSD 2.0, and Mac OS X.

epoll — efficient method used on Linux 2.6+.

/dev/poll — efficient method used on Solaris 7 11/99+, HP/UX 11.22+ (eventport), IRIX 6.5.15+, and Tru64 UNIX 5.1A+.

eventport — event ports, efficient method used on Solaris 10.

以上是关于Nginx - Connection processing methods的主要内容,如果未能解决你的问题,请参考以下文章

nginx基础概念

nginx启动脚本

nginx错误分析 `104: Connection reset by peer`

鸡蛋学运维-6:nginx服务安装配置

Nginx + Yii app = js,css - net :: ERR_CONNECTION_REFUSED

Nginx配置:worker_processesworker_connections设置