您现在的位置:主页 > 9742波肖门尾图库香港 >

9742波肖门尾图库香港

大丰收心水坛 QQ截图20180420193615.png

文章来源:本站原创作者:admin 发布时间:2018-05-11 点击数:

,白小姐马报开奖结果下载附件

2018-4-20 19:37 上传

QQ截图20180420193615.png (16.13 KB, 下载次数: 0)



服务器用的是阿里云,安装的是PhpStudy,每过几小时,就会出现网站无法访问的情况,小鱼儿二站,服务器出现这个错误。
但PhpStudy并没有报错退出,只要然后点击“关闭程序”结束这个窗口,网站就能恢复访问。


我尝试了以下方式,但是都没能解决问题:
1. 将服务器内存从2GB升级到4GB;
2. 在PhpStudy中将PHP版本切换至7.0.12;

3. 将X:\phpStudy\PHPTutorial\Apache\conf\extra\httpd-mpm.conf中的ThreadsPerChild值增加至1500
<IfModule mpm_winnt_module>
    ThreadsPerChild      1500
    MaxRequestsPerChild    3000   
</IfModule>

4. 将X:\phpStudy\PHPTutorial\MySQL\my.ini中的query_cache_size值修改为256M
query_cache_size=256M

5. 分别尝试将以下3个文件复制到C:\Windows\System32:
D:\phpStudy\PHPTutorial\MySQL\lib\libmysql.dll
D:\phpStudy\PHPTutorial\php\php-5.2,136111cm白姐网 此次履新是黄红元自2011年9月起在上交.17\libmysql.dll
D:\phpStudy\libmysql,一肖中特 苏亚雷斯的进球和助攻数据分别是:311.dll


以上方式都是Google出来的相关解决方案,但都没能解决这个问题,依旧是过几小时就会报错导致网站无法访问,求教大家是怎么回事?


错误日志(X:\phpStudy\PHPTutorial\Apache\logs\error.log)相关信息:
[Sun Apr 15 15:26:37.318002 2018] [mpm_winnt:notice] [pid 21256:tid 516] AH00363: Child: Terminating 149 threads that failed to exit.
[Sun Apr 15 15:26:37.318980 2018] [mpm_winnt:notice] [pid 21256:tid 516] AH00364: Child: All worker threads have exited.
[Sun Apr 15 17:20:57.704416 2018] [mpm_winnt:notice] [pid 20736:tid 508] AH00428: Parent: child process 21256 exited with status 3221225477 -- Restarting.
[Sun Apr 15 17:20:57.966144 2018] [mpm_winnt:notice] [pid 20736:tid 508] AH00455: Apache/2.4.23 (Win32) OpenSSL/1.0.2j PHP/5.4.45 configured -- resuming normal operations
[Sun Apr 15 17:20:57.966144 2018] [mpm_winnt:notice] [pid 20736:tid 508] AH00456: Server built: Jul  1 2016 16:42:20
[Sun Apr 15 17:20:57.967120 2018] [core:notice] [pid 20736:tid 508] AH00094: Command line: 'X:\\phpStudy\\PHPTutorial\\Apache\\bin\\httpd.exe -d D:/phpStudy/PHPTutorial/Apache'
[Sun Apr 15 17:20:57.971046 2018] [mpm_winnt:notice] [pid 20736:tid 508] AH00418: Parent: Created child process 14368
[Sun Apr 15 17:20:59.030613 2018] [mpm_winnt:notice] [pid 14368:tid 516] AH00354: Child: Starting 150 worker threads.
[Sun Apr 15 17:20:59.047219 2018] [mpm_winnt:error] [pid 14368:tid 3188] AH00326: Server ran out of threads to serve requests. Consider raising the ThreadsPerChild setting


有大量的:
[Fri Apr 20 17:33:06.965644 2018] [fcgid:error] [pid 14892:tid 588] FastCGI process 10700 still did not exit, terminating forcefully

最近一次出错时的最后两行错误信息:
[Fri Apr 20 18:38:12.859160 2018] [mpm_winnt:notice] [pid 8908:tid 488] AH00363: Child: Terminating 647 threads that failed to exit.
[Fri Apr 20 18:38:12.870901 2018] [mpm_winnt:notice] [pid 8908:tid 488] AH00364: Child: All worker threads have exited.