今天听用户说生产环境的其中一台主机好多命令都执行不了了,但oracle业务不受影响,下面是相关的执行命令,从提示来看说是内存不足了,但lsps -a显示交换区都还没用完呢,这怎么回事呢?如何解决这个问题呢?重启也许可以解决,但现在想找个不重启就能解决的办法,最好是知道是什么原因引起的,这台机器平时除了些巡检工作外,不会进行其它操作。
$ ps
Could not load program ps:
Symbol resolution failed for /usr/lib/libwlm.a(shr.o) because:
There is not enough memory for the process.
System error: Error 0
$ lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type m
hd6 hdisk0 rootvg 10240MB 1 yes yes lv 0
$ topas
Could not load program topas:
Symbol resolution failed for /usr/lib/libxcurses.a(shr4.o) because:
There is not enough memory for the process.
System error: Error 0
$ wmstat 1
ksh: wmstat: not found
$ vmstat 1
System Configuration: lcpu=16 mem=31104MB
kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------
r b avm fre re pi po fr sr cy in sy cs us sy id wa
5 0 2815231 1041439 0 0 0 0 0 0 125 18952 3175 10 1 89 0
5 0 2815231 1041439 0 0 0 0 0 0 134 18766 3202 10 1 89 0
5 0 2815230 1041440 0 0 0 0 0 0 124 17284 2985 10 1 89 0
^C$
$ iostat
Could not load program iostat:
Symbol resolution failed for /usr/lib/libwlm.a(shr.o) because:
There is not enough memory for the process.
System error: Error 0
收起