- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Maximum shared memory?
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
12-20-2002 01:49 AM
12-20-2002 01:49 AM
Maximum shared memory?
But am I right in thinking 1) shared memory cannot be paged out 2) allocating as much shared memory (or more) than physical memory can lead to application failure and/or kernel panics?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2002 03:04 AM
12-20-2002 03:04 AM
Re: Maximum shared memory?
http://www.docs.hp.com/cgi-bin/otsearch/getfile?id=/hpux/onlinedocs/939/KCParms/KCparam.ShMem.html&searchterms=shmem&queryid=20021220-040230
Hope that helps.
Regards,
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2002 01:59 AM
12-21-2002 01:59 AM
Re: Maximum shared memory?
yes your right,
1) shared memory cannot paged out
2) if an application needs more shared memory as available the application start failes
If your system has 1 GB RAM, there is no need to size shmmax to 1GB, cause the theoretic maximum is (1GB - Size of Buffercache - Size of Kernelstructures)
have fun
Claus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2002 06:20 AM
12-21-2002 06:20 AM
Re: Maximum shared memory?
The kernel parameter shmmax controls the maximum size of a shared memory area and is simply a fence to prevent bad programs from grabbing too much memory. By changing the way you link your application programs, apps can request memory up to 1750megs.
Now all these limits apply *only* to 32bit programs. 64bit programs have no practical limits (shared memory up to 8,000Gbytes). But, 1Gb is *way* too small to run SAP with any reasonable performance. The minimum system RAM should be 4Gb. Allocating most of RAM to shared memory will not cause a kernel panic, but all the applications will be paging (swapping) constantly resulting in 50-100x performance degradation. For SAP and Oracle, small memory systems will be severely crippled.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2002 09:01 AM
12-21-2002 09:01 AM
Re: Maximum shared memory?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2002 02:50 AM
12-23-2002 02:50 AM
Re: Maximum shared memory?
Just for the record: Shared Memory *can* be paged out. Perhaps Shared Memory *used by SAP* can not be paged out, but in general, Shared Memory can be paged out. For details, see the SHM_LOCK and SHM_UNLOCK commands of shmctl(2).