Operating System - HP-UX
1851067 Members
2747 Online
104056 Solutions
New Discussion

Oracle out memory when relinking

 
SOLVED
Go to solution
Richard Amick
Occasional Advisor

Oracle out memory when relinking

Running HP-UX 11.0 64-bit. Trying to relink 64-bit Oracle version 8.1.6 after
application of patch 8.1.6.2. Getting Out of Memory. *** Error exit code 12 from
make.
Searched Oracle metalink and found out that maxdsiz or maxdsiz_64bit setting might
be too low to enable a relink or the datasize for the user shell might be too small.
Used sysdef to see the tunable configuration parameters; maxdsiz is there and shows:
NAME VALUE BOOT MIN-MAX UNITS FLAGS
maxdsiz 0 - 0-655360 Pages -

maxdsiz_64bit is not there.
Executed getconf KERNEL_BITS which returned 64; so this is a 64-bit HP kernal.
Tried ulimit -aH (Korn shell) and got ksh: ulimit: bad option(s)
Tried ulimit and got 4194303.

Questions:
What is the number returned by ulimit and it's units?
Where is the parameter maxdsiz_64? [Oracle says it should be set at 256M]
Is maxdsiz really sized at 0 and at what should it be sized?
Are there any other parameters that need to be set?
[Looked for Oracle referenced doc:
http://docs.hp.com/hpux/content/KCparam.MaxDsiz.html
and got the infamous 404 error (not found)]

2 REPLIES 2
John Palmer
Honored Contributor
Solution

Re: Oracle out memory when relinking

Hi,

We had this same problem last week. Use sam
-> kernel configuration
-> configurable parameters

to check and amend maxdsiz.

The default for maxdsiz_64bit is 1Gb this is not cause of the linking problem but you may want to increase it.

You need to increase maxdsiz from its default of 64Mb to at least 256Mb to get Oracle to link.

Regards,
John
Ian_4
Honored Contributor

Re: Oracle out memory when relinking

Here are the values that I recommend, this works fine on our systems.

SEMMNI 80
SEMMNS 180
SHMSEG 10
SHMMNI 100
SHMMAX 1073741824 (Machine dependent but this value will work)
NINODE 1563
maxdsize 0x10000000 (268MB)
maxssize 0x04000000 (67MB)

Ian