@maorongrong
2015-05-18T12:25:34.000000Z
字数 2149
阅读 881
SPECweb2009 docker 毕设 原创
# perl test_besim_bank.pl http://127.0.0.1/fcgi-bin/besim_fcgi.fcgi
剩余其他三个perl脚本没有执行,因此执行如下:
[root@282e3ac0b681 bin]# perl test_besim_ecom.pl http://127.0.0.1/fcgi-bin/besim_fcgi.fcgi[root@282e3ac0b681 bin]# perl test_besim_errs.pl http://127.0.0.1/fcgi-bin/besim_fcgi.fcgi[root@282e3ac0b681 bin]# perl test_besim_support.pl http://127.0.0.1/fcgi-bin/besim_fcgi.fcgi[root@282e3ac0b681 bin]# /usr/local/apache2/bin/apachectl restart
查看Besim配置mpm为worker模式# /usr/local/apache2/bin/apachectl -l修改配置文件# vi /usr/local/etc/apache2/conf/httpd.conf# Server-pool management (MPM specific)Include etc/apache22/extra/httpd-mpm.conf(去掉前面的注释)# vi /usr/local/etc/apache2/conf/extra/httpd-mpm.conf#<IfModule mpm_worker_module> worker模式# StartServers 2# MaxClients 150# MinSpareThreads 25# MaxSpareThreads 75# ThreadsPerChild 25# MaxRequestsPerChild 0#</IfModule> (原有配置注释掉)<IfModule mpm_worker_module>ThreadLimit 125ServerLimit 320StartServers 5MaxClients 8000MinSpareThreads 125MaxSpareThreads 1250ThreadsPerChild 125MaxRequestsPerChild 1000</IfModule>
重启apache,浏览器测试访问http://127.0.0.1/fcgi-bin/besim_fcgi.fcgi 正常
SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5 修改为 SSLCipherSuite ALL
这是为了解决CipherSuite不匹配导致ssl handshake_failure的问题!
# vi /usr/local/etc/apache2/conf/httpd.conf# Server-pool management (MPM specific)Include etc/apache22/extra/httpd-mpm.conf(去掉前面的注释)# vi /usr/local/etc/apache2/conf/extra/httpd-mpm.conf#<IfModule mpm_prefork_module># StartServers 5# MinSpareServers 5# MaxSpareServers 10# MaxClients 150# MaxRequestsPerChild 0#</IfModule><IfModule mpm_prefork_module> 在其中有添加一些项ServerLimit 2000StartServers 5MinSpareServers 125MaxSpareServers 1250MaxClients 2000MaxRequestsPerChild 1000</IfModule>为防万一worker模式也改掉#<IfModule mpm_worker_module># StartServers 2# MaxClients 150# MinSpareThreads 25# MaxSpareThreads 75# ThreadsPerChild 25# MaxRequestsPerChild 0#</IfModule><IfModule mpm_worker_module>ThreadLimit 125ServerLimit 320StartServers 5MaxClients 8000MinSpareThreads 125MaxSpareThreads 1250ThreadsPerChild 125MaxRequestsPerChild 1000</IfModule>