Operating System - HP-UX
1834280 Members
2143 Online
110066 Solutions
New Discussion

modify value parameter kernel HPUX11.23

 
SOLVED
Go to solution
Jairo Campana
Trusted Contributor

modify value parameter kernel HPUX11.23

Hi, I want modify parameter kernel in HPUX 11.23 for intanium using formula , obtaing the following error:
The Expression is not valid
using kcweb

the value for max_thread_proc required is , as I modify the value

Tunable max_thread_proc (1024+nSNOP*6)

Description Maximum number of threads in each process
Dynamic yes
Subsystem pm
Default Value 256
Current Value 1200
Planned Value 1200
Last Boot Value 1200
Constraints max_thread_proc >= 64
Constraints max_thread_proc <= nkthread
Auto Tuning Not Supported

Enter Value/Expression OR q(quit) = (1024+nSNOP*6)

The Expression is not valid

Enter Value/Expression OR q(quit) = q
legionx
7 REPLIES 7
Luk Vandenbussche
Honored Contributor
Solution

Re: modify value parameter kernel HPUX11.23

Jairo Campana
Trusted Contributor

Re: modify value parameter kernel HPUX11.23

Thanks Luk ;-)
legionx
Greg Vaidman
Respected Contributor

Re: modify value parameter kernel HPUX11.23

nSNOP is not a kernel parameter - it's a value that you specify based on your planned OVO usage. that's why the formula is invalid - because it references a parameter that does not exist. see the linked discussion from the user above.
Jairo Campana
Trusted Contributor

Re: modify value parameter kernel HPUX11.23

and this values:

maxdsiz 0x40000000 0xFFFFFFFF
KP maxdsiz_64bit 0x80000000
legionx
Jairo Campana
Trusted Contributor

Re: modify value parameter kernel HPUX11.23

and this values:

maxdsiz 0x40000000 0xFFFFFFFF
maxdsiz_64bit 0x80000000
legionx
Jairo Campana
Trusted Contributor

Re: modify value parameter kernel HPUX11.23

how to calculate this value?

shmmax (RAM>isRAM?RAM:isRAM)=

for isRAM=get_ram
# echo vx_physmem/d | adb /stand/vmunix /dev/kmem | grep -v vx_physmem | awk '{ print $1 }'
4066

and get_swap


# swapinfo | grep -e dev -e localfs | awk '{ print $2 }'
4194304
legionx
Jairo Campana
Trusted Contributor

Re: modify value parameter kernel HPUX11.23

solved my problem
legionx