回复 2# csccyab
你好,多谢关注我的问题
双机安装的solaris的系统,日志里面显示swap空间充满导致的,之前也出现过这种情况,实在没法定位问题所在,列出了以下检查项目以供参考
vmstat 3 3
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr m0 m1 m1 m1 in sy cs us sy id
5 9 0 87448000 30037952 89 616 847 28 28 0 52 980 1 749 1 4036 5433 4609 0 53 47
5 12 0 53843768 1027308 30 67 2084 0 0 0 0 1242 1 981 0 10236 10974 12055 0 1 98
15 9 0 53843492 1026068 13 19 1987 0 0 0 0 1119 1 863 0 11275 11700 12948 0 2 98
prstat
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
25241 smmsp 294M 237M sleep 60 0 0:02:57 0.1% sendmail/1
2633 smmsp 294M 242M sleep 60 0 0:03:12 0.1% sendmail/1
24554 smmsp 294M 251M sleep 60 0 0:02:53 0.1% sendmail/1
9816 smmsp 294M 256M sleep 60 0 0:03:07 0.1% sendmail/1
16536 smmsp 294M 267M sleep 60 0 0:02:27 0.1% sendmail/1
1947 smmsp 294M 261M sleep 60 0 0:02:44 0.1% sendmail/1
9157 smmsp 294M 266M sleep 60 0 0:02:39 0.1% sendmail/1
17181 smmsp 294M 243M sleep 60 0 0:02:51 0.1% sendmail/1
23912 smmsp 248M 233M sleep 60 0 0:02:01 0.1% sendmail/1
8555 smmsp 165M 153M sleep 60 0 0:01:37 0.1% sendmail/1
1343 smmsp 222M 205M sleep 60 0 0:01:54 0.1% sendmail/1
16983 smmsp 15M 7488K sleep 60 0 0:00:07 0.1% sendmail/1
23561 smmsp 113M 99M sleep 60 0 0:01:17 0.1% sendmail/1
1234 smmsp 64M 56M sleep 60 0 0:01:04 0.1% sendmail/1
15972 smmsp 39M 30M sleep 60 0 0:00:42 0.1% sendmail/1
1180 smmsp 31M 23M sleep 60 0 0:00:25 0.1% sendmail/1
9354 smmsp 18M 10M sleep 60 0 0:00:15 0.1% sendmail/1
8452 smmsp 39M 31M sleep 60 0 0:00:56 0.1% sendmail/1
23556 smmsp 39M 29M sleep 60 0 0:00:34 0.1% sendmail/1
16047 smmsp 113M 101M sleep 60 0 0:01:23 0.1% sendmail/1
4 root 0K 0K sleep 99 -20 0:01:08 0.0% kmem_task/1
3128 smmsp 525M 147M sleep 60 0 0:02:42 0.0% sendmail/1
18579 smmsp 294M 219M sleep 60 0 0:02:59 0.0% sendmail/1
11776 smmsp 637M 233M sleep 58 0 0:02:28 0.0% sendmail/1
28061 smmsp 636M 280M sleep 60 0 0:02:00 0.0% sendmail/1
27478 smmsp 522M 145M sleep 59 0 0:05:20 0.0% sendmail/1
9777 smmsp 510M 96M sleep 60 0 0:02:56 0.0% sendmail/1
4218 smmsp 522M 137M sleep 59 0 0:04:19 0.0% sendmail/1
5837 smmsp 636M 298M sleep 60 0 0:01:50 0.0% sendmail/1
17881 smmsp 294M 244M sleep 60 0 0:03:13 0.0% sendmail/1
11408 smmsp 522M 242M sleep 59 0 0:04:48 0.0% sendmail/1
26612 smmsp 294M 191M sleep 59 0 0:02:57 0.0% sendmail/1
11440 smmsp 639M 146M sleep 59 0 0:02:20 0.0% sendmail/1
19239 smmsp 294M 180M sleep 58 0 0:02:49 0.0% sendmail/1
18769 smmsp 522M 218M sleep 59 0 0:04:44 0.0% sendmail/1
9148 smmsp 514M 117M sleep 60 0 0:03:41 0.0% sendmail/1
2957 smmsp 525M 100M sleep 60 0 0:02:46 0.0% sendmail/1
5997 smmsp 636M 223M sleep 60 0 0:01:52 0.0% sendmail/1
28255 smmsp 636M 303M sleep 59 0 0:01:34 0.0% sendmail/1
24417 smmsp 514M 114M sleep 60 0 0:03:13 0.0% sendmail/1
4935 smmsp 522M 94M sleep 59 0 0:05:01 0.0% sendmail/1
20381 smmsp 637M 201M sleep 60 0 0:02:00 0.0% sendmail/1
26794 smmsp 522M 111M sleep 60 0 0:04:32 0.0% sendmail/1
1363 smmsp 514M 115M sleep 54 0 0:03:36 0.0% sendmail/1
27113 smmsp 637M 139M sleep 59 0 0:02:10 0.0% sendmail/1
24493 smmsp 514M 108M sleep 60 0 0:03:10 0.0% sendmail/1
18984 smmsp 525M 202M sleep 59 0 0:02:44 0.0% sendmail/1
12057 smmsp 522M 107M sleep 58 0 0:04:46 0.0% sendmail/1
12065 smmsp 637M 172M sleep 59 0 0:02:07 0.0% sendmail/1
S-A:/# sar -u 3 20
SunOS S-A 5.10 Generic_150401-16 i86pc 01/24/2019
10:30:57 %usr %sys %wio %idle
10:31:00 0 1 0 98
10:31:03 0 2 0 98
10:31:06 0 2 0 98
10:31:09 0 2 0 98
10:31:12 0 2 0 98
10:31:15 0 1 0 98
10:31:18 0 1 0 99
10:31:21 0 3 0 97
10:31:24 0 3 0 97
10:31:27 0 2 0 98
10:31:30 0 2 0 98
10:31:33 0 2 0 98
10:31:36 0 1 0 98
10:31:39 0 13 0 87
10:31:42 0 25 0 75
10:31:45 0 11 0 88
10:31:48 0 2 0 98
10:31:51 0 2 0 98
10:31:54 0 2 0 98
10:31:57 0 4 0 95
Average 0 4 0 96
SUZCG04Ber-A:/# echo "::memstat" | mdb -k
Page Summary Pages MB %Tot
------------ ---------------- ---------------- ----
Kernel 2166350 8462 13%
Anon 14082577 55010 84%
Exec and libs 12206 47 0%
Page cache 209662 818 1%
Free (cachelist) 91082 355 1%
Free (freelist) 200511 783 1%
Total 16762388 65478
|