How to modify the Apache configuration file and make it take effect
Source: Internet
Author: User
Confused about modifying the Apache configuration file and taking effect today, the number of Apache connections is modified as follows: [plain] www.2cto.com & lt; IfModulempm_prefork_module & gt; StartServers5MinSpareServers5MaxSpareServ... confused about modifying the Apache configuration file and taking effect today, the number of Apache connections was modified as follows: [plain] www.2cto.com StartServers 5 MinSpareServers 5 MaxSpareServers 10 ServerLimit 2048 MaxClients 2000 MaxRequestsPerChild 0 After [plain] apachectl restart is used, the maximum number of connections remains at the default 256. After a few hours of tossing, I accidentally used [plain] apachectl stop apachectl start to succeed. I was so depressed! In fact, I have encountered such a problem before, but I forgot to write it here today to avoid forgetting it after a long time. The following is an overview of restart on the Apache official website [plain] apachectl-k restart Sending the HUP or restart signal to the parent causes it to kill off its children like in TERM, but the parent doesn' t exit. it re-reads its configuration files, and re-opens any log files. then it spawns a new set of children and continues serving hits.
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