服务器两台
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 |