1 Limit the number of IP threads in the Apache client
From
Http://dominia.org/djao/ Download MOD_LIMITIPCONN-0.22.tar.gz
Upload decompression
# / opt / http / bin / apxs -c -i -a mod_limitipconn.c compiles this DSO module into Apache
Check / opt / httpd / modules Is there a mod_limitipconn.so module
Configure Apache configuration files
LOADMODULE LIMITIPCONN_MODULE MODULES / MOD_LIMITIPCONN.SOSO
MaxConnperip 2
Location>
Ifmodule>
And remove the comment #EXtendedStatus ON
Restart Apache, check if a single IP multiple concurrent connections can be restricted