1832227 Members
2619 Online
110041 Solutions
New Discussion

Kernel Question

 
SOLVED
Go to solution
Andre Lemon
Regular Advisor

Kernel Question

I made some changes to a few parameters in the Kernel. And after rebooting the system, I see that the changes did not affect the "Current" column but the values in the "Planned" column do show the new values.

Why? Did something go wrong?

Here are the steps that I took.

cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# vi system
# cp /stand/vmunix /stand/vmunix121906
# mv /stand/system /stand/system.old
# mv /stand/vmunix /stand/vmunix.old
# cp /stand/build/system /stand
# cp /stand/build/vmunix_test /stand/vmunix
# ll /stand/vmunix
-rwxr-xr-x 1 root sys 19154032 Dec 19 14:05 /stand/vmunix
#
# cd /
# shutdown -r 0

Here is what I changed:

maxfiles 60
maxfiles_lim 1024
maxusers 100
maxvgs 16
msgseg 2048
msgssz 128
nflocks 4096
npty 200
nstrtel 200
swchunk 4096
vps_ceiling 64


Here is the listing from kmtune after.

maxusers 32 - 100

maxvgs 10 - 16

msgssz 8 - 128
3 REPLIES 3
Raj D.
Honored Contributor
Solution

Re: Kernel Question

Andre ,

You didnot rebuild the kernel , you have to use # ./mk_kernel to rebuild the kernel and it will be effective in next reboot.

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Raj D.
Honored Contributor

Re: Kernel Question

Andre,

Here how it should be,

To change the values of these,

maxfiles 60
maxfiles_lim 1024
maxusers 100
maxvgs 16
msgseg 2048
msgssz 128
nflocks 4096
npty 200
nstrtel 200
swchunk 4096
vps_ceiling 64


1.# kmtune -s maxfiles-60
# kmtune -s masfiles_lim=1024
....

2. # kmtune -q maxfiles
( To check current value and planned value.)

3. # ./mk_kernel

4. # ./kmupdate

5. # shutdown -r -y 0

6. After reboot verify the kernel paramters:
# kmtune -q maxfiles.

Hope this will help,

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Andre Lemon
Regular Advisor

Re: Kernel Question

#&$^!@! I skipped a step..... that sucks...

I have corrected the problem. Thanks



Andre'