简体   繁体   English

为什么只有6个PHP FastCGI工作者在IIS 8上加载

[英]Why only 6 php fastcgi workers loaded on IIS 8

I resize picture on the fly 1 per request via imagick. 我通过imagick根据请求即时调整图片大小。 Every request I create new imagick object, read original file, resize it and return to browser. 我创建新的imagick对象,读取原始文件,调整其大小并返回浏览器的每个请求。 This is not faster way but I don't want use cache. 这不是更快的方法,但是我不想使用缓存。

I always waiting until 6 workers will end resizing process for the start next new 6 images. 我一直等到6个工作人员将结束调整大小的过程,以开始下一个新的6张图像。

6名工人,共6张照片

Max number of php fastcgi workers is 6. And I don't like big queue time. php fastcgi工人的最大数量为6。而且我不喜欢排队时间长。

What can I do with it? 我该怎么办? Is this fastcgi primary problem? 这是fastcgi的主要问题吗?

IIS 8.5, php 5.6 win server 2012 IIS 8.5,PHP 5.6 Win服务器2012

It look like windows is to blame, no fix. 看来是Windows的罪魁祸首,没有解决办法。 I have same problem on Windows Server 2012 R2 but i found this https://stackoverflow.com/a/3476927/4866851 我在Windows Server 2012 R2上遇到相同的问题,但我发现了这个https://stackoverflow.com/a/3476927/4866851

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM