Nginx(4) - 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.

时间: 2024-08-10 19:17:12

Nginx(4) - Connection processing methods的相关文章

Linux IO 多路复用是什么意思?

写在前面:本文整理于知乎,原文链接为http://www.zhihu.com/question/32163005/answer/55772739,作者:罗志宇 再次向作者表示感谢~~ 假设你是一个机场的空管, 你须要管理到你机场的全部的航线. 包含进港,出港, 有些航班须要放到停机坪等待,有些航班须要去登机口接乘客. 你会怎么做? 那么问题就来了: 非常快你就发现空管塔里面聚集起来一大票的空管员,交通略微繁忙一点,新的空管员就已经挤不进来了. 空管员之间须要协调,屋子里面就1, 2个人的时候还好

nginx php fastcgi Connection reset by peer的原因及解决办法

Connection reset by peer 这个错误是在nginx的错误日志中发现的,为了更全面的掌握nginx运行的异常,强烈建议在nginx的全局配置中增加 error_log   logs/error.log notice; 这样,就可以记录nginx的详细异常信息. nginx的错误日志中会出现Connection reset by peer) while reading response header from upstream, client: 1.1.1.1, server:

CentOS 6.5 编译安装Nginx

Nginx Nginx("enginex") 是一个高性能的 HTTP 和反向代理服务器,也是一个 IMAP/POP3/SMTP代理服务器. Nginx 是由Igor Sysoev为俄罗斯访问量第二的Rambler.ru站点开发的,它已经在该站点运行超过四年多了.Igor 将源代码以类BSD许可证的形式发布.自Nginx 发布四年来,Nginx 已经因为它的稳定性.丰富的功能集.示例配置文件和低系统资源的消耗而闻名了.目前国内各大门户网站已经部署了Nginx,如新浪.网易.腾讯等:国内

nginx在windwos中的使用

本文章参考了 nginx for windows的介绍:http://nginx.org/en/docs/windows.html 你从官网上下载到的是一个 zip 格式的压缩包,首先要把压缩包解压. 进入解压出的文件夹,可以看到有 conf html 等一些文件夹,还有一个叫 nginx.exe 的可执行文件. 打开一个命令提示符,然后切换到有nginx.exe的那个目录. 执行 start nginx,然后使用 tasklist 命令查看是否有一个叫 nginx.exe 的进程,如果有说明启

Nginx优化指南+LINUX内核优化+linux连接数优化+nginx连接数优化

Most setup guides for Nginx tell you the basics - apt-get a package, modify a few lines here and there, and you've got a web server! And, in most cases, a vanilla nginx install will work just fine for serving your website. However, if you're REALLY t

nginx for Windows

zt from nginx official site. Known issuesPossible future enhancements Version of nginx for Windows uses the native Win32 API (not the Cygwin emulation layer). Only the select() connection processing method is currently used, so high performance and s

Nginx - Core Module Directives

The following is the list of directives made available by the Core module. Most of these directives must be placed at the root of the configuration file and can only be used once. However, some of them are valid in multiple contexts. If that is the c

Nginx Learning (1)

前言: 作为战斗民族的发明,Nginx在服务器网络处理方面因其稳定,高效,简洁的配置,出色的表现而被广泛使用 Docs written in English are the best material of mastering a specific technology. (ref: https://docs.nginx.com/nginx/) Controlling NGINX Processes at Runtime Master and Worker Processes NGINX has

Centos7.x 编译安装全功能的Nginx

说明 根据此文档进行编译安装 Nginx,可以将Nginx默认的功能全部安装上,读者也可以自己的根据实际情况删减需要编译的模块. 支持的特色功能如下: 支持 TLSv1.3 - openssl 从 1.1.1 版本起支持最终版的TLSv1.3标准协议,详情参见:TLS1.3 支持 HTTP2 - Nginx 从 1.9.5 版本起支持http2,详情参见:Module ngx_http_v2_module 支持 Lua语法 - 详情参见:lua-nginx-module 安装 Nginx 官方资