Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

apache变慢

[复制链接]
hanzhong03 发表于 2007-11-17 14:27:56 | 显示全部楼层 |阅读模式
近几日出现了非常奇怪的现象  我是用自己电脑架设的服务器用的是apache
  刚启动httpd的时候 访问速度非常快 过了几分钟 就变的超慢 甚至访问不了
cpu 和内存的占用都很正常 访问量也不大 重新安装了apache php mysql 都没有作用 还是老样子
哪位高手给解决一下 小弟这几天为这事熬的太苦了

[ 本帖最后由 hanzhong03 于 2007-11-21 20:25 编辑 ]
 楼主| hanzhong03 发表于 2007-11-17 21:08:18 | 显示全部楼层
谁能帮帮我啊  求求了
回复

使用道具 举报

 楼主| hanzhong03 发表于 2007-11-18 01:19:17 | 显示全部楼层
[Sun Nov 18 01:06:32 2007] [notice] Child 6112: Starting thread to listen on port 80.
[Sun Nov 18 01:08:14 2007] [warn] (OS 121)信号灯超时时间已到。  : winnt_accept: Asynchronous AcceptEx failed.
[Sun Nov 18 01:15:27 2007] [warn] (OS 121)信号灯超时时间已到。  : winnt_accept: Asynchronous AcceptEx failed.
[Sun Nov 18 01:15:41 2007] [warn] (OS 64)指定的网络名不再可用。  : winnt_accept: Asynchronous AcceptEx failed.
[Sun Nov 18 01:17:45 2007] [warn] (OS 121)信号灯超时时间已到。  : winnt_accept: Asynchronous AcceptEx failed.
[Sun Nov 18 01:17:45 2007] [warn] (OS 64)指定的网络名不再可用。  : winnt_accept: Asynchronous AcceptEx failed.
[Sun Nov 18 01:17:45 2007] [warn] (OS 64)指定的网络名不再可用。  : winnt_accept: Asynchronous AcceptEx failed.
[Sun Nov 18 01:17:45 2007] [warn] (OS 64)指定的网络名不再可用。  : winnt_accept: Asynchronous AcceptEx failed.
[Sun Nov 18 01:17:45 2007] [warn] (OS 64)指定的网络名不再可用。  : winnt_accept: Asynchronous AcceptEx failed.
回复

使用道具 举报

 楼主| hanzhong03 发表于 2007-11-18 09:16:05 | 显示全部楼层
谁知道 告诉我怎么能解决
回复

使用道具 举报

carlkyo 发表于 2007-12-20 14:51:02 | 显示全部楼层
我的突然都變這樣了.....
回复

使用道具 举报

