- 论坛徽章:
- 0
|
现在有一个服务器安装的是linux + tomcat老是死机,现在不知道怎么办,请高手帮我分析一下.
机器的配置 CPU:XEON 2.8GHZ .内存:1G 硬盘:18GX2 146X2 18G硬盘是做的软RAID 146G是硬件做的raid 1.
第一:linux 版本
2.6.12-1.1381_FC3smp #1 SMP Fri Oct 21 04:03:26 EDT 2005 i686 i686 i386 GNU/Linux
第二:磁盘的情况
Disk /dev/sda: 18.3 GB, 18389272576 bytes
255 heads, 63 sectors/track, 2235 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 38 305203+ fd Linux raid autodetect
/dev/sda2 39 2105 16603177+ fd Linux raid autodetect
/dev/sda3 2106 2235 1044225 fd Linux raid autodetect
Disk /dev/sdb: 18.3 GB, 18389272576 bytes
255 heads, 63 sectors/track, 2235 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 38 305203+ fd Linux raid autodetect
/dev/sdb2 39 2105 16603177+ fd Linux raid autodetect
/dev/sdb3 2106 2235 1044225 fd Linux raid autodetect
Disk /dev/sdc: 146.6 GB, 146693685248 bytes
255 heads, 63 sectors/track, 17834 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 17834 143251573+ 83 Linu
以及现在软raid的情况 :
Personalities : [raid1]
md2 : active raid1 sdb2[1] sda2[0]
16603072 blocks [2/2] [UU]
md1 : active raid1 sdb3[1] sda3[0]
1044160 blocks [2/2] [UU]
md0 : active raid1 sdb1[1] sda1[0]
305088 blocks [2/2] [UU]
unused devices: <none>
第四:tomcat的版本以及JAVA版本
tomcat-5.0.28 j2sdk1.4.2_10
第五:死机前的 内存以及cpu状态
***********************************
现在是2007年03月14日06小时00分钟01秒
total used free shared buffers cached
Mem: 1009 748 261 0 175 238
-/+ buffers/cache: 333 675
Swap: 1019 0 1019
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 180 267888 179432 244708 0 0 8 4 110 41 1 0 99 0
***********************************
现在是2007年03月14日09小时35分钟01秒(重新启动的状态)
total used free shared buffers cached
Mem: 1009 64 945 0 9 26
-/+ buffers/cache: 28 981
Swap: 1019 0 1019
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
0 1 0 967784 10236 27204 0 0 373 106 557 232 5 6 76 13
第六:系统的日志
Mar 14 06:00:01 POWER2000R crond(pam_unix)[6467]: session opened for user root by (uid=0)
Mar 14 06:00:01 POWER2000R crond(pam_unix)[6468]: session opened for user root by (uid=0)
Mar 14 06:00:01 POWER2000R crond(pam_unix)[6468]: session closed for user root
Mar 14 06:00:01 POWER2000R crond(pam_unix)[6467]: session closed for user root
Mar 14 06:01:01 POWER2000R crond(pam_unix)[6482]: session opened for user root by (uid=0)
Mar 14 06:01:01 POWER2000R crond(pam_unix)[6482]: session closed for user root
Mar 14 09:33:51 POWER2000R syslogd 1.4.1: restart.
Mar 14 09:33:51 POWER2000R syslog: syslogd startup succeeded
Mar 14 09:33:51 POWER2000R kernel: klogd 1.4.1, log source = /proc/kmsg started.
Mar 14 09:33:51 POWER2000R kernel: Linux version 2.6.12-1.1381_FC3smp (bhcompile@porky.build.redhat.com) (gcc version 3.4.4 20050721
(Red Hat 3.4.4-2)) #1 SMP Fri Oct 21 04:03:26 EDT 2005
Mar 14 09:33:51 POWER2000R kernel: BIOS-provided physical RAM map:
以前这个机器一直都没什么问题,就是近阶段死机很平凡, 两天会死一次,请问我现在怎么去分析问题在什么地方? 先谢了! |
|