怎样才能阻止apache 自动重启?
时间:2011-08-26
来源:互联网
[Thu Aug 25 18:51:29 2011] [notice] Apache/2.2.8 (Win32) PHP/5.2.5 configured -- resuming normal operations
[Thu Aug 25 18:51:29 2011] [notice] Server built: Jan 18 2008 00:37:19
[Thu Aug 25 18:51:29 2011] [notice] Parent: Created child process 3992
httpd.exe: Could not reliably determine the server's fully qualified domain name, using for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using for ServerName
[Thu Aug 25 18:51:29 2011] [notice] Child 3992: Child process is running
[Thu Aug 25 18:51:29 2011] [notice] Child 3992: Acquired the start mutex.
[Thu Aug 25 18:51:29 2011] [notice] Child 3992: Starting 300 worker threads.
[Thu Aug 25 18:51:29 2011] [notice] Child 3992: Starting thread to listen on port 80.
zend_mm_heap corrupted
[Fri Aug 26 08:53:54 2011] [notice] Parent: child process exited with status 1 -- Restarting.
红色标注的就是 windows 下 apache 自动重启了. 大概40几分钟的样子.
原因我知道,是因为我php跑了255个页 在扒别人网站的ip数据库...
没有使用ajax方式. 只是用php弄了个 for循环 每个页跑一个网段, 当然这个近似死循环的255个php 就是导致重启的原因.
那我现在想问 有没有方法能让 child process exited with status 1 -- Restarting 忽略这种重启的apache配置
[Thu Aug 25 18:51:29 2011] [notice] Server built: Jan 18 2008 00:37:19
[Thu Aug 25 18:51:29 2011] [notice] Parent: Created child process 3992
httpd.exe: Could not reliably determine the server's fully qualified domain name, using for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using for ServerName
[Thu Aug 25 18:51:29 2011] [notice] Child 3992: Child process is running
[Thu Aug 25 18:51:29 2011] [notice] Child 3992: Acquired the start mutex.
[Thu Aug 25 18:51:29 2011] [notice] Child 3992: Starting 300 worker threads.
[Thu Aug 25 18:51:29 2011] [notice] Child 3992: Starting thread to listen on port 80.
zend_mm_heap corrupted
[Fri Aug 26 08:53:54 2011] [notice] Parent: child process exited with status 1 -- Restarting.
红色标注的就是 windows 下 apache 自动重启了. 大概40几分钟的样子.
原因我知道,是因为我php跑了255个页 在扒别人网站的ip数据库...
没有使用ajax方式. 只是用php弄了个 for循环 每个页跑一个网段, 当然这个近似死循环的255个php 就是导致重启的原因.
那我现在想问 有没有方法能让 child process exited with status 1 -- Restarting 忽略这种重启的apache配置
作者: kiki44944 发布时间: 2011-08-26
zend_mm_heap corrupted
内存有问题了,所以才重新启动的。要避免重新启动,先解决内存的问题。应该是你程序没有处理好。
内存有问题了,所以才重新启动的。要避免重新启动,先解决内存的问题。应该是你程序没有处理好。
作者: icy_csdn 发布时间: 2011-08-26
内存问题.... 没发现哪能有内存问题
PHP code
PHP code
// 255. for($i1=$intStart;$i1<=255;$i1++){ // 255.255 for($i2=0;$i2<=255;$i2++){ // 255.255.255 for($i3=0;$i3<=255;$i3++){ try{ $xml = @simplexml_load_file($strURL."$i1.$i2.$i3.1"); if(empty($xml->countryCode)) continue; if($xml->countryCode != 'US') continue; }catch(Exception $e){ continue; } } } }
作者: kiki44944 发布时间: 2011-08-26
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28