|
|
1
6
当您重新加载nginx(kiil-hup)时,您将在错误日志中得到类似的信息 2008/10/01 03:57:26 [notice] 4563#0: signal 1 (SIGHUP) received, reconfiguring 2008/10/01 03:57:26 [notice] 4563#0: reconfiguring 2008/10/01 03:57:26 [notice] 4563#0: using the "epoll" event method 2008/10/01 03:57:26 [notice] 4563#0: start worker processes 2008/10/01 03:57:26 [notice] 4563#0: start worker process 3870 您的nginx编译使用什么事件方法? 你在访问日志吗?考虑添加buffer=32k,这将减少对日志文件的写锁的争用。 考虑减少workers的数量,这听起来有违直觉,但是对于accept()这样的sys调用,workers需要彼此同步。尽量减少工人的数量,理想情况下我建议1个。 您可以尝试在侦听套接字上显式设置读写套接字缓冲区,请参见 http://wiki.codemongers.com/NginxHttpCoreModule#listen |
|
|
2
3
|
|
|
3
1
建议: -每个处理器使用一个工作线程。 -检查各种nginx缓冲设置 |
|
devops-admin · 如何将Nginx配置为转发代理服务器? 2 年前 |
|
|
ftdeveloper · Nginx ip配置问题 2 年前 |
|
|
sifat · NGINX+Cloudflare SSL证书无效 2 年前 |
|
|
Manoj · Key斗篷Nginx集成问题 2 年前 |