1834429 Members
2024 Online
110067 Solutions
New Discussion

dld.sl - Please help

 
Subbu Krishna
Occasional Advisor

dld.sl - Please help

Hello

I am getting a error message while running glance / make / sam on my
system running HP UX. This started to happen since morning.

Error message

/usr/lib/dld.sl: Call to mmap() failed - TEXT /usr/lib/libC.2
/usr/lib/dld.sl: Not enough space
/usr/sbin/sam[220] : 5597 Abort (coredump)

Could you please let me know what's happening.

Thanks - Subbu

9 REPLIES 9
James R. Ferguson
Acclaimed Contributor

Re: dld.sl - Please help

Hi:

Do:

# swapinfo -ta

I suspect that you are running out of swap space. You may need to add more.

...JRF...
Subbu Krishna
Occasional Advisor

Re: dld.sl - Please help

No it's not swap space. I have 80% free on swap space

-GK.
Alex Glennie
Honored Contributor

Re: dld.sl - Please help

What happened this morning ...did you add patches, reboot or configure something ?

What's the O/S, I think there's a bad linker (PHSS_20014) patch about that's been superceeded and affects sam etc ...... nothing like that installed ? .... it may also be worthwhile getting the latest dld.sl patch on if swap is not the issue ?
James R. Ferguson
Acclaimed Contributor

Re: dld.sl - Please help

Hi:

OK if swap doesn't seem to be a problem...what's changed recently? Were Glance/make/SAM running OK before today? Any new patches loaded, like for SAM?

...JRF...
Subbu Krishna
Occasional Advisor

Re: dld.sl - Please help

Hello JRF,

It's really wierd. I have not applied any patches or installed any applications.
This system runs 11.0 / 12GB RAM / 32GB Swap.

We run several SAP instances on this. I shutdown one SAP instance and
now Glance works fine. Looks like this may show up again.

Interestingly, my swap utilization is only 45% < I stand corrected in my earlier message>.

My maxswapchunks = 16384 and swchunk - 2048.

As you rightly said this may be a swap problem, but why does glance show only
45% utilization.

The main memory available is 1.4Gb.

I was wondering if you can help.

Thanks
Subbu Krishna
Occasional Advisor

Re: dld.sl - Please help

Hello JRF,

It's really wierd. I have not applied any patches or installed any applications.
This system runs 11.0 / 12GB RAM / 32GB Swap.

We run several SAP instances on this. I shutdown one SAP instance and
now Glance works fine. Looks like this may show up again.

Interestingly, my swap utilization is only 45% < I stand corrected in my earlier message>.

My maxswapchunks = 16384 and swchunk - 2048.

As you rightly said this may be a swap problem, but why does glance show only
45% utilization.

The main memory available is 1.4Gb.

I was wondering if you can help.

Thanks
James R. Ferguson
Acclaimed Contributor

Re: dld.sl - Please help

Hi:

Maybe you need some more recent patches. A search of the patch database for "dld.sl" turned up two patches that you could consider applying:

PHCO_22076 (libc cumulative)
PHSS_21947 (ld and linker cumulative)

Neither patch requires a reboot.

...JRF...
Frederick Ferrety
New Member

Re: dld.sl - Please help

Hello,

The dld load libraries in shared memory, look at yours shared memory limit in the kernel parameter(shmmax). Be aware that all 32 bits application must share 1.7 GB of shared mem on the system ( almost need for oracle'SGA)
The command "ipcs -ma" show the shared in use. There is no way to see the remaining amont of shared available. You must used a small C program to lock and release shared mem.
Here a exemple with 10 MB, run it with a specific user (not root) if it fail you can remove the entry with ipcrm for your user.

#include
#include
int myshmid;
int size_shm;
size_shm = 10000000;
main()
{
printf("%dn",sysconf(_SC_CLK_TCK));
printf("%dn size ");
printf("%dn", size_shm );
printf("n");
/* ticks = sysconf(_SC_CLK_TCK); */
myshmid = shmget (IPC_PRIVATE, size_shm, 0600);
printf("%dn", myshmid );
shmctl (myshmid, IPC_RMID, 0);
}
Frederick Ferrety
Robert P Jessie
Occasional Advisor

Re: dld.sl - Please help

I'm getting the same error. Only it's Vertex when I try to run the verrfc. I think it's a matter of:
1) The environment variables are wrong
(Maybe not the case here)
2) The shared library's (and software) do not match. Meaning the shared libaray's are 64 bit and the software is 32 bit.