Last update at :2024-05-18,Edit by888u
Here IIS7.5 is taken as an example. Some simple operations are performed on IIS to optimize processing, improve problems such as slow access speed, and greatly improve operating efficiency.
Step 1: Adjust the IIS application pool queue length.
In the [Application Pool] list, select the application pool used by your corresponding website, and change the original queue length from 1000 to 65535. Of course, you can set the queue length here according to your own access users*1.5. For example: if you have 2000 users, you can set it here to 3000 (3000=2000 users*1.5)
Step 2: Adjust the appConcurrentRequestLimit value of IIS
Open the cmd command and run the command: c:\Windows\System32\inetsrv\appcmd.exe set config /section:serverRuntime /appConcurrentRequestLimit:100000
Step 3: Modify the ASP.NET request queue limit by adjusting processModel>RequestQueueLimit in machine.config
1. Click "Start" and then click "Run". 2. In the Run dialog box, type notepad %systemroot%\Microsoft.Net\Framework64\v4.0.30319\CONFIG\machine.config, and then click OK. (Different .NET versions have different paths, you can choose the config of the .NET version you currently want to set) 3. Find the processModel element as shown below: 4. Replace the processModel element with the following value: 5. Save and close the Machine.config file. Step 4: Modify the registry and adjust the number of concurrent TCPIP connections supported by IIS Run the command in the cmd command: reg add HKLM\System\CurrentControlSet\Services\HTTP\Parameters /v MaxConnections /t REG_DWORD /d 100000. Of course, you can also manually modify the registry Can be viewed in the registryAt this point, the adjustment and optimization of IIS is completed
Recommended site search: How to check domain name registration number, check IP, registered domain name, ftp free space cloud virtual host, Beijing host rental, how to check IP, registration-free virtual host, app server rental, corporate email registration application,
p>
发表评论