HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Shared memory question
Operating System - HP-UX
1833034
Members
2552
Online
110049
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-18-2007 10:19 AM
12-18-2007 10:19 AM
Shared memory question
Hi gurus
I have a client that is having problems in access shared memory and getting an shmget error with errno = EINVA.
The size of the segment is not greater than system imposed maximum.
What could be the problem then?
Thanks in advance,
R
I have a client that is having problems in access shared memory and getting an shmget error with errno = EINVA.
The size of the segment is not greater than system imposed maximum.
What could be the problem then?
Thanks in advance,
R
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2007 10:37 AM
12-18-2007 10:37 AM
Re: Shared memory question
Hi Ramones:
Is this a 32-bit or a 64-bit process and/or are a mixture of both in play?
See the manpages for 'shmget' and the reasons for errno=EINVAL.
http://docs.hp.com/en/B3921-60631/shmget.2.html
Regards!
...JRF...
Is this a 32-bit or a 64-bit process and/or are a mixture of both in play?
See the manpages for 'shmget' and the reasons for errno=EINVAL.
http://docs.hp.com/en/B3921-60631/shmget.2.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2007 11:03 AM
12-18-2007 11:03 AM
Re: Shared memory question
Shalom,
How much memory is the progam asking for. HP-UX divides memory into certain areas which may be smaller than the value you think the maximum is.
Also if overall system memory is not high enough this could also effect the maximum memory available. Other processes may have the memory locked.
SEP
How much memory is the progam asking for. HP-UX divides memory into certain areas which may be smaller than the value you think the maximum is.
Also if overall system memory is not high enough this could also effect the maximum memory available. Other processes may have the memory locked.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2007 11:19 AM
12-18-2007 11:19 AM
Re: Shared memory question
Nope, memory exhaustion won't give EINVAL. James linked in the man page -- the cases it describes for EINVAL are it (I started enumerating them and then cross checked and realized there aren't any the man page didn't describe just as well/better than I likely can anyway).
Memory exhaustion is ENOMEM, btw -- regardless of it being physical or virtual memory exhaustion.
Memory exhaustion is ENOMEM, btw -- regardless of it being physical or virtual memory exhaustion.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP