- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Memroy use
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
09-09-2004 11:07 AM
09-09-2004 11:07 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2004 11:13 AM
09-09-2004 11:13 AM
SolutionYou have 3 kernel parameters that limit the size of these 3 segments.
maxdsiz = maximum data segment size for a 32-bit binary
maxdsiz_64bit =Max data seg size for a 64-bit binary
maxssiz - max stack seg size for a 32-bit binary
maxssiz_64bit = for 64 bit binary
maxtsiz = max text seg size for a 32 bit binary
maxtsiz_64bit = max text seg size for a 64 bit binary.
Any process that tries to allocate more than above boundaries will be terminated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2004 11:26 AM
09-09-2004 11:26 AM
Re: Memroy use
Another interesting segment is shared segment.. One can create a segment of size upto shmmax kernel parameter.. and can create multiple such segments upto msgmni parameter depending on the OS bit version. With default configuration, such limitation is upto 1.75 GB on a 32 bit OS and 1 TB on 64bit. So, there isn't enough contiguous space available in the shared memory space, then the processes that create shared memory will fail.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2004 11:38 AM
09-09-2004 11:38 AM
Re: Memroy use
I know that if the shared memory gets full or if there is any problem for the kernel to assign a segment, there will be a message in the syslog.log file. What about the other memory areas (data segment, stack segment, text segment) ? Do they produce a message in the syslog.log files as well ?
Thanks in advance.
Hector
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2004 11:42 AM
09-09-2004 11:42 AM
Re: Memroy use
but I know you will get messages similar to
"Bus fault"
"Segmentation voilation fault"
I dont believe these messages get logged in syslog.log.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2004 11:49 AM
09-09-2004 11:49 AM
Re: Memroy use
Even for the shared memory, you will hardly find any errors in syslog.log. The kernel tables such as nfile, nproc will give out the errors in syslog.log
Most of the memory overflow errors are given out as the standard errors by the processes. Such as 'segment violation', 'out of memory' etc.,
Also, note that on HP systems are based on virtual memory. So, on a system you may find only 512 MB of physical memory but still you can be able to create 600 MB of data segment. Having said that there is another parameter that can limit the memory usage 'swap space'. You may have 10 GB of physical memory on the system but if you haven't configured your swap space enough, you may not be able to use all the memory.
A small correction in my previous note.. A typical shared memory quadrant size on 64-bit systems is 4 TB.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2004 12:21 PM
09-13-2004 12:21 PM
Re: Memroy use
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2004 01:22 PM
09-13-2004 01:22 PM
Re: Memroy use
Hope this helps
Thanks
Prashant