Operating System - HP-UX
1826214 Members
2814 Online
109691 Solutions
New Discussion

Problem with J2240 and /usr/lib/dld.sl

 
Zlatko Barucija
Occasional Contributor

Problem with J2240 and /usr/lib/dld.sl

Hi all !

Well , I need your help.
I have HP J2240 Dual HP-UX 11.0 and it's working only as a license server, no other software (like I-Deas or CATIA) works on it. The problem is, after two weeks (of nothing doing except licesing) I can not login any more. The only error message that I get is:

/usr/lib/dld.sl: Call to mmap() failed BBS /usr/lib/libc.2
/usr/lib/dld.sl: Not enough space

And the reason, why I can't login, is that swap memory is full (!?!). I have to reboot the computer and it takes once again two-three weeks to have this problem.

I don't get what's wrong with this computer.

Thankful for any help !
Reegards
monomaniac
8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: Problem with J2240 and /usr/lib/dld.sl

You have a memory leak or full filesystem.

Since you can't log in, you will need to boot the box.

Then its time to work.

swapinfo -tam

Do it once in a while to see whats going on.

bdf

I think a filesystem is full.

Perhaps use sam to clear the /var filesystem. Trim logs.

This could be as simple as log files piling up. If something is really huge, you might actually want to read it and see why its so full of data.

In those logs, especially /var/adm/syslog/syslog.log lies the keys to what is wrong with this computer.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Zlatko Barucija
Occasional Contributor

Re: Problem with J2240 and /usr/lib/dld.sl


I also thought it could be full filesystem, but it's not. There is more than enough space.

Thanks,
Zlatko
monomaniac
Kenneth Platz
Esteemed Contributor

Re: Problem with J2240 and /usr/lib/dld.sl

Zlatko,

You've answered your own question -- the system is out of memory, and the system is unable to allocate more memory (in this case, it is attempting to load the libc library into your process). I would presume that you have a process on the server that has a memory leak.

I think, therefore I am... I think!
Mark Nieuwboer
Esteemed Contributor

Re: Problem with J2240 and /usr/lib/dld.sl

Which version of OS do you run and are you uptodate with your patches.
Because you sure have a memory leak.
With pv you can see which process.

grtz. Mark
Zlatko Barucija
Occasional Contributor

Re: Problem with J2240 and /usr/lib/dld.sl

Sure it is a memory leak. I know. And it's filling my swap memory 'til it's full. But I can't find which process is doing this. Only error message that I have is the one above.

pv ? where can I find it, and how to use it?

It is an 11.0 version.

Reegards,
Zlatko
monomaniac
Mark Nieuwboer
Esteemed Contributor

Re: Problem with J2240 and /usr/lib/dld.sl

pv = perview but probebly you don't have that. Can you see with glance wich process takes the must memory and swapinfo to look at your user of swapspace

grtz. Mark
Zlatko Barucija
Occasional Contributor

Re: Problem with J2240 and /usr/lib/dld.sl

Sorry, no perview and no glance(-> $?).
swapinfo is giving me total:1024 and used 17%. I did a reboot in the morning....

Zlatko
monomaniac
Scot Bean
Honored Contributor

Re: Problem with J2240 and /usr/lib/dld.sl

If you don't have Glance or PerfView, you could try monitoring 'top' over time, focusing on the 'SIZE' and 'RES' columns.

Stuff that keeps growing in those columns could be leaking.

Also, you can find a free evaluation download for Glance here: http://www.managementsoftware.hp.com/products/gplus/index.html