1830060 Members
2200 Online
109998 Solutions
New Discussion

MMAP

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

MMAP

Hi all,

I am fairly familiar with the message below. I know about memory windowing at 64bit OS. However, I am getting this error from a peoplefost process scheduler. I know ORacle is only loaded as 32-bit on this Nclass 64-bit OS. We have to address this issue. Now, is the process scheduler art of oracle ot peoplesoft?

/usr/lib/dld.sl: Call to mmap() failed - TEXT
/app/ps/hrtst8/bin/libpssys.sl
/usr/lib/dld.sl: Not enough space

I can't remember the kernel parm to check also, maxdsiz, maybe?
UNIX IS GOOD
4 REPLIES 4
Steve Steel
Honored Contributor

Re: MMAP

Hi

The "Not enough space" is indicative of a limited
resource issue. Typically with lack of
swap space .

Check swap_space swapinfo -ta


maxdsiz
dbc_max_pct


Steve steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Ravi_8
Honored Contributor

Re: MMAP

Hi, Robert

since the error showing that 'Not enough space'
check the file systems sizes(bdf) if any is full.
never give up
Dietmar Konermann
Honored Contributor
Solution

Re: MMAP

Obviously the (shared) mmap()ing of a shared library fails. In this case case no swap reservation needs to be done, so we hit this:

[ENOMEM] MAP_FIXED was specified, and the range [addr,
addr+len] exceeds that allowed for the address
space of a process; or if MAP_FIXED was not
specified and there is insufficient room in the
address space to effect the mapping.


So there are problems to find room in your 32bit address space for this mapping. There are no kernel tunables for this... you need to free up space. E.g. by using memory windows, as you already mentioned.

Regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
T G Manikandan
Honored Contributor

Re: MMAP

The not enough space message seems to be with the

maxdsiz
maxdsiz_64
parameters and
also the amount of memory available on the system

If your application is a 64 bit try increasing maxdsiz.

ALso check for the processes using the memory using

# UNIX95= ps -e -o ruser,vsz,pid,args|sort -rnk2

stop the unnecessary processes.

check your swap size


Thanks