- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- shared memory max size (SHMMAX)
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
01-22-2007 09:01 PM
01-22-2007 09:01 PM
I received below error while starting my Progress DB. Is there something to be changed on my HP-UX machine?
Invalid size of shared memory segment (1135) │
│ │ │
│ │When running shared-memory multi-user PROGRESS, the database server │
│ │(proserve) was unable to get a shared-memory segment of 8K bytes or │
│ │larger. You might have a UNIX kernel with a shared memory max size │
│ │(SHMMAX) that is too small. If so, regenerate the kernel with a larger │
│ │value.
THANKS!!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2007 09:12 PM
01-22-2007 09:12 PM
Re: shared memory max size (SHMMAX)
also, have you done some kernel reconfiguration lately?
If you are going to increase SHMMAX, Beware not to put SHMMAX parameter to high becasue you could get an end of channel communication message. (In oracle DB's).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2007 09:14 PM
01-22-2007 09:14 PM
Re: shared memory max size (SHMMAX)
Use SAM to define a greater value, this kernel parameter is dynamic so there is no need to reboot...
e.g.
shmmax 0X40000000
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2007 09:36 PM
01-22-2007 09:36 PM
Re: shared memory max size (SHMMAX)
how much RAM and swap do you have on your machine ? How much memory is free ?
Has the database grown lately ?
Please also remember not to set shmmax higher than your RAM + SWAP !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2007 09:49 PM
01-22-2007 09:49 PM
Re: shared memory max size (SHMMAX)
You need to discuss with your DBA to decide on the SHMMAX size. There is DB parameter file modified with the higher SGA size where as the OS kernel parameter is not modified to cater the SGA ( I am using Oracles language, I am not familiar with Progress DB, hopefully be the saemin Progress DB too). Either you need to reduce the SGA size back to the original value or increase your SHMMAX kernel parameter in OS to cater the demaned SGA from yor DB.
Pls note that whatever the SGA you keep your DB is going to take the whole chunk of real memory, you need to figure it ouot how many users/session it is going to hadle and the RAM for those + the OS itself requires some physical memory based on the kernel and background process it starts. Say for example if you have 4 GB RAM you shouldn't paln to have more than 50% for your DB SGA.
TQ
Perumal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2007 10:17 PM
01-22-2007 10:17 PM
Re: shared memory max size (SHMMAX)
How do i check the available RAM in my HP-UX machine?
How do i check the value of SHMMAX and how much should it be?
THANKS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2007 10:22 PM
01-22-2007 10:22 PM
SolutionRAM Size:
Use SAM or use
perl -e 'local($PSTAT,$PSTAT_STATIC,$mem_info,$PSTAT_STRUCT)=(239,2,"\0"x120,"LI4L");
syscall($PSTAT,$PSTAT_STATIC,$mem_info,length($mem_info),1,0);
print "RAM=".int((unpack($PSTAT_STRUCT,$mem_info))[4]*((unpack($PSTAT_STRUCT,$mem_info))[5])/(1024*1024))."\n";'
Use SAM or kmtune to check parameters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2007 10:36 PM
01-22-2007 10:36 PM
Re: shared memory max size (SHMMAX)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2007 10:42 PM
01-22-2007 10:42 PM
Re: shared memory max size (SHMMAX)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2007 03:16 AM
01-24-2007 03:16 AM
Re: shared memory max size (SHMMAX)
If so, and you're running 11.11, did you recently install the A.53.00 version of the OnlineDiags (Dec 2006 release)? There is a problem with the installation that will set shmmax to 128Mb for certain values (typically if shmmax is >2Gb).
The fix is to reset the value. You can do this from SAM, and it is a dynamic value so you do not need to rebuild the kernel or reboot, it takes effect immediately.
There will be a new release of the OnlineDiags available online next month to fix this.
Andrew