Article Title: how to adjust the maximum process of Apache. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
The maximum number of processes allowed for requests in Apache is 256, and the limit of MaxClients is 256. if there are more users, you can only see Waiting for reply .... wait until the next available process appears. The maximum number is determined by the Apache program-its NT version can have 1024, but the Unix version only has 256. you can see in src/include/httpd. h:
?? # Ifndef HARD_SERVER_LIMIT
?? # Ifdef WIN32
?? # Define HARD_SERVER_LIMIT 1024
?? # Else
?? # Define HARD_SERVER_LIMIT 256
?? # Endif
?? # Endif
?? You can tune it to 1024 and then compile your system.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service