新手求助系统刚换一天网站又访问不了!
回1楼mytsing520的帖子
[Mon Jun 29 05:35:37.459989 2015] [:error] [pid 6056:tid 948] [client 66.249.64.186:40333] script
'D:/phpstudy/WWW/brand.php' not found or unable to stat
[Mon Jun 29 05:41:38.916582 2015] [:error] [pid 6056:tid 1060] [client 66.249.64.186:52577] script
'D:/phpstudy/WWW/brand.php' not found or unable to stat
[Mon Jun 29 05:47:40.529037 2015] [:error] [pid 6056:tid 1108] [client 66.249.64.175:40086] script
'D:/phpstudy/WWW/brand.php' not found or unable to stat
[Mon Jun 29 05:47:42.279048 2015] [:error] [pid 6056:tid 1132] [client 66.249.64.165:38185] script
'D:/phpstudy/WWW/category.php' not found or unable to stat
[Mon Jun 29 05:54:59.549910 2015] [autoindex:error] [pid 6056:tid 1172] [client 123.125.71.90:32709]
AH01276: Cannot serve directory D:/phpstudy/WWW/: No matching DirectoryIndex
(index.html,index.php,index.htm,l.php) found, and server-generated directory index forbidden by Options
directive
[Mon Jun 29 05:56:56.692034 2015] [:error] [pid 6056:tid 1180] [client 66.249.64.176:55885] script
'D:/phpstudy/WWW/category.php' not found or unable to stat
[Mon Jun 29 05:56:58.410806 2015] [:error] [pid 6056:tid 1184] [client 66.249.64.186:34952] script
'D:/phpstudy/WWW/category.php' not found or unable to stat
[Mon Jun 29 05:57:25.083022 2015] [autoindex:error] [pid 6056:tid 1172] [client 220.181.108.178:19819]
AH01276: Cannot serve directory D:/phpstudy/WWW/: No matching DirectoryIndex
(index.html,index.php,index.htm,l.php) found, and server-generated directory index forbidden by Options
directive
[Mon Jun 29 06:03:13.337378 2015] [:error] [pid 6056:tid 1212] [client 66.249.64.186:57103] script
'D:/phpstudy/WWW/category.php' not found or unable to stat
[Mon Jun 29 06:18:15.567574 2015] [:error] [pid 6056:tid 1464] [client 66.249.64.186:63444] script
'D:/phpstudy/WWW/category.php' not found or unable to stat
[Mon Jun 29 06:20:30.741179 2015] [autoindex:error] [pid 6056:tid 1464] [client 123.125.71.95:60141]
AH01276: Cannot serve directory D:/phpstudy/WWW/: No matching DirectoryIndex
(index.html,index.php,index.htm,l.php) found, and server-generated directory index forbidden by Options
directive
[Mon Jun 29 06:25:43.620184 2015] [mpm_winnt:error] [pid 6056:tid 26860] AH00326: Server ran out of threads
to serve requests. Consider raising the ThreadsPerChild setting
应该如何解决?
-------------------------
Re新手求助系统刚换一天网站又访问不了!
目前一周多,没有崩过了,也没有httpd错误了,优化了apache的连接数,
ThreadsPerChild 300
MaxRequestsPerChild 5000
以上在httpd.conf配置,一下在httpd.mpm.conf配置
ThreadsPerChild 300
MaxRequestsPerChild 5000
参数根据你的服务器配置进行相应设置,需要同学可以参考下,百度上都没有统一的一个设置和教程,各说各的。
赞0
踩0