1825715 Members
3011 Online
109686 Solutions
New Discussion

Kernal parameter Change

 
Johnson Punniyalingam
Honored Contributor

Kernal parameter Change

Hi All,

I would like to Change Kernal parameter for maxusers, need your advice how to perform ,likewise I want use SAM please help me to check my below steps are correct Apperciate your advice

# cd /stand
# cp system system.prev
# cp vmunix vmunix.prev

1. Start SAM.
2. Select the 'Kernel Configuration' subsystem.
3. Select the 'Configurable Parameters' subsystem.
4. Select the 'maxusers' kernel parameter.
5. Increase the 'maxusers' value

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
10 REPLIES 10
chandra Sekhar_7
Frequent Advisor

Re: Kernal parameter Change

Hi Johnson,

If OS is 11.X
You can use kcweb & kctune commands
or u can use SAM
Maxuser is dynamic value so no need to reboot server

Regards
Chandra

Johnson Punniyalingam
Honored Contributor

Re: Kernal parameter Change

HPUX 11.11

Can please help to confirm changing the "Maxusers" kernal parameter does not require reboot ..?

Thanks
Johnson
Problems are common to all, but attitude makes the difference
Steven E. Protter
Exalted Contributor

Re: Kernal parameter Change

Shalom,

If you use sam the first three commented steps are not required.

If the value you are changing requires a recompile of the kernel followed by reboot, SAM will tell you to do that.

Since you don't reveal your OS version.

kmtune -| grep maxusers
or
kctune -l | grep maxusers

To see your current configuration and if the parameters if dynamic. If it is dynamic you can do the change without a reboot.

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
Johnson Punniyalingam
Honored Contributor

Re: Kernal parameter Change

# kmtune -q maxusers
Parameter Current Dyn Planned Module Version
===============================================================================
maxusers 200 - 200

# uname -a;model
HP-UX B.11.11 U 9000/800 998572508 unlimited-user license
9000/800/rp7420
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: Kernal parameter Change

My User doen't want to increase the Maxuser they request to increase nfile & nproc what would be the recommeded value..?

Current settings for nproc & nfile

#kmtune -q nfile
Parameter Current Dyn Planned Module Version
=============================================
nfile 3329 - (16*(NPROC+16+MAXUSERS)/10+32+2*(NPTY+NSTRPTY+NSTRTEL))

dwhsvr02:[/]# kmtune -q nproc
Parameter Current Dyn Planned Module Version
=============================================
nproc 1620 - (20+8*MAXUSERS)
Problems are common to all, but attitude makes the difference
sreekanthtm
Trusted Contributor

Re: Kernal parameter Change

Hi,

#kmtune -s maxusers=

eg: #kmtune -s maxusers=50

The above command will set the maxusers value to 200

#kmtune -s maxusers+100

The above command will increase the current value of maxusers by 100

#kmtune -q maxusers (Will show the current value of maxusers)



Rgds
Sreekanth
sreekanthtm
Trusted Contributor

Re: Kernal parameter Change

Srry

eg: #kmtune -s maxusers=50

The above command will set the maxusers value to 50
Suraj K Sankari
Honored Contributor

Re: Kernal parameter Change

Hi,

You can use SAM or kctune or kmtune for changin the values.
kctune is for 11.23 and above
kmtune is for 11.22 and below OS ver.

just give
kctune =


Suraj
SKR_1
Trusted Contributor

Re: Kernal parameter Change

If you will use same, you dont need to rebuild the kernal by yourself by command line. SAM will perform this for you.

Thanks

SKR
Johnson Punniyalingam
Honored Contributor

Re: Kernal parameter Change

Thanks for all your support.
Problems are common to all, but attitude makes the difference