1748210 Members
2763 Online
108759 Solutions
New Discussion юеВ

HP-UX Error 12

 
SOLVED
Go to solution

HP-UX Error 12

Hello,
I'm using Hp-UX B2000 with 9GB hardlisk. I've installed Oracle 8.1.7. The problem is that when I'm trying to bring up oracle using startup from svrmgrl prompt I'm getting the following error.

SVRMGR>startup
ORA-27102: out of memory
HP-UX Error: 12: Not enough space

Would be great if any one could give me the reason for this. Here are my kernel parameter values:
maxdsize - 3147483648
shmmax - 1073741824
swapmem_on - 1

I'm badly in need of this machine and would appreciate quick help from somebody.

Thanks in Advance
Regards
Siva
LINUX never dies
19 REPLIES 19
Joseph Loo
Honored Contributor

Re: HP-UX Error 12

Have you also change this?

shmmax=1073741824 or 0X40000000
shmmni=100
shmseg=10
semmns=1000
semmni=100

NOTE: If you are installing the 64-bit version of Oracle, you must also increase the kernel parameter MAXDSIZ to 384M or higher in order to prevent an 'out of process memory' error during relinking.

If you have Metalink, you may want to check Doc ID: Note:108387.1.

Regards,
Joseph.
what you do not see does not mean you should not believe
Carlos Fernandez Riera
Honored Contributor
Solution

Re: HP-UX Error 12

Do an aproximation of total SGA size:

edit init$ORACLE_SID.ora

Multiply:
db_block_size = 8192 by
db_block_buffers = 5000
and add
shared_pool_size = 40485760

8192*5000=40960000+40485760=81445760.

You SGA will be greater than 81445760.

shmmax must be greater that this value.


unsupported

Re: HP-UX Error 12

Hi there,
My db_block_size is 8192, db_block_buffers is 2048 and shared_pool_size is 157286400 and the final value is lesser than the value of shmmax. Anyway thanks for the information.

Regards
Siva
LINUX never dies

Re: HP-UX Error 12

Hi there,
Do you want me to change shmmax or verify the value? The values of shmmni, shmseg, semmns and semmni were 200, 120, 250 and 256 respectively. I changed the value of semmns to 1000 and then rebuilt the kernel, but I got the same error ( no enough memory). Anyway thanks for the information.

Regards
Siva
LINUX never dies
Carlos Fernandez Riera
Honored Contributor

Re: HP-UX Error 12

174.063.616 Bytes.


Now run swapinfo -a and see reserved size, and swap utilization.

Is swap space size configured with at least physical memory size?
unsupported
Andreas D. Skjervold
Honored Contributor

Re: HP-UX Error 12

Hi

Check your swapspace and that you infact have enough free memory.

Try reducing the SGA size to a minimum.

Andreas
Only by ignoring what everyone think is important, can you be aware of what everyone ignores!

Re: HP-UX Error 12

When I gave swapinfo I got the following info:
TYPE Kb Kb Kb PCT
Avail Used used Used
dev 1048576 0 1048576 0%
reserve - 202944 -202944
memory 381668 35840 345828

I'm not sure what I should I proceed with. Plse do give me some other additional information.

Thanks & Regards
Siva
LINUX never dies
Bill Hassell
Honored Contributor

Re: HP-UX Error 12

This is likely only a 32bit version of Oracle and as such, you are constrained to a very small SGA....maxdsiz is only a fence but will not enable Oracle to address more RAM than is allowed in 32bits.

SGA (in 32 bit shared memory) is mapped into a single addressing space where it is shared with memory mapped files, other shared memory segments and shared libraries. It is likely that there is no single segment free that is large enough for the SGA you are requesting. Try reducing your SGA to just a few hundred megs and run it again.

To see the fragmentation in your 32bit memory area, get a copy of shminfo:

ftp://contrib:9unsupp8@hprc.external.hp.com/sysadmin/programs/shminfo/

64bit programs do not have this limitation of a shared memory area. You may also want to look at memory windows to give Oracle a clean address space. Note that if your overall RAM is small (less than 4000 megs), paging (swapping) will severely impact the performance of Oracle in a busy environment. Be sure to read the 3 white papers in /usr/share/doc on mem_mt, proc_mgt and memory windows (may require patches to add memory windows to your version of HP-UX),


Bill Hassell, sysadmin
Magdi KAMAL
Respected Contributor

Re: HP-UX Error 12

Hi,

You wrote that the maxdsize is :

maxdsize - 3147483648 ???

Three Gigs for the max data size !!!

Are you sure you still have memory for the others :

. hp-ux
. Applications
. Tools
. Interactive users


How much physical memory and swap you have ???

Magdi