- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: shared memory allocation fails with error numb...
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
11-29-2004 07:13 PM
11-29-2004 07:13 PM
shared memory allocation fails with error number 12
We are running HP9000 11i with ost of the boxes with 16G,8G,48G of physical memory , we have a process that loads huge amount of data into the memory from flat files , this process fails in few boxes with error number 12 , this process requires about 2.5 3G of memory but even if the system has 7G free still it fails , the shmmax is set to as high as the memory in that box , can someone shed some light to this problem .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2004 03:03 AM
11-30-2004 03:03 AM
Re: shared memory allocation fails with error number 12
1) Are you compiling as 64-bit code?
2) Eventhough you have plenty of memory, do you have sufficient virtual address space. ie How much swap space and is pseudoswap enabled?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2004 03:11 AM
11-30-2004 03:11 AM
Re: shared memory allocation fails with error number 12
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2004 04:23 AM
11-30-2004 04:23 AM
Re: shared memory allocation fails with error number 12
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2004 04:40 AM
11-30-2004 04:40 AM
Re: shared memory allocation fails with error number 12
You can make the behavior consistant by using "Memory Windows" which give each group of related process its own 4GB VAS rather than being shared by all processes. Go to docs.hp.com and enter "memory windows" as a search key.
To really solve your problem, you need to compile as 64-bit code and thus eliminate the 32-bit restrictions. No matter what you do, your absolute maximum (and it is difficult to achieve) in 32-bit land is 2.75GB of shared memory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2004 12:46 AM
12-02-2004 12:46 AM
Re: shared memory allocation fails with error number 12
Are you sure about 2.75G , is it not 1.75G , please confirm this .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2004 12:57 AM
12-02-2004 12:57 AM
Re: shared memory allocation fails with error number 12
This is all good info but is there a difference on the boxes that fail.
Patching memory swap 32 or 64 bit system
Worth checking
Memory windows is best idea
Well explained at
ftp://eh:spear9@hprc.external.hp.com/memory.htm
Steve Steel