- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: memory management + swap + /usr/lib/dld.sl --n...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 03:15 AM
07-09-2003 03:15 AM
memory management + swap + /usr/lib/dld.sl --not enough space
I very often get /usr/lib/dld.sl error on HP 11 i machine , have 8 gb of Physical RAM,8 GB SWAP and follwoing kernel params
maxdsiz 0XFFFFF000
maxdsiz_64bit 0X39999999999
maxfiles 4000
maxfiles_lim 4000
maxssiz 0X4D00000
maxssiz_64bit 0X4D00000
maxswapchunks 8193
maxtsiz 0X4000000
maxtsiz_64bit 0X40000000
maxuprc 4096
maxusers 128
nproc (20+32*MAXUSERS)
nstrpty 60
semmni 1024
semmns 2048
semmnu 1024
shmmni 1024
shmmax 0X1A13B8600
semmsl 4100
swapmem_on 1
The loas on the machine is of databases and weblogic .Any clues what i can monotor and let me know any link to manage the memory,swap etc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 03:20 AM
07-09-2003 03:20 AM
Re: memory management + swap + /usr/lib/dld.sl --not enough space
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 03:24 AM
07-09-2003 03:24 AM
Re: memory management + swap + /usr/lib/dld.sl --not enough space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 03:37 AM
07-09-2003 03:37 AM
Re: memory management + swap + /usr/lib/dld.sl --not enough space
1.Amount of memory and swap available.
If you have 80% used.
What is the value of dbc_max_pct on your kernel.
If it is 50% of memory bring it down.The value depends the amount of RAM on the server.
Make sure that you keep it to around 300MB.
The buffer cache half the memory is too high.
check the individual process usage using
UNIX95= ps -e -o ruser,pid,vsz=Kbytes
to check the process usage by each process.
How is the usage of the swap on the machine
Just do a
swapinfo -ta
you can use glance to monitor the process which is throwing out the error.
2.If the amount of memory used is less and there is quite amount of free memory available then
You have to increase your kernel parameters like
These paramters define the upper limit for a process.
They have default values like 8MB.
maxdsiz
maxdiz_64
maxssiz
maxssiz_64
maxtsiz
maxtsiz_64
ALso make sure that you check these values.
Revert with the amount of swap utilization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 05:06 AM
07-09-2003 05:06 AM
Re: memory management + swap + /usr/lib/dld.sl --not enough space
UNIX95= ps -e -o ruser,pid,vsz=Kbytes
What is vsz param indicates.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 05:21 AM
07-09-2003 05:21 AM
Re: memory management + swap + /usr/lib/dld.sl --not enough space
[TG - please allow me answer this one! thanks]
from man ps
vsz is for:
The size in kilobytes (1024 byte units) of the core image of the process.
where sz:
The size in physical pages of the core image of the process, including text, data, and stack space. Physical page size is defined by _SC_PAGE_SIZE in the header file
hth
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 05:44 AM
07-09-2003 05:44 AM
Re: memory management + swap + /usr/lib/dld.sl --not enough space
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 05:59 AM
07-09-2003 05:59 AM
Re: memory management + swap + /usr/lib/dld.sl --not enough space
Please clarify the my following doubts.
1)i have two device swaps of 4000 and 4096 kb each and are on priority 1 and 0 respectively.When I try change priority of both swaps to 1 through SAM ,it does that but again the swapinfo -atm command it is the the same as before.Do i need to reboot.??
2)what is the order in which paging will happen .As per the man page it says the memory will be paged at last and device sawp will be paged first .But if see swapinfo in my case ..it says on memory being used not the device swap...
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
dev 4000 0 4000 0% 0 - 0 /dev/vg00/lvolswap
reserve - 2262 -2262
memory 6548 1214 5334 19%
total 14644 3476 11168 24% - 0 -
Plus the error /usr/lib/dld.sl --not enough space whenever i try to run SAM , or any java application.This often comes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:02 AM
07-09-2003 06:02 AM
Re: memory management + swap + /usr/lib/dld.sl --not enough space
I wouldn't worry about swap priority as you're not using any swap: it's at 0% utilization. That's good!
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:10 AM
07-09-2003 06:10 AM
Re: memory management + swap + /usr/lib/dld.sl --not enough space
In your case, /dev/vg00/lvolswap at priority 0 is used completely before lvol2 (at priority 1) is used at all.
If these two LVOLS are on the same physical disk then you should leave the swap priorities as they are; if they are on diffrent physical devices then you can edit /etc/fstab and change the priority of the secondary swap to 1 and reboot. The swap will then be interleaved between the two areas -- I wouldn't bother because when you need to worry about this you are already performing so poorly that it hardly matters.
As has been said, it appears that your REAL problem is maxdsiz.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:10 AM
07-09-2003 06:10 AM
Re: memory management + swap + /usr/lib/dld.sl --not enough space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:18 AM
07-09-2003 06:18 AM
Re: memory management + swap + /usr/lib/dld.sl --not enough space
this is my maxdisiz and physical ram is 8gb.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:21 AM
07-09-2003 06:21 AM
Re: memory management + swap + /usr/lib/dld.sl --not enough space
1) yes, you will need to reboot for the priority of swap to change as displayed by swapinfo. This is required because there is no real method to unmount the swap device while it is active. After reboot a new device swap table entry will generated and the new priority schema should be reflected in swapinfo output.
2) The simple answer is, when psuedo-swap is active, the swap algorithm as used by the kernel will 'allocate' from memory first to reduce/eliminate the need for any IO requests. It's easiest to think of psuedo-swap as essentially a counter, nothing more.
If memory consumption does actually require pages be physically paged or processes swapped, this will actually occur on the lowest priority swap device first and psuedo-swap previously 'allocated' to the page/process will be reduced by that approximate amount and the device swap usage will increase accordingly.
Hope this clears up any confusion.
Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:35 AM
07-09-2003 06:35 AM
Re: memory management + swap + /usr/lib/dld.sl --not enough space
Did you get a chance to capture the error?. Often these errors could be misleading. Not enough space can also be associated with nfile or nproc/maxuprc kernel limitations. Look at your kernel parameters like nfile, maxuprc and nproc. sar -v can give you info on nfile and nproc. Look at the "ov" parameter. If it is greater than 0, then those parameters did overflew.
The subtle parameter is "maxuprc". This is per user basis. If some users get the errors and other s won't then this could be a culprit. Do a "ps -ef|grep user|grep -v grep|wc -l" and compare it with your maxuprc parameter. If it is close, then there is a good chance you will need to increase it.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:54 AM
07-09-2003 06:54 AM
Re: memory management + swap + /usr/lib/dld.sl --not enough space
The value specified for tunable parameter "maxdsiz", "0XFFFFF000", evaluates to "4294963200" which is more than the maximum allowed value of "2063835136".
Now this is not a problem as such. 32bit programs by default cannot address more than 960 megs (or up to about 1750 megs with special compiler options). And with even more restricted options, a 32bit program might get access to a bit under 3Gb.
So you need to identify the program(s) that are getting the out-of-memory error message and see if the problems are due to 32bit limitations. Have your programmers take a look at the Memory Management and Process Management white papers from the HP website (docs.hp.com) to understand the extreme limitations of 32bit programs.
Bill Hassell, sysadmin