Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle process consumes all paging space on AIX
Support would like information listed below. The problem is this is a
production box and this error comes on quickly and brings the box to
its knees quickly. Customer is getting heat from users and not wanting
to risk further downtime at this time.
Here's what support has asked us to obtain...
select to_char(sysdate,'dd-mon-yyyy hh24:mi:ss') from dual;
select value, n.name|| '('||s.statistic#||')'
from v$sesstat s , v$statname n
where s.statistic# = n.statistic#
and n.name like '%ga memory%'
and sid= <sid of problem session>;
3. Get heapdump of the process leaking memory.
$ sqlplus
sql> connect internal sql> oradebug setospid <pid> sql> oradebug unlimit sql> oradebug dump heapdump 5 <--do this 3 or more times (1-2 minutesapart) while
4. Get errorstack dumps while heapdump in step#3 are being taken.
At least 1 errorstack dump should also be taken on the offending
process to
determine what it is running:
$ sqlplus
sql> connect internal sql> oradebug setospid <pid> sql> oradebug unlimit sql> oradebug dump errorstack 3 <-- do this 3x (1-2 minutes apart)while heapdump above