Java Mailing List Archive

http://www.dba.5341.com/

Home » Home (12/2007) » oracle l »

Re: smon 4030 - quick ideas?

fairlie rego

2006-06-02

Replies:

Hi,
 
If you are on 10G you could be hitting bug 4970079 but without a pga heap dump or an errorstack I cannot confirm.
 
The following C program might tell you how much maximum memory a process can allocate on your box and then encounter a 4030.
 
Note : Since I don't have access to a system right now I haven't tested it
 
/* 4030 prog */
int main (int argc, char**argv) {
  char * buff;
  int mbCount = 0;
  while (1) {
    buff = (char *) malloc(1024*1024);
 if (buff == (char *)0) {
      printf("Out of memory\n");
      exit(0);
    }
 mbCount += 1;
    printf("Allocated %d MB\n", mbCount);
  }
}
 
Thanks
Fairlie

John D Parker <orclwzrd@yahoo.com> wrote:
alter system checkpoint hung, had to ctrl-c. issued shutdown abort, startup restrict, shutdown immediate, startup. all appears well at this point. hopefully will stay that way

John D Parker <orclwzrd@yahoo.com> wrote:
checked ulimits first, no probs there, smon has accumulated over a gb of memory, been getting that message over and over for over and hour. Only thing I can think of is stop/starting the instance to free up the smon memory.

Tim Gorman <tim@evdbt.com> wrote:
Make sure that process limits (i.e. "ulimit -a") for the Oracle software
owner account (usually "oracle") are set as recommended by Oracle
Support, as in MetaLink note #169706.1?

ORA-04030 means that the Oracle process attempted to allocate more
memory for heap, similar to using the C "malloc()" function, so process
limits could be very relevant...



John D Parker wrote:
> any quick ideas on how to fix this?
>
> Fri Jun 2 17:07:11 2006
> Doing block recovery for file 2 block 22497
> Fri Jun 2 17:07:11 2006
> Errors in file
> /u01/oracle/product/10.2.0.1/EE/admin/PROD2/bdump/prod2_smon_30391.trc:
> ORA-04030: out of process memory when trying to allocate 8389132 bytes
> (pga heap,redo read buffer)
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



Fairlie Rego
Senior Oracle Consultant
Optus Telecommunications
 

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

©2008 dba.5341.com - Jax Systems, LLC, U.S.A.