Changing Dynamic Tunable parameters in the kernel


 
Thread Tools Search this Thread
Operating Systems HP-UX Changing Dynamic Tunable parameters in the kernel
# 1  
Old 01-05-2012
Changing Dynamic Tunable parameters in the kernel

To fix an "issue" we're having I need to update SHMMAX from 1GB to 2Gb, it's a dynamic parameter so am just wondering how flexible it really is.

As Oracle is running on the server do I need to shut that down to change the parameter or will it just take the change on the fly?

Also how would I do this from the command line as opposed to the through smh?
# 2  
Old 01-09-2012
Quote:
will it just take the change on the fly?
Quote:
Also how would I do this from the command line as opposed to the through smh?
Never used smh...

either using command line, either using sam...
# 3  
Old 01-09-2012
And being "Dyanmic" I take it that means that it won't need a recompile or anything it'll just take the new setting on the fly?
# 4  
Old 01-09-2012
Sorry... After the first Quotes, you should have read:
Yes...
So no reboot, instantly after change, will it take account...
What OS version?
# 5  
Old 01-09-2012
Deadly cheers dude!

It's 11.23 so I'll do it through SAM Smilie
# 6  
Old 01-09-2012
You may need to adjust "shmmni" and/or "shmseg" . See "glance" option "t" for the current utilisation of both "shmmni" and "shmmax".


In HP-UX 11.11 there was a strange restriction whereby it would only ever allocate 1.75 Gb of shared memory regardless of the kernel maximum.
# 7  
Old 01-09-2012
SMH from command line is equivelent of SAM on v2.
SAM doesn't exist anymore on v3 machines, altho SAM will call SMH actualy Smilie

Regarding the kernel parameters, i would reccomend restarting the database after change, altho it should work without.

You can also use kcusage command in this manner which will print the usage in % of maximum in the past 24 hours.
Check man kcusage for more options.
Code:
kcusage -d shmmax

Hope that helps.
Regards
Peasant.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

What exactly does Kernel parameters do ?

Virtual Machine running on VMWare workstation 9.2 os : RHEL 5.8 RAM : 2.5GB Swap : 2.6gb CPU : 1 virtual CPU Surprizingly I couldn't find much from googling on What exactly does Kernel parameters do ? I was under the impression that kernel parameters just set the limits/maximum for a... (2 Replies)
Discussion started by: John K
2 Replies

2. AIX

5. what is tunable parameters?can i altered it ?

what is tunable parameters?can i altered it ? (2 Replies)
Discussion started by: ramraj731
2 Replies

3. Solaris

Kernel Parameters

Dear All, I have weblogic Portal Installed in the Server solaris 10. How can i verify whether all the kernel parameters are available for this Software and also another question is How to crosscheck a server ( Solaris 10 Sparc ) whether it has all the required kernel parameters. ... (2 Replies)
Discussion started by: jegaraman
2 Replies

4. Solaris

Kernel Parameters

Dear All, I want to check whether all essential kernel parameters are installed in my Solaris 10 System. Is there any way to find it. And also how to tune it. Kindly help. Thanks and Regards Rj (8 Replies)
Discussion started by: jegaraman
8 Replies

5. Solaris

Which file is read by kernel to set its default system kernel parameters values?

Hi gurus Could anybody tell me which file is read by kernel to set its default system kernal parameters values in solaris. Here I am not taking about /etc/system file which is used to load kernal modules or to change any default system kernal parameter value Is it /dev/kmem file or something... (1 Reply)
Discussion started by: girish.batra
1 Replies

6. Shell Programming and Scripting

Dynamic SQL query based on shell script parameters

Hi, I need a script that will run a dynamic Oracle SQL. Dynamic meaning the SQL statement depends on the parameter. For instance, something like this: #!/bin/ksh -x # Set environment . /home/mine/set_vars sqlplus $LOGINID <<! >> /home/mine/log.txt select count(1) from $1 where... (2 Replies)
Discussion started by: laiko
2 Replies

7. Solaris

list tunable parameters and its values (Solaris 8)

Does anyone knows how to list tunable kernel parameters on a Solaris 8 system? A linux sysctl -a equivalent will do the job ... (2 Replies)
Discussion started by: danielsf
2 Replies

8. HP-UX

Kernel parameters.

I've been trying to find out the following parameters of our Unix box: ==>OS version ==> patch level and the following kernel parameters =>maxfiles_lim =>maxvgs =>nproc =>msgmni =>ncsize =>nfile Could someone help me how would I find the above(commands)? Thanks, Bhagat (1 Reply)
Discussion started by: bhagat.singh-j
1 Replies

9. HP-UX

kernel parameters

I want to change some kernel parameters in HP-UX11, to do with Oracle upgrade/install. I know this is done using SAM. I am told SAM will not let you enter values outside the allowable range. Could anyone tell me if they have experienced anything different? In Solaris, I would copy the... (2 Replies)
Discussion started by: malcqv
2 Replies

10. UNIX for Advanced & Expert Users

Tunable kernel parameters

Hi all, I'm at SCO UNIXWARE 7.1.1, my system's memory is larger than dump device, I have found one kernel tunable parameter at SCO website ie SYSDUMP_SELECTIVE which tells me that if set to 1 system will dump only kernel mapped memory, but I'm not sure how to configure this parameter. As well... (2 Replies)
Discussion started by: tayyabq8
2 Replies
Login or Register to Ask a Question