How to set PHP cgi process?

Loveyou3000 146 Reputation points
2022-03-29T00:34:01.04+00:00

When I send multiples concurrent requests, how many processes will IIS start? It seems that only ten processes handle my concurrent requests at same time, but I have more concurrent requests. Is there any setting make IIS create more processes?

Internet Information Services
0 comments No comments
{count} votes

Accepted answer
  1. Bruce Zhang-MSFT 3,731 Reputation points
    2022-03-29T08:44:26.863+00:00

    Hi @Loveyou3000 ,

    In the FastCGI Settings module of IIS, maxInstance is set to 0 by default, and IIS will automatically monitor the system load and adjust the maximum number of processes. Of course, the maximum number of processes is 10. No matter how many concurrent requests you have, only 10 processes can handle the requests. If you really need to improve performance, it may only be achieved by adding threads.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,
    Bruce Zhang

    0 comments No comments

0 additional answers

Sort by: Most helpful