carlkyo 发表于 2007-12-20 15:46:52 | 显示全部楼层
[Wed Dec 12 14:55:20 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Wed Dec 12 14:55:20 2007] [notice] Server built: Jan  9 2007 23:17:20
[Wed Dec 12 14:55:20 2007] [notice] Parent: Created child process 484
[Wed Dec 12 14:55:20 2007] [notice] Child 484: Child process is running
[Wed Dec 12 14:55:20 2007] [notice] Child 484: Acquired the start mutex.
[Wed Dec 12 14:55:20 2007] [notice] Child 484: Starting 64 worker threads.
[Wed Dec 12 14:55:20 2007] [notice] Child 484: Starting thread to listen on port 80.
[Thu Dec 13 03:06:38 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Thu Dec 13 03:06:38 2007] [notice] Server built: Jan  9 2007 23:17:20
[Thu Dec 13 03:06:39 2007] [notice] Parent: Created child process 548
[Thu Dec 13 03:06:39 2007] [notice] Child 548: Child process is running
[Thu Dec 13 03:06:39 2007] [notice] Child 548: Acquired the start mutex.
[Thu Dec 13 03:06:39 2007] [notice] Child 548: Starting 64 worker threads.
[Thu Dec 13 03:06:39 2007] [notice] Child 548: Starting thread to listen on port 80.
[Thu Dec 13 09:14:52 2007] [warn] (OS 121)信號等待逾時。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 09:45:48 2007] [warn] (OS 121)信號等待逾時。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 09:45:48 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 09:45:48 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 09:45:48 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 09:45:48 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 09:45:49 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:02:23 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:02:23 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:03:03 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:03:22 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:03:46 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:03:57 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:04:30 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:06:08 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:06:08 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:06:08 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:06:08 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:06:08 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:06:08 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:06:08 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:06:08 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:06:08 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:06:08 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:06:08 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:06:08 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:06:58 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:09:15 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:09:15 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:09:15 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:09:15 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:09:15 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:09:15 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:09:15 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:09:15 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:09:15 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:09:15 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 10:09:15 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 16:37:20 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 13 18:59:47 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Fri Dec 14 09:55:58 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Fri Dec 14 11:34:20 2007] [warn] (OS 121)信號等待逾時。  : winnt_accept: Asynchronous AcceptEx failed.
[Fri Dec 14 11:34:20 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Fri Dec 14 11:34:20 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Fri Dec 14 15:16:45 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Fri Dec 14 15:57:57 2007] [warn] (OS 121)信號等待逾時。  : winnt_accept: Asynchronous AcceptEx failed.
[Fri Dec 14 16:39:57 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Fri Dec 14 16:40:01 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Fri Dec 14 16:46:09 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Fri Dec 14 16:46:18 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Sat Dec 15 09:39:44 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Sat Dec 15 09:41:09 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Sat Dec 15 12:17:57 2007] [warn] (OS 121)信號等待逾時。  : winnt_accept: Asynchronous AcceptEx failed.
[Sat Dec 15 12:17:57 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Sat Dec 15 12:17:57 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Sat Dec 15 12:27:05 2007] [warn] (OS 121)信號等待逾時。  : winnt_accept: Asynchronous AcceptEx failed.
[Sat Dec 15 12:27:05 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Sat Dec 15 12:27:05 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Sat Dec 15 12:27:05 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Sat Dec 15 12:27:05 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Sat Dec 15 12:27:05 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Sat Dec 15 12:27:05 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Sat Dec 15 12:27:05 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Sat Dec 15 12:27:05 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Sat Dec 15 12:27:11 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Sat Dec 15 12:27:12 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Sat Dec 15 12:27:12 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Sun Dec 16 08:49:04 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Mon Dec 17 13:28:39 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Mon Dec 17 13:28:39 2007] [notice] Server built: Jan  9 2007 23:17:20
[Mon Dec 17 13:28:39 2007] [notice] Parent: Created child process 332
[Mon Dec 17 13:28:39 2007] [notice] Child 332: Child process is running
[Mon Dec 17 13:28:39 2007] [notice] Child 332: Acquired the start mutex.
[Mon Dec 17 13:28:39 2007] [notice] Child 332: Starting 64 worker threads.
[Mon Dec 17 13:28:39 2007] [notice] Child 332: Starting thread to listen on port 80.
[Tue Dec 18 09:50:51 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Tue Dec 18 09:57:24 2007] [warn] (OS 121)信號等待逾時。  : winnt_accept: Asynchronous AcceptEx failed.
[Tue Dec 18 11:58:39 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Tue Dec 18 11:58:44 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Tue Dec 18 11:58:49 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Tue Dec 18 11:58:55 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Tue Dec 18 14:12:35 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Tue Dec 18 17:46:02 2007] [warn] (OS 121)信號等待逾時。  : winnt_accept: Asynchronous AcceptEx failed.
[Tue Dec 18 17:46:02 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Tue Dec 18 17:46:02 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Wed Dec 19 13:15:26 2007] [warn] (OS 121)信號等待逾時。  : winnt_accept: Asynchronous AcceptEx failed.
[Wed Dec 19 13:15:26 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Wed Dec 19 13:15:26 2007] [warn] (OS 64)指定的網路名稱無法使用。  : winnt_accept: Asynchronous AcceptEx failed.
[Thu Dec 20 14:32:22 2007] [notice] Parent: Received restart signal -- Restarting the server.
[Thu Dec 20 14:32:22 2007] [notice] Child 332: Exit event signaled. Child process is ending.
[Thu Dec 20 14:32:23 2007] [notice] Child 332: Released the start mutex
[Thu Dec 20 14:32:24 2007] [notice] Child 332: Waiting for 64 worker threads to exit.
[Thu Dec 20 14:32:24 2007] [notice] Child 332: All worker threads have exited.
[Thu Dec 20 14:32:24 2007] [notice] Child 332: Child process is exiting
[Thu Dec 20 14:32:24 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Thu Dec 20 14:32:24 2007] [notice] Server built: Jan  9 2007 23:17:20
[Thu Dec 20 14:32:24 2007] [notice] Parent: Created child process 320
[Thu Dec 20 14:32:24 2007] [notice] Child 320: Child process is running
[Thu Dec 20 14:32:24 2007] [notice] Child 320: Acquired the start mutex.
[Thu Dec 20 14:32:24 2007] [notice] Child 320: Starting 64 worker threads.
[Thu Dec 20 14:32:24 2007] [notice] Child 320: Starting thread to listen on port 80.
回复

使用道具 举报

kennix 发表于 2007-12-20 16:04:53 | 显示全部楼层
下载一个"smartapache"重新安装试试吧!
回复

使用道具 举报

carlkyo 发表于 2007-12-20 16:30:05 | 显示全部楼层
......
就沒有其他解決辦法了嗎
回复

使用道具 举报

vrlinux.cn 发表于 2007-12-20 17:37:10 | 显示全部楼层
在httpd.conf里把连接数调大一点就可以了
回复

使用道具 举报

pc77maikongjian 发表于 2007-12-21 10:16:53 | 显示全部楼层
1,看看系统负载,是不是高,如果很高看是cpu的原因还是磁盘io的原因或者内存不够用。
2,看看mysql processlist, 有没有什么查询把表锁住了。
3,做mysql slow queries log, 看看有没有什么特别慢的查询。
4,在php的程序中加入一些时间戳调试信息,看看那段程序慢了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-11-20 00:49 , Processed in 0.027578 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表