Operating System - HP-UX
1751894 Members
4933 Online
108783 Solutions
New Discussion юеВ

Re: kgefec: fatal error 0 & Internal heap ERROR 17113 addr=0x0

 
SuperDome_1
Advisor

kgefec: fatal error 0 & Internal heap ERROR 17113 addr=0x0

Hi Gurus..

We're running a client simulation load test using TCL v8.2 against Oracle 9i on Vpar (which has 32 Gb of RAM and 8 CPUS) of a SuperDome. The error occurs when our
simulated user count approaches 500. The simulator is extended with Oracle OCI
functions calls. No Oracle DB or Unix
system logs show anything. The client processes die as they get the
error, and the steady-state number of clients was at 481. Although the
simulator box appeared "hung". Sar collections continued through the
run. I've attached the error text, and also a copy of the /stand/system file.

Guidelines as to which kernel parameters to bump up, and why, would be most helpful..

Thx in advance..
7 REPLIES 7
Massimo Bianchi
Honored Contributor

Re: kgefec: fatal error 0 & Internal heap ERROR 17113 addr=0x0

Hi,
from your infos:
in the trace you see the message:


**** Recursive heap error: 17113 addr=0x0, ds=0
unable to alloc 470d bytes
unable to alloc 470d bytes


Is your application 32 or 64 bits ?

What was the memory usage at the moment of the hung ?


I think that you may hit a limitation of the program, written in 32bit code, that cannot allocate enough memory.


Try running multiple instance of the tcl in separate memory windows, it may help.

A second consideration is your only low memory parameter:

shmseg 480


does oracle OCI use shared memory ?

If so, it is strange that at 481 client you got blocked... try to rise the value to 2048.


Massimo
Massimo Bianchi
Honored Contributor

Re: kgefec: fatal error 0 & Internal heap ERROR 17113 addr=0x0

/usr/share/doc/mem_wnds.txt

is the document on the hpux server that describes how to implement the memory window.


I had to implement them, on many superdome, to have oracle/sap system cohesists, because the software (rather old) was 32bit code, and could use only the first 2Gb of memory.

Massimo
SuperDome_1
Advisor

Re: kgefec: fatal error 0 & Internal heap ERROR 17113 addr=0x0

Thx Massimo..

I wasn't able to find the mem_winds.txt in /usr/share/doc (I do have some other doc files there).. Can you send that to me by posting it as an attachment here..

Thx

T G Manikandan
Honored Contributor

Re: kgefec: fatal error 0 & Internal heap ERROR 17113 addr=0x0

What are the values of these kernel paramters

shmmax
maxdsiz

revert
T G Manikandan
Honored Contributor

Re: kgefec: fatal error 0 & Internal heap ERROR 17113 addr=0x0

Also,What client version are you running to connect to the 9i server?

Massimo Bianchi
Honored Contributor

Re: kgefec: fatal error 0 & Internal heap ERROR 17113 addr=0x0

Here the document!

Massimo
Bruno Ganino
Honored Contributor

Re: kgefec: fatal error 0 & Internal heap ERROR 17113 addr=0x0

I looked your tunable parameters and i think that some parameters aren't rights.
Perhaps this not is the true problem but us try ?

nfile 20475840
((16*(Nproc+16+MaxUsers)/10)+32+2*(Npty+Nstrpty)
maxdsiz 0x7B03A000 (max approx 2GB)
maxssiz 0x17F00000 (max approx 200 Mbytes)
shmmax default 0x04000000 max 0x40000000

HTH
Bruno
Torino (Turin) +2H