免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1813 | 回复: 2
打印 上一主题 下一主题

[Web] Web服务器问题求助 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-01-22 17:16 |只看该作者 |倒序浏览
服务器两台

web:志强2.4 SCSI 80GG+40GIDE  2G内存

DB: 志强2.8 SCSI 150G*3  raid5

运行论坛:discuz 5

遇到的问题: 偶尔瞬间负载升高,高到服务器连不上,必须重启web服务器才正常,DB负载非常低,这个偶尔一般是一天一次或两次,都是在访问人数比较高的时候

一般的访问在线人数15分钟内3500-4200,用户活跃数非常高,基本在线的都是活跃的

重启后在/var/log/message 里的错误日志

  Jan 22 16:51:02 web kernel:     ACPI-0584: *** Warning: Type override - [MLIB] had invalid type (Integer) for Scope operator, change
d to (Scope)
Jan 22 16:51:02 web kernel:     ACPI-0584: *** Warning: Type override - [IO__] had invalid type (Integer) for Scope operator, change
d to (Scope)
Jan 22 16:51:02 web kernel:     ACPI-0584: *** Warning: Type override - [DATA] had invalid type (String) for Scope operator, changed
to (Scope)
Jan 22 16:51:02 web kernel:     ACPI-0584: *** Warning: Type override - [SIO_] had invalid type (String) for Scope operator, changed
to (Scope)
Jan 22 16:51:02 web kernel:     ACPI-0584: *** Warning: Type override - [SB__] had invalid type (String) for Scope operator, changed
to (Scope)
Jan 22 16:51:02 web kernel:     ACPI-0584: *** Warning: Type override - [PM__] had invalid type (String) for Scope operator, changed
to (Scope)
Jan 22 16:51:02 web kernel:     ACPI-0584: *** Warning: Type override - [ICNT] had invalid type (String) for Scope operator, changed
to (Scope)
Jan 22 16:51:02 web kernel:     ACPI-0584: *** Warning: Type override - [ACPI] had invalid type (String) for Scope operator, changed
to (Scope)
Jan 22 16:51:02 web kernel:     ACPI-0584: *** Warning: Type override - [IORG] had invalid type (String) for Scope operator, changed
to (Scope)
Jan 22 16:51:02 web kernel:     ACPI-0584: *** Warning: Type override - [SB__] had invalid type (String) for Scope operator, changed
to (Scope)
Jan 22 16:51:02 web kernel:     ACPI-0584: *** Warning: Type override - [PM__] had invalid type (String) for Scope operator, changed
to (Scope)
Jan 22 16:51:02 web kernel:     ACPI-0584: *** Warning: Type override - [SIO_] had invalid type (String) for Scope operator, changed
to (Scope)
Jan 22 16:51:02 web kernel:     ACPI-0584: *** Warning: Type override - [PM__] had invalid type (String) for Scope operator, changed
to (Scope)
Jan 22 16:51:02 web kernel:     ACPI-0584: *** Warning: Type override - [BIOS] had invalid type (Integer) for Scope operator, change
d to (Scope)
Jan 22 16:51:02 web kernel:     ACPI-0584: *** Warning: Type override - [CMOS] had invalid type (Integer) for Scope operator, change
d to (Scope)
Jan 22 16:51:02 web kernel:     ACPI-0584: *** Warning: Type override - [KBC_] had invalid type (Integer) for Scope operator, change
d to (Scope)
Jan 22 16:51:02 web kernel:     ACPI-0584: *** Warning: Type override - [OEM_] had invalid type (Integer) for Scope operator, change

在dmesg 里的日志

    ACPI-0584: *** Warning: Type override - [SIO_] had invalid type (String) for Scope operator, changed to (Scope)
    ACPI-0584: *** Warning: Type override - [PM__] had invalid type (String) for Scope operator, changed to (Scope)
    ACPI-0584: *** Warning: Type override - [BIOS] had invalid type (Integer) for Scope operator, changed to (Scope)
    ACPI-0584: *** Warning: Type override - [CMOS] had invalid type (Integer) for Scope operator, changed to (Scope)
    ACPI-0584: *** Warning: Type override - [KBC_] had invalid type (Integer) for Scope operator, changed to (Scope)
    ACPI-0584: *** Warning: Type override - [OEM_] had invalid type (Integer) for Scope operator, changed to (Scope)

还不清楚是否因该日志引起

apache采用prework模式
<IfModule prefork.c>
ServerLimit        1000
StartServers        5
MinSpareServers     5
MaxSpareServers     10
MaxClients         800
MaxRequestsPerChild  0
</IfModule>

现在一直被这个问题困扰,希望有经验的网管人员给予帮助,本人实在查不出原因


另:正常运行的时候负载也偏高,只是论坛访问还非常快就是,以下是白天普遍都是这样的
[root@web ~]# uptime
17:13:31 up 23 min,  1 user,  load average: 42.11, 30.22, 19.18
[root@web ~]# vmstat
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id wa
2  0      0 223456  54576 660164    0    0   236   148 1704  1397 51 11 35  2

[root@web ~]# free -m
             total       used       free     shared    buffers     cached
Mem:          2026       1728        297          0         54        659
-/+ buffers/cache:       1014       1011
Swap:         2047          0       2047

论坛徽章:
0
2 [报告]
发表于 2007-01-24 19:35 |只看该作者
好像系统性能也这就么多了,找下相关的资料。3500以上的同时在线数算不错的了。

论坛徽章:
0
3 [报告]
发表于 2007-01-25 16:09 |只看该作者
是啊,但是总是要求更高,我不知道其他使用DISCUZ论坛高在线人数的站点服务器是怎么架构的

现在有考虑增加一台web,但没有存储设备使用NFS的个人觉得速度反而会下降,不知道有没有高手介绍一些经验
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP