- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Kernel Tuning
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-24-2003 02:22 AM
01-24-2003 02:22 AM
Kernel Tuning
A customer i am working with at the moment is running a number of Oracle 8i servers. The SGA (system global area) configured for Oracle relies on the HPUX kernel parameter shmmax being larger than the SGA value.
A problem arises when the SGA value, which contains data and control information for an oracle instance is resized. Resizing causes Oracle to give out of memory messages and the shmmax parameter must be altered to fix this. Would it be possible to configure shmmax with a formula that reads the SGA value and configures the parameter accordingly?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2003 02:30 AM
01-24-2003 02:30 AM
Re: Kernel Tuning
shmmax is a dynamic kernel parameter. You can set this by using kmtune kmtune -s shmmax=Ox???? .
You can use this to set shmmax in a script with the SGA size.
# kmtune -l -q shmmax
Parameter: shmmax
Value: 0x40000000
Default: 0X4000000
Minimum: -
Module: -
#kmtune -s shmmax=0x4000000
#kmtune -l -q shmmax
Parameter: shmmax
Value: 0x4000000
Default: 0X4000000
Minimum: -
Module: -
Does it respons to your answer ?
Regards,
Jerome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2003 02:32 AM
01-24-2003 02:32 AM
Re: Kernel Tuning
I personally would be hesitant to make UNIX try and jump through all sorts of hoops for an issue that revolves around Database design.
Having said that, shmmax is a dynamic variable, that should be able to be changed on the fly. Investigate the 'kmtune' and possibly try it on a trash-and-burn box.
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2003 02:34 AM
01-24-2003 02:34 AM
Re: Kernel Tuning
The maximum for a 32bit kernel is 0x40000000 (1Gb) and for a 64 bit kernel 0x40000000000.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2003 02:43 PM
01-28-2003 02:43 PM
Re: Kernel Tuning
to second John: SHMMAX is a *limit* not a table or anything like that.
You can use it to restrict some process of allocating too huge amounts of shared memory at once, but you don't have to!
Set it to the maximum of RAM your box can be equipped with and that's it.
FWIW,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2003 06:16 PM
01-28-2003 06:16 PM
Re: Kernel Tuning
Oracle is a huge shared memory eater. Like potato chips or something. You want all the shared memory queues to be liberal, especially if you are running any other database on the box.
Take a look at an ipcs command while your oracle is up.
Oracle appears capable of eating anything you feed it, to continue the food analogy.
Out of memory errors can be causes by lots of things.
Make sure the java version is 1.2 or 1.3 and is certified. java 1.4 is not certified by Oracle.
This document shows the latest Oracle patches, some of which could impact you.
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=43507.1
Document id 43507.1
Here is the good part.
HP-UX 11.11 =========== 6. C++ runtime libs Current Revision of Patch: PHSS_26946 - s700_800 11.11 HP aC++ -AA runtime libraries (aCC A.03.37) Patch in latest Support Plus Patch Bundle? Yes, as PHSS_22898. 5. asyncio driver patch - slow database startup with large SGAs Current Revision of Patch: PHKL_25506 - s700_800 11.11 asyncio driver patch Patch in latest Support Plus Patch Bundle? Yes, as PHKL_25506. 4. ONC/NFS General Release/Performance Patch Current Revision of Patch: PHNE_26388 - s700_800 11.11 ONC/NFS General Release/Performance Patch Patch in latest Support Plus Patch Bundle? Yes, as PHNE_26388. 3. ld and linker tools cumulative patch Current Revision of Patch: PHSS_26560 - s700_800 11.11 ld(1) and linker tools cumulative patch Patch in latest Support Plus Patch Bundle? No. 2. libc cumulative patch Current Revision of Patch: PHCO_27740 :s700_800 11.11 libc cumulative patch Patch in latest Support Plus Patch Bundle? Yes, as PHCO_25452. 1. libc cumulative header file patch Current Revision of Patch: PHCO_24402 :s700_800 11.11 libc cumulative header file patch Patch in latest Support Plus Patch Bundle? Yes, as PHCO_24402.
Check those patches and look for more current ones in itrc.
Build a big patch bundle and install them all at once. That's how I did it, saved time.
P
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
01-29-2003 02:16 AM
01-29-2003 02:16 AM
Re: Kernel Tuning
The ini.ora file holds various values that determine the SGA size. Using these values shmmax can be tuned to the correct value. The idea is that this can be run when any database tuning takes place.
Many thanks once again!
Ian