LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: 剑心

求助:我的服务器出现大量僵尸进程

[复制链接]
 楼主| 发表于 2004-9-6 21:23:34 | 显示全部楼层
最大链接数设了2000
我想是不是得设置一下music的最大访问数
我看多数是在那儿耗掉的资源
现在我关了music下载
现在论坛速度快多了
发表于 2004-9-6 22:12:23 | 显示全部楼层
还有就是别轻易该mysql的最大连接数值,超多了会不稳定。
 楼主| 发表于 2004-9-6 22:16:17 | 显示全部楼层
好的
谢谢

但是默认值会经常出现超过最大链接数
你看看怎麽办?
 楼主| 发表于 2004-9-6 23:12:02 | 显示全部楼层
再请教一个问题:
我在Apache2。0。50安装mod_limitipconn-0.22模块时出现了这个问题,这是错在那儿?

[root@youth mod_limitipconn-0.22]# /home/apache/bin/apxs -c -i -a mod_limitipconn.c
/home/apache/build/libtool --silent --mode=compile gcc -prefer-pic -O6 -mcpu=pentiumpro -fomit-frame-pointer -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread -I/home/apache/include  -I/home/apache/include   -I/home/apache/include   -c -o mod_limitipconn.lo mod_limitipconn.c && touch mod_limitipconn.slo
/home/apache/build/libtool --silent --mode=link gcc -o mod_limitipconn.la  -rpath /home/apache/modules -module -avoid-version    mod_limitipconn.lo
/home/apache/build/instdso.sh SH_LIBTOOL='/home/apache/build/libtool' mod_limitipconn.la /home/apache/modules
/home/apache/build/libtool --mode=install cp mod_limitipconn.la /home/apache/modules/
cp .libs/mod_limitipconn.lai /home/apache/modules/mod_limitipconn.la
cp .libs/mod_limitipconn.a /home/apache/modules/mod_limitipconn.a
ranlib /home/apache/modules/mod_limitipconn.a
chmod 644 /home/apache/modules/mod_limitipconn.a
PATH="$PATH:/sbin" ldconfig -n /home/apache/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /home/apache/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Warning!  dlname not found in /home/apache/modules/mod_limitipconn.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /home/apache/modules/mod_limitipconn.so
chmod: failed to get attributes of `/home/apache/modules/mod_limitipconn.so': No such file or directory
apxs:Error: Command failed with rc=65536
.
[root@youth mod_limitipconn-0.22]#
发表于 2004-9-10 09:42:20 | 显示全部楼层
最初由 剑心 发表
这是我的截取的部分error_log:[Mon Sep 06 20:40:53 2004] [error] [client 172.16.198.122] File does not exist: /home/web/music/images/img_shade.gif, referer: http://youth.dlmu.edu.cn/music/
[Mon Sep 06 20:40:54 2004] [error] [client 172.16.198.122] File does not exist: /home/web/music/images/img_shade.gif, referer: http://youth.dlmu.edu.cn/music/
[Mon Sep 06 20:40:54 2004] [error] [client 172.21.129.144] File does not exist: /home/web/music/images/img_shade.gif
[Mon Sep 06 20:40:57 2004] [error] [client 172.21.129.144] File does not exist: /home/web/music/images/img_shade.gif
[Mon Sep 06 20:40:57 2004] [error] [client 172.16.198.122] File does not exist: /home/web/music/images/img_shade.gif, referer: http://youth.dlmu.edu.cn/music/
[Mon Sep 06 20:40:57 2004] [error] [client 172.21.129.144] File does not exist: /home/web/music/images/img_shade.gif
[Mon Sep 06 20:40:58 2004] [error] [client 172.16.198.122] File does not exist: /home/web/music/images/img_shade.gif, referer: http://youth.dlmu.edu.cn/music/
[Mon Sep 06 20:40:59 2004] [error] [client 172.21.129.144] File does not exist: /home/web/music/images/img_shade.gif
[Mon Sep 06 20:40:59 2004] [error] [client 172.21.129.144] File does not exist: /home/web/music/images/img_shade.gif
[Mon Sep 06 20:40:59 2004] [error] [client 172.21.129.144] File does not exist: /home/web/music/images/img_shade.gif
[Mon Sep 06 20:41:00 2004] [error] [client 172.16.198.122] File does not exist: /home/web/music/images/img_shade.gif, referer: http://youth.dlmu.edu.cn/music/
[Mon Sep 06 20:41:01 2004] [error] [client 172.16.198.122] File does not exist: /home/web/music/images/img_shade.gif, referer: http://youth.dlmu.edu.cn/music/
[Mon Sep 06 20:41:02 2004] [error] [client 172.16.198.122] File does not exist: /home/web/music/images/img_shade.gif, referer: http://youth.dlmu.edu.cn/music/
[Mon Sep 06 20:41:02 2004] [error] [client 202.118.80.9] File does not exist: /home/web/book/images/backg_p_01.gif, referer: http://youth.dlmu.edu.cn/book/list_view.php?bkid=927
[Mon Sep 06 20:41:03 2004] [error] [client 172.21.129.144] File does not exist: /home/web/music/images/img_shade.gif
[Mon Sep 06 20:41:03 2004] [error] [client 172.21.129.144] File does not exist: /home/web/music/images/img_shade.gif
[Mon Sep 06 20:41:03 2004] [error] [client 172.21.129.144] File does not exist: /home/web/music/images/img_shade.gif



在下载论坛资料,可有些文件没权限,而这些文件太多而没权限,,导致的吧,而这个时候应该访问的用户很多才对,,,  

我猜测的,只能参考
 楼主| 发表于 2004-9-12 00:31:22 | 显示全部楼层
问题已经解决
是很多人在疯狂的下载
我在Apache上加了两个模块控制了一下并发数和流量就好了
发表于 2004-9-12 00:43:25 | 显示全部楼层
呵呵,之前你在说我还以为你用iptables来解决了呢,,
 楼主| 发表于 2004-9-12 22:26:52 | 显示全部楼层
谢谢Snoopy版主
每次都是麻烦您
真不好意思 呵呵
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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