互联网服务内存ps

奇怪的问题,连ps都运行不了,说内存不足

今天听用户说生产环境的其中一台主机好多命令都执行不了了,但oracle业务不受影响,下面是相关的执行命令,从提示来看说是内存不足了,但lsps -a显示交换区都还没用完呢,这怎么回事呢?如何解决这个问题呢?重启也许可以解决,但现在想找个不重启就能解决的办法,最好是知道是什么原因引...显示全部
今天听用户说生产环境的其中一台主机好多命令都执行不了了,但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收起
参与13

查看其它 11 个回答malu的回答

malumalu学生学校
回复 9# feidaodao
aix真牛,还带自动修复的
教育/培训 · 2011-09-29
浏览2022

回答者

malu
学生学校

回答状态

  • 发布时间:2011-09-29
  • 关注会员:1 人
  • 回答浏览:2022
  • X社区推广