Operating System - HP-UX
1833464 Members
2749 Online
110052 Solutions
New Discussion

Changing max_async_ports value

 
SOLVED
Go to solution

Changing max_async_ports value

Hi,

I would like to change the max_async_ports from command prompt using kmtune and want to reboot the server later. The server is HP-UX 11.11.

The command I am planning to use is

# kmtune -u max_async_ports = 2560

Please let me know this is correct or now.

Thanks
5 REPLIES 5

Re: Changing max_async_ports value

Or can I use

# kmtune -s max_async_ports = 2560

Thanks
Aneesh Mohan
Honored Contributor
Solution

Re: Changing max_async_ports value

Hi,

kmtune -u is to Update the currently running kernel with the new value for a dynamic parameter.

The parameter max_async_ports is not dynamic one ,so you may have to use with -s only.

#kmtune -s max_async_ports=value
# kmtune -q max_async_ports

Regards,
Aneesh

Yogesh M Puranik
Valued Contributor

Re: Changing max_async_ports value

Hi Sajith,


You have to user

#Kmtune -s max_async_ports = 2560


It will give you the Warning message

NOTE: The requested changes could not be applied to the currently
running system, for the following reasons:
- The tunable 'max_async_ports' cannot be changed without a reboot.
* The requested changes have been saved, and will take effect at
next boot.
Tunable Value Expression

So Until you reboot the system, the Changed value will not be effective.



Rgds

Yogesh
SoorajCleris
Honored Contributor

Re: Changing max_async_ports value

Hi Sajith,

The parameter which you are going to change is a static parameter and the new value will take effect in next reboot.

As it is a static paramater, you may use the command

#kmtune -s max_async_ports=2560


* Do not forget to take the back up of kernel.

* It is always better to take Ignite backup :)


Regards,
Sooraj U
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie

Re: Changing max_async_ports value

Thanks