- 论坛徽章:
- 0
|
我现在发现我们的系统内存使用已经百分之百了。
我想知道都是哪些进程占用了我们的内存。
于是我通过svmon -Pt 100查看前100个占用内存的进程。
通过这个命令形成的日志,发现前几个进程的内存使用就已经超过了我们的总内存了。
感觉有点不对。
-------------------------------------------------------------------------------
Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 16MB
791176 oracle 1239650 66896 3833 1233387 Y N N
PageSize Inuse Pin Pgsp Virtual
s 4 KB 1142610 0 2601 1132251
m 64 KB 1969 85 77 2225
Vsid Esid Type Description PSize Inuse Pin Pgsp Virtual
0 0 work kernel segment (lgpg_vsid=0) L 16 16 0 16
909a8 7000000e work default shmat/mmap s 65536 0 0 65536
56584 70000008 work default shmat/mmap s 65520 0 0 65520
1f4c3e 70000006 work default shmat/mmap s 65520 0 0 65520
b374a 70000004 work default shmat/mmap s 65520 0 0 65520
f0a0e 7000000b work default shmat/mmap s 65520 0 0 65520
1f08de 70000009 work default shmat/mmap s 65520 0 0 65520
1028b1 70000007 work default shmat/mmap s 65520 0 0 65520
1e6c3f 70000002 work default shmat/mmap s 65520 0 0 65520
172996 7000000a work default shmat/mmap s 65520 0 0 65520
628c7 70000003 work default shmat/mmap s 65520 0 0 65520
629a7 7000000c work default shmat/mmap s 65520 0 0 65520
1d175c 70000005 work default shmat/mmap s 65520 0 0 65520
76746 70000001 work default shmat/mmap s 65503 0 0 65503
e444f 11 work text data BSS heap s 64953 0 0 64953
1869f9 7000000d work default shmat/mmap s 61433 0 0 61433
146b55 7000000f work default shmat/mmap s 59416 0 0 59416
26b63 12 work text data BSS heap s 52587 0 0 52587
1b6cfa 70000010 work default shmat/mmap s 37510 0 0 37510
1070b0 90000000 work shared library text m 1964 82 77 2220
80989 10 clnt text data BSS heap, s 11931 0 - -
/dev/fslv00:124650
1f021e 90020014 work shared library s 2130 0 1014 2179
10001 9ffffffd work shared library s 405 0 1582 1943
106b11 8001000a work private load data s 147 0 0 147
e6caf 80020014 work USLA heap s 105 0 0 105
a6d4b 9001000a work shared library data s 96 0 0 96
136e52 f00000002 work process private m 5 3 0 5
66b27 ffffffff work application stack s 57 0 0 57
60086 9ffffffe work shared library s 55 0 5 55
468e5 8fffffff work private load data s 11 0 0 11
1c01fd 9fffffff clnt USLA text,/dev/hd2:2247 s 10 0 - -
908e8 - clnt /dev/fslv00:106333 s 3 0 - -
190858 - clnt /dev/fslv00:106286 s 2 0 - -
66a67 fffffffa work application stack s 0 0 0 0
46d25 fffffff6 work application stack s 0 0 0 0
1c4abd fffffffd work application stack s 0 0 0 0
a074b fffffff7 work application stack s 0 0 0 0
156d14 fffffff0 work application stack s 0 0 0 0
f6b8e fffffff9 work application stack s 0 0 0 0
192c38 fffffff1 work application stack s 0 0 0 0
1c547d fffffff3 work application stack s 0 0 0 0
1f2bfe fffffffb work application stack s 0 0 0 0
c366d fffffff2 work application stack s 0 0 0 0
e6d8f fffffff4 work application stack s 0 0 0 0
c6b8d fffffff5 work application stack s 0 0 0 0
956c8 fffffffc work application stack s 0 0 0 0
164597 fffffffe work application stack s 0 0 0 0
136b12 fffffff8 work application stack s 0 0 0 0
-------------------------------------------------------------------------------
Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 16MB
164840 oracle 1128999 66896 3849 1122736 Y N N
PageSize Inuse Pin Pgsp Virtual
s 4 KB 1031959 0 2601 1021600
m 64 KB 1969 85 78 2225
Vsid Esid Type Description PSize Inuse Pin Pgsp Virtual
0 0 work kernel segment (lgpg_vsid=0) L 16 16 0 16
909a8 7000000e work default shmat/mmap s 65536 0 0 65536
56584 70000008 work default shmat/mmap s 65520 0 0 65520
629a7 7000000c work default shmat/mmap s 65520 0 0 65520
628c7 70000003 work default shmat/mmap s 65520 0 0 65520
1f08de 70000009 work default shmat/mmap s 65520 0 0 65520
1d175c 70000005 work default shmat/mmap s 65520 0 0 65520
1f4c3e 70000006 work default shmat/mmap s 65520 0 0 65520
1028b1 70000007 work default shmat/mmap s 65520 0 0 65520
b374a 70000004 work default shmat/mmap s 65520 0 0 65520
1e6c3f 70000002 work default shmat/mmap s 65520 0 0 65520
172996 7000000a work default shmat/mmap s 65520 0 0 65520
f0a0e 7000000b work default shmat/mmap s 65520 0 0 65520
76746 70000001 work default shmat/mmap s 65503 0 0 65503
1869f9 7000000d work default shmat/mmap s 61433 0 0 61433
146b55 7000000f work default shmat/mmap s 59416 0 0 59416
1b6cfa 70000010 work default shmat/mmap s 37510 0 0 37510
1070b0 90000000 work shared library text m 1964 82 77 2220
80989 10 clnt text data BSS heap, s 11931 0 - -
/dev/fslv00:124650
a0a2b 11 work text data BSS heap s 6934 0 0 6934
1f021e 90020014 work shared library s 2130 0 1014 2179
10001 9ffffffd work shared library s 405 0 1582 1943
1e09df 8001000a work private load data s 147 0 0 147
316c2 80020014 work USLA heap s 105 0 0 105
116ab0 9001000a work shared library data s 95 0 0 95
908c8 f00000002 work process private m 5 3 1 5
60086 9ffffffe work shared library s 55 0 5 55
124ef3 ffffffff work application stack s 13 0 0 13
94688 8fffffff work private load data s 11 0 0 11
1c01fd 9fffffff clnt USLA text,/dev/hd2:2247 s 10 0 - -
908e8 - clnt /dev/fslv00:106333 s 3 0 - -
30982 - clnt /dev/fslv00:177476 s 1 0 - -
808a9 - clnt /dev/fslv00:124644 s 1 0 - -
152934 - clnt /dev/fslv00:123072 s 0 0 - -
180ab9 - clnt /dev/fslv00:179704 s 0 0 - -
a0a0b 70000000 mmap maps 1 source(s) s 0 0 - -
-------------------------------------------------------------------------------
这是形成的日志的前两个进程 后面几十个和这个都差不多。
我们的内存总共才16g
一个进程就用去将近4G 我看这两个ORACLE进程调用的内存段好像是一样的。不知道我说的是不是对的。vsid是不是就是代表了他们访问的内存地址啊。
我想知道我的内存都被哪些进程给吞噬掉了。各吞噬了多少哪?
从大到小排序。 |
|