Operating System - HP-UX
1753664 Members
5733 Online
108798 Solutions
New Discussion юеВ

Re: Increase the tunable parameter maxswapchunks

 
SOLVED
Go to solution
Manuales
Super Advisor

Increase the tunable parameter maxswapchunks

Hi, when i started a server, i run dmesg command and i got the following .. what do i have to do? i mean, i do not understand what system means, could you pleas explain me?

thanks in advance ...

Unable to add all swap for device: /dev/vg01/swap3. Increase the tunable parameter maxswapchunks by 1256 and re-configure your system.

Regards.
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Increase the tunable parameter maxswapchunks

Shalom,

It would seem you have extended swap beyond the capacity with the current maxswapchunks setting.

Quick fix is to use sam to set the parameter higher. You will then need to reboot the system to make the change to swap active.

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
Manuales
Super Advisor

Re: Increase the tunable parameter maxswapchunks

this is the value:
Formula Value: 3500
Calculated Value: 3500


what is the relation betbween log says:
"...Increase the tunable parameter maxswapchunks by 1256..." and the value that actually it has (3500) ?

what valor do you suggest?

how do i know if i can change it online without shut down the server?

Please let me know.
Manuales
Super Advisor

Re: Increase the tunable parameter maxswapchunks


help please !!!! :)
Steven E. Protter
Exalted Contributor
Solution

Re: Increase the tunable parameter maxswapchunks

I suggest you increase the current figure 3500 to at least 5000.

I also suggest you not use forumulas to calcuate this value. Use sam to override the forumula and plug in your needed value.

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
James R. Ferguson
Acclaimed Contributor

Re: Increase the tunable parameter maxswapchunks

Hi Manuales:

This is straighforward. Choose a value for 'maxswapchunks' that is at least 1256 larger than your current value.

I prefer an integer number of 256 increments up to a maximum value of 16,384.

You can consult the 11.0 kernel tuning document for an understanding of this parameter. It applies well enough to 10.20 in this case:

http://www.docs.hp.com/en/939/KCParms/KCparams.OverviewAll.html

Regards!

...JRF...