05-18-2005
How to change a kernel parameter
Hello and thank you everyone that has helped guide me in the past.
I need to change the max_thread_proc parameter in order for certain Oracle utilities to function correctly. It is currently set at 64.
I am a dba not an sa so please excuse my lack of knowledge on something that is probably pretty basic.
I have read online that this is a dynamic parameter. Looking in SAM, it shows Type as Static. I need to know how to successfully change this. I am confused whether it is something that can be changed without rebooting the server or not. If it is something that I can do now ... or have to wait for an outage window.
I have never changed kernel parameters before as everywhere else has always had sys admins on staff, and this place only has one unix server ... and it is a production system.
Any advice or suggestions on how to do this without crashing everything is greatly appreciated!
Thanks!!
Steven
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all
How to change the system parameter (kernel Parameter)
in sun solaris..i wan't to increase the maximum no of user processs.i found it frm sysdef command that it has a value of 3048
i wan't to increase it as smtime while forking a new proceess it,s giving error max limit of user process... (1 Reply)
Discussion started by: Prafulla
1 Replies
2. UNIX for Dummies Questions & Answers
Hi all
I am using HPUX 11.00 .its a HP9000 L class server with 1gb ram and dual processor 540Mhz.
i want to know abt the two kernel parameter mentioned below
1)maxdsize
2)maxssize
these two parameter has the default values and it has not been changed once.
as some application on this... (1 Reply)
Discussion started by: Prafulla
1 Replies
3. UNIX for Dummies Questions & Answers
Hello All,
can someone clarify finally what are the kernel parameter settings
for ORACLE9i on SOLARIS9 ?
the following first part is copy paste from the sun's web... (2 Replies)
Discussion started by: grep
2 Replies
4. UNIX for Dummies Questions & Answers
Hello everbody:
I have Sol9, and I need to check its kernekl parameters, do you know how to list them or in which file they can be found.
Thanks in Advance (3 Replies)
Discussion started by: aladdin
3 Replies
5. UNIX for Advanced & Expert Users
Can anyone reference me where I can find info
or if someone knows the mapping of Solaris kernel parameters to HP-UX 11i v2 O/S on Integrity server?
Your response would be greatly appreciated.
Thanks.
-Lou :) (1 Reply)
Discussion started by: nylou97
1 Replies
6. HP-UX
Hi,
May I pls. know what would be the equivalent kernel parameter in HP-UX for the below Linux kernel parameter.
sysctl kern.ps_showallprocs - This setting in Linux would let users see their own processes in "ps".
Thanks,
Narasimha (1 Reply)
Discussion started by: vnarsim
1 Replies
7. UNIX for Dummies Questions & Answers
Hi All
Need to find kernel parameter values of our UNIX box.
/filesys1/tmp>uname -a
HP-UX hps1_dc B.11.11 U 9000/800 1681349356 unlimited-user license
/filesys1/CDBLprodrun/tmp>
Can anyone help me with the cmd to find kernel parameter values?
Thanks in advance. (1 Reply)
Discussion started by: mhbd
1 Replies
8. HP-UX
Hi.
I wanted to know, that if an issue is coming, where ,on running a load test, the memory of the APP server(unix) increases, but does not come down once the test is over, in that case, does tuning the nk thread paramter help in teleasing of the memory..???
plz answer soon (2 Replies)
Discussion started by: TC123
2 Replies
9. Solaris
Hi,
How can I change the Kernel parameter MAXDSIZE??:confused::confused:
Thanks in Advance ... (1 Reply)
Discussion started by: smartgupta
1 Replies
10. Solaris
Hi gurus
Could anybody tell me that what are the kernal parameter of network interface in solaris
Regards (3 Replies)
Discussion started by: girish.batra
3 Replies
settune(2) System Calls Manual settune(2)
NAME
settune() - set the value of a kernel tunable parameter
SYNOPSIS
DESCRIPTION
This function sets the value of the kernel tunable parameter named tunable to the supplied value. This new value takes effect immediately,
except in the cases noted below.
Some parameters cannot be changed without rebooting the kernel. These parameters cannot be changed using
Some parameters represent limits on resources that can be consumed by individual processes. In general, changes to these parameters do not
affect processes that are running at the time the change is made; they affect only new programs started (with or an equivalent) after that
time. Some specific parameters may be exceptions to this general rule; see the man pages for those parameters for details.
Valid values for the flags parameter and their connotations are:
The value of the tunable parameter is set by the kernel. The
value parameter to is ignored.
Sets the tunable parameter to the
value and turns off any automatic tuning done by the kernel.
The call can give information about whether or not changes to a parameter are allowed or will require a reboot. Some individual parameters
may have specific notes regarding their behavior when changed; consult the parameter man pages for details on each specific parameter.
Security Restrictions
The actions associated with this system call require the privilege. Processes owned by the superuser have this privilege. Processes owned
by other users may have this privilege, depending on system configuration. See privileges(5) for more information about privileged access
on systems that support fine-grained privileges.
RETURN VALUE
This function returns one of the following values:
The value of the specified parameter has been changed.
The function did not complete successfully. The value of the specified
parameter has not been changed.
ERRORS
If this function returns to indicate an error, the global variable will be set to one of the following values to indicate the error that
occurred:
The specified tunable parameter does not exist.
tunable specifies an address that is inaccessible.
The caller does not have the
privilege.
The specified value is not within the acceptable range for the specified
parameter.
The value of the parameter could not be changed immediately.
The specified parameter cannot be changed without rebooting the kernel.
The Kernel Registry Service was unavailable or encountered an error.
Insufficient memory to accommodate the new parameter value.
WARNINGS
It is possible to seriously degrade system performance, or even render a system unbootable, with incorrect tunable settings. Use care when
setting tunable values. Always have a known working kernel configuration saved as a backup; if the system fails to boot after a tunable
change, boot from that backup kernel configuration. Keep good records of all tunable changes so that they can be reversed if they degrade
system performance. Tunable changes made with are automatically logged to
If the tunable being changed through is used in expressions that set the values of other tunables, those expressions will not be re-evalu-
ated and those tunable values will not be updated. Note that this behavior may change in future releases of HP-UX. If expression evalua-
tion is desired, use to set tunable values.
Changes to parameter values made with may not remain effective across reboots. Note that this behavior may change in future releases of
HP-UX. If persistence across reboots is desired, use to set tunable values.
AUTHOR
was developed by Hewlett-Packard Company.
SEE ALSO
kctune(1M), mk_kernel(1M), gettune(2), tuneinfo2(2), privileges(5), and the individual tunable parameter man pages in section 5.
settune(2)