1752646 Members
5926 Online
108788 Solutions
New Discussion юеВ

maxswapchunks

 
kholikt
Super Advisor

maxswapchunks

Hi,

One of my server has popup the following message. What is this mean?

vmunix: Unable to add all file system swap from: /tmp/paging. Increase the tunable parameter maxswapchunks by 1 and re-configure your system.

Actually I have seen this message popup two days ago but I just ignore it. Currently my maxswapchunks kernel parameter is 384 and my swap filesytem is 768MB.
abc
3 REPLIES 3
linuxfan
Honored Contributor

Re: maxswapchunks

Hi,

The maximum configurable swap is dependent on a kernel parameter called maxswapchunks

The maximum swap space in bytes is:
maxswapchunks ? swchunk ? DEV_BSIZE

(Normally swchunk=2048 and DEV_BSIZE is 1024 bytes)

In your case
maximum swap space that can be configured would be 768MB

And looks like you are trying to add more filesystem swap and since you have already configured the maximum swap you are getting the error.

To add more swap you will need to increase the kernel parameter maxswapchunk.

-HTH
Ramesh
They think they know but don't. At least I know I don't know - Socrates
Michael Tully
Honored Contributor

Re: maxswapchunks

Hi,

What this message actually means is that your
system is attempting to use swap space that
has been created, but the limit in your kernel
prevents it from being actually used.

The message indicates that you have filesystem
swap. It would be far better to use pseudo swap
and not swap that resides on an actual mount point.

To increase your maxswapchunks kernel parameter, you can use 'sam'. I suggest you increase this to a minimum of 1024. You will need to reboot your system in order to do this.

sam --> kernel configuration --> configurable
parameters -->

HTH
-Michael
Anyone for a Mutiny ?
Varghese Mathew
Trusted Contributor

Re: maxswapchunks

Hi ,

When you try to add more swap space which is out of the reach of the kernel parameter "maxswapchunks" then SAM automatically gives you the message for increasing the parameter value. The maximum value for maxswapchunks inHPUX 11.0 is 16384.

Once you have rebiult the kernel after changing this paramter then only you can enable the secondary swap you are trying to create.

Hope this helps..
Cheers !!!
Mathew
Cheers !!!