- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- allocation of 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
03-20-2001 12:04 AM
03-20-2001 12:04 AM
allocation of shared memory
We?ve got a problem with Ingres allocating shared memory. The Ingres error message:
shmget() failed with operating system error 12 (Not enough space)
According to /usr/include/sys/errno.h, value 12 corresponds with error code ENOMEM.
Shmget(2) explains ENOMEM: "(...) the amount of available physical memory is not sufficient (...)".
The system on which it?s running: N4000/8, phys mem 4GB, device swap 4GB, UX 11.0, swapmem_on=1.
Now I?ve got a few questions about shared memory and memory allocation:
1) Must shared memory be allocated in physical memory? If so, why? Virtual memory on the system isn?t exhausted, physical memory is: Reserved swap is about 70%, physical memory is 100%.
2) We use the original kernel parameter settings for buffer cache (min=5, max=50). I know the second value is quite large and we should set it below 30. What I?d like to know about buffer cache is, how is it managed? When a machine runs out of physical memory (which appears to be our situation), why is the buffer cache not reduced to it?s minimum? While Ingres had problems allocating shared memory, buffer cache didn?t drop below 1.4 GB, which is 35%.
3) The Ingres server processes that use shared memory, do each allocate a large amount of memory. Output of GlancePlus: Shmem RSS/VSS: 240Mb/260Mb (which by the way suggests that shared memory can be allocated in virtual memory). The processes which should have shared regions do all allocate some 200MB, which doesn?t seem shared to me. Does anyone know what?s going on here?
Thanks in advance,
Eisse
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2001 05:11 AM
03-20-2001 05:11 AM
Re: allocation of shared memory
If you do an 'ipcs -mob' you can total up the size of all your segments and see how much your currently using. If your using under 1.75gb and the additional amount should fit into that gap, then you probably have shared memory fragmentation. In which case, you will either have to start processes in a specific order.
You might also want to contact your local HP response center about an unsupported program called shminfo. It will show you the virtual addresses being used for shared memory/shared libs and mmap'ed files (which is where ipcs falls down quite badly).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2001 05:34 AM
03-20-2001 05:34 AM
Re: allocation of shared memory
mem_mgt.txt is the HP-UX memory management white paper.
mem_wndws.txt is the Memory Windows white paper and it describes how you can create multiple 'windows' of shared memory segments up to the 1.75Gb limit for 32 bit processes.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2001 01:31 AM
03-21-2001 01:31 AM
Re: allocation of shared memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2001 02:36 AM
03-21-2001 02:36 AM
Re: allocation of shared memory
It's likely that in your case you were either trying to exceed the 1.75Gb limit for 32bit shared memory (no windowing) or existing shared memory was fragmented such that you couldn't allocate a single segment of the size that Ingres requested. You would need to check with the ipcs command.
Regards,
John