Operating System - HP-UX
1826501 Members
1845 Online
109692 Solutions
New Discussion

/usr/lib/dld.sl: Call to mmap() failed - TEXT etc...

 
waseem javeed
New Member

/usr/lib/dld.sl: Call to mmap() failed - TEXT etc...

I'm having problems loading shared a library with the above error.

When I check the amount of shared memory memory available it is sufficient i.e below the 1.75GB limit. I have read some of the technical info. on this and it appears that I may have exhausted my shared memory. Hence no room to load the lib.

Could some one please point me towards diagnosing what the problem actually is?

your assistance is much appreciated.

HPUX B.11.23 U 9000/800
5 REPLIES 5
AwadheshPandey
Honored Contributor

Re: /usr/lib/dld.sl: Call to mmap() failed - TEXT etc...

Dennis Handly
Acclaimed Contributor

Re: /usr/lib/dld.sl: Call to mmap() failed - TEXT etc...

I'm not sure it's the same problem as give by Awadhesh' link. There didn't seem to be any solutions there.

You can look at:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1127940
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1107217
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1054971
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1133390

>When I check the amount of shared memory memory available it is sufficient i.e below the 1.75GB limit.

How are you doing this? kmeminfo?
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1138208

So what is your "ipcs -ma" output?
This will give you your shared memory segments but not the shlib text ones.
waseem javeed
New Member

Re: /usr/lib/dld.sl: Call to mmap() failed - TEXT etc...

Dennis,
First of all thanks.

Awadhesh link was not relavent.

Regarding your links
Could not open links 2 & 4.

read the other links. Not sure which version of kmeminfo I need?

Shared memory total was obtained my summing SEGSZ column from command 'ipcs -mbp'

ipcs -ma output attached;


Dennis Handly
Acclaimed Contributor

Re: /usr/lib/dld.sl: Call to mmap() failed - TEXT etc...

>Could not open links 2 & 4.

Rotten firefox. :-(
There is a
in the URLs that you need to remove. Try these?
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1107217
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1133390

>Not sure which version of kmeminfo I need?

Whatever works on 11.23.

>Shared memory total was obtained my summing SEGSZ column from command 'ipcs -mbp'

This doesn't account for fragmentation. Nor does it include other shlibs that are mapped.

You have a giant one from sybase 500 Mb:
m 196629 0x89880019 sybase 12 506089472
Don Morris_1
Honored Contributor

Re: /usr/lib/dld.sl: Call to mmap() failed - TEXT etc...

When you do get kmeminfo (and hopefully a relatively recent version), please report the output of "kmeminfo -shminfo" here. That should show your shared quadrant layout.

Thanks,
Don