1830877 Members
1742 Online
110017 Solutions
New Discussion

Call to mmap

 
SOLVED
Go to solution
Leif Halvarsson_2
Honored Contributor

Call to mmap

Hi,

When trying to start an Oracle instance we got a number of errors as follow:

/usr/lib/dld.sl: Call to mmap() failed - TEXT /u01/app/oracle/product/8.1.7/javavm/admin/libjox8_e5c3d890f9_internal_oracle_aurora_namespace_shell.sl
/usr/lib/dld.sl: Not enough space
/usr/lib/dld.sl: Call to mmap() failed - TEXT /u01/app/oracle/product/8.1.7/javavm/admin/libjox8javax_naming_directory.sl
/usr/lib/dld.sl: Not enough space

There is tree Oracle instances running, if any of them is shut down, there is no problem to start the fourth. All instances is rather small.

It seems as something hitting its limits but I cant find out what.

The server is a rp2470 with 2 CPU and 6GB memory. HP-UX 11.11 and Oracle 8.1.7.




5 REPLIES 5
Sridhar Bhaskarla
Honored Contributor
Solution

Re: Call to mmap

Hi,

When you said "three can run but not 4", it is striking me that you may be running out of shared memory space unless you are using memory windows for each of the instances. What is the bitness of oracle?. While ipcs -ma and totalling the SEGSZ can give you a good approximation.

I would also look at swap space utilization while bringing up the fourth instance.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Ashwani Kashyap
Honored Contributor

Re: Call to mmap

Most probably , it is hitting the shared memory space limits .

I have also seen call to mmap failing when the maxdsize limits are reached .

Then there is the error of not enough space . This could be either swap or not enough available file descriptors too .
RAC_1
Honored Contributor

Re: Call to mmap

I agree with Shridhar and Ashwini.
You may tring lowering the SGA of one of the oracle instance and try starting all instances. Also get hold of shminfo tool, start all instances one by one and get shminfo. That would help you know, how much shared memory is remaing to start the last instance.

You can also try increasing the shmmax a bit and check. Also check swap utilization.

Anil
There is no substitute to HARDWORK
Leif Halvarsson_2
Honored Contributor

Re: Call to mmap

Hi,

The databases is Oracle 32 bit.

It seems as you are right, I am short of shared memory. If I configure a smaller SGA for one of the instances I can get all 4 instances up. And ipcs -ma show that I am very close to the 1.7GB limit.

This problem seems to be typical for Oracle 32 bit on HP-UX. There is only 1.7GB shared memory avialable for all instances. By some mistake this databases was not converted to 64 bit (where there is no 1.7GB limit) when they where moved to new hardware.

Thank you !







Sridhar Bhaskarla
Honored Contributor

Re: Call to mmap

Hi Leif,

You can consider using memory windows. Look at the file mem_wndws.txt under /usr/share/doc on any 11.0 system.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try