doufu9947
2015-11-14 13:22在nginx / php-fpm配置上同时运行脚本的限制是什么?
The problem is I have to use curl and sometimes the curl requests take a long time because of the timeouts. I have set the timeouts to 1 second so no request should take more than 1 second but still the server is unable to process other php requests.
My question is how many concurrent scripts(running at the same time) can nginx/php-fpm handle. What I see is that a few requests lasting 1 second make the whole server unresponsive. What are the settings that I can change so more requests can be processed at the same time?
- 点赞
- 回答
- 收藏
- 复制链接分享
2条回答
为你推荐
- PHP站点正在等待ajax调用完成
- process
- php
- 1个回答
- 在nginx / php-fpm配置上同时运行脚本的限制是什么?
- curl
- php
- nginx
- 2个回答
- nginx“拒绝访问脚本'xxx / xxx / php'(请参阅security.limit_extensions)”
- php
- nginx
- 1个回答
- 如何在php-fpm / nginx上停止php脚本执行?
- php
- nginx
- 1个回答
- 从php脚本打开gnome-terminal
- bash
- php
- 1个回答
换一换