Code is as follows
<IfModule mpm_winnt.c> ThreadsPerChild 1024 MaxRequestsPerChild 10000 </IfModule>
First look at two references
MaxRequestsPerChild a single child process in it The total number of requests processed during the life cycle. When the total number of requests processed by a child process reaches this limit, the process is recycled. If it is set to 0, the process will never expire (so if there is a memory leak) It will always leak out ……) ThreadsPerChild The default number of service threads per child process is 25
The best configuration method for my machine is as follows
) I want to change the size of MaxClient to more than 256. In the online forum, it is OK to increase the serverlimit line.
The code is as follows <IfModule prefork.c> ServerLimit 2000 StartServers 10 MinSpareServers 10 MaxSpareServers 15 MaxClients 1500 MaxRequestsPerChild 10000 </IfModule>
Summary
You need to calculate how much memory each httpd request takes up, remove the system and other programs. After the memory used, estimate how many requests per second, you can calculate out
found that many users do not understand the database user permissions settings, the following for ev
1. Creating a Site Folder First you have to create a new site folder
Building cloud-based data and application servers typically requires creating a remote connection to
SQL Server log file is lost. Recovery method
Win2003 Server Security Settings Tutorial
The most complete in history! Proxy server settings method highlights
Classification and introduction of server hard disk
Enable Gzip compression (HTTP compression) on IIS
The common sense of purchasing the three types of servers
Ubuntu comes with FTP server vsftpd tips
Hypervisor choose one: Which is better for you?
Simple analysis of server availability issues
ChaletOS: Windows 10-style Ubuntu distribution
Secure Remote Desktop Web Connection Four Points to Note
Win10 automatic connection broadband setting method
WinXP system IE address bar is missing how to solve?
Win7 how to use dual network card overlay Internet to speed up the Internet speed
Win7 taskbar height how to set the high point for preview
What can I do if win7 is not activated?
Improve system performance Enable large caches in Vista
Win7 system how to clear 360 browser cache win7 clear 360 browser cache three ways
Win7 Ultimate system set IE browser support breakpoint resume method