- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with RAM size on HP-UX 10.20 B
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
03-19-2003 01:49 AM
03-19-2003 01:49 AM
We have a HP-UX 10.20 B workstation with 144 MB of main memory installed.
Now the 'top' as well as 'SAM'
show a real memory of 10 MB or less than that always.
And any compilation or linking comes out saying 'Out of Memory"
My question is why the 'top' shows only 10 MB of real memory when there is 144 MB of memory installed? I think the problem of 'Out of memory' is also because of the same reason
Any help would be highly appreciated.
TIA
satya
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 01:53 AM
03-19-2003 01:53 AM
Re: Problem with RAM size on HP-UX 10.20 B
#swapinfo -t
how much is the available memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 01:54 AM
03-19-2003 01:54 AM
Re: Problem with RAM size on HP-UX 10.20 B
look at /var/adm/syslog/syslog.log
find the memory information logged
Jun 5 10:32:18 xantia vmunix:
Jun 5 10:32:18 xantia vmunix: Memory Information:
Jun 5 10:32:18 xantia vmunix: physical page size = 4096 bytes, logical page
size = 4096 bytes
Jun 5 10:32:18 xantia vmunix: Physical: 65536 Kbytes, lockable: 42504 Kbyte
s, available: 51444 Kbytes
Also what is the value os swapmem_on and dbc_max_pct in your kernel.
Show swapinfo -at
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 04:13 AM
03-19-2003 04:13 AM
Re: Problem with RAM size on HP-UX 10.20 B
To find the memory info you can use
#echo physmem/D | adb /stand/vmunix /dev/kmem
multiply the output by 4096 to get the info in bytes.
The out of memory error is due to
1.Probably the system is running out of memory.you can check that using
swapinfo -ta
2.check your kernel parameters
maxdsiz
maxssiz
maxtsiz and their 64 equ.
How much memory you have on the system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 04:27 AM
03-19-2003 04:27 AM
SolutionI said 'may disappear' because the out of memory issue may relate to the kernel fence: maxdsiz It is set tpo 67megs by default so any program that want to grow larger than that will be 'out of memory' even if there are thousands of megs of freespace. I would look at a minimum of 512Mb for your system if you want reasonable performance. Swapping is 100x slower than real memory.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 05:01 AM
03-19-2003 05:01 AM
Re: Problem with RAM size on HP-UX 10.20 B
Thanks for the quick reply guys. Looks like the maxdsiz is the problem. It is set to 67 Mb.
swapmem_on is set to 1 and
dbc_max_pct is 50
Can I just go and increase the maxdsiz value?
TIA
satya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 05:20 AM
03-19-2003 05:20 AM
Re: Problem with RAM size on HP-UX 10.20 B
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 06:28 AM
03-19-2003 06:28 AM
Re: Problem with RAM size on HP-UX 10.20 B
Thank you very much guys,
Increasing the maxdsiz did the trick. Now it looks it is working fine.
thanks again
satya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2003 12:53 AM
03-20-2003 12:53 AM
Re: Problem with RAM size on HP-UX 10.20 B
newer HP-UX releases the default value has been raised to reduce the frequency of such
problems. Even though you fixed the immediate problem, I would still strongly encourage you to follow Bill's advice about reducing dbc_max_pct from 50 to 10 and setting dbc_min_pct to 5. Your system, which has very limited memory compared with most 10.20 systems, will likely perform better for you, especially when running large programs like compilers.