performance test PHP interface. After testing, the memory occupied by httpd cannot be freed
CentOS6 Apache version 2.4.18 mpm mode event
event configuration
<IfModule mpm_worker_module>
StartServers 3
MinSpareThreads 75
MaxSpareThreads 250
ThreadsPerChild 25
MaxRequestWorkers 400
MaxConnectionsPerChild 0
</IfModule>
the event configuration has been changed, and the MaxConnectionsPerChild has been changed to 30000, which is of no use
use the top command to see that each process takes up 0.5% of memory
18055 uar 20 0 2373m 83m 3292 S 0.0 0.5 0:11.89 httpd
18054 uar 20 0 2373m 82m 3284 S 0.0 0.5 0:11.00 httpd
18111 uar 20 0 2373m 82m 3288 S 0.0 0.5 0:10.13 httpd
18114 uar 20 0 2373m 82m 3288 S 0.0 0.5 0:10.66 httpd
18115 uar 20 0 2373m 82m 3284 S 0.0 0.5 0:11.09 httpd
18112 uar 20 0 2373m 81m 3288 S 0.0 0.5 0:11.32 httpd
after restarting apache, top views 0.1% of each process
6943 root 20 0 387m 20m 13m S 0.0 0.1 2:21.02 httpd
7106 root 20 0 256m 13m 6740 S 0.0 0.1 2:18.75 httpd
13583 uar 20 0 592m 10m 1336 S 0.0 0.1 0:00.82 httpd
13582 uar 20 0 592m 10m 1332 S 0.0 0.1 0:00.79 httpd
apache connection has been released
[root@cdh2 ~]-sharp netstat -an | grep 8081
tcp 0 0 :::8081 :::* LISTEN
ask the bosses how to reclaim the memory after the apache performance test
what result do you expect? What is the error message actually seen?