Operating System - HP-UX
1831477 Members
3497 Online
110025 Solutions
New Discussion

Kernel Parameters change not effective

 
Abhijit P.
Valued Contributor

Kernel Parameters change not effective

HI All,

My DBA Wanted me change the following KErnel Parametres

shmmax / shmmni /nproc/maxuprc

and changed it through SAM and rebooted the server and found those parameteres got changed this was the incidence of yesterday night 1 o'clock and today morning When I see those parameters. those again has the same old values of it.

Please help me to solve this issue

Thanks in Advance

Abhi
2 REPLIES 2
Muthukumar_5
Honored Contributor

Re: Kernel Parameters change not effective

HP-UX 11.11 Status:

# kmtune -q nproc -l
Parameter: nproc
Current: 276
Planned: (20+8*MAXUSERS)
Default: (20+8*MAXUSERS)
Minimum: -
Module: -
Version: -
Dynamic: No
#
#
# kmtune -q shmmax -l
Parameter: shmmax
Current: 0x4000000
Planned: 0X4000000
Default: 0X4000000
Minimum: -
Module: -
Version: -
Dynamic: Yes
#
# kmtune -q shmmni -l
Parameter: shmmni
Current: 200
Planned: 200
Default: 200
Minimum: -
Module: -
Version: -
Dynamic: No
#
# kmtune -q maxuprc -l
Parameter: maxuprc
Current: 75
Planned: 75
Default: 75
Minimum: -
Module: -
Version: -
Dynamic: Yes
#

You can only tune maxuprc and shmmax with SAM or kmtune -u -s =value

You have rebuild kernel for nproc and shmmni parameters.

hth.
Easy to suggest when don't know about the problem!
morganelan
Trusted Contributor

Re: Kernel Parameters change not effective

Hi,

#kmtune -s nproc="20+(8*maxusers)
#kmtune -s shmmni=....
#kmtune -s shmmax=....
#kmtune -s maxuprc=....
#cp system build
(build is a directory under /stand)
#mk_kernel -o /stand/vmunix
#kmupdate
#cd /
#shutdown -ry now
Kamal Mirdad