<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Swap Filesystem Adding Need Reboot? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-filesystem-adding-need-reboot/m-p/2757105#M944944</link>
    <description>Steven,&lt;BR /&gt;You only need to reboot when you remove swap, from the looks of your swapinfo command you should be ok.&lt;BR /&gt;&lt;BR /&gt;GL,&lt;BR /&gt;C</description>
    <pubDate>Wed, 03 Jul 2002 12:21:46 GMT</pubDate>
    <dc:creator>Craig Rants</dc:creator>
    <dc:date>2002-07-03T12:21:46Z</dc:date>
    <item>
      <title>Swap Filesystem Adding Need Reboot?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-filesystem-adding-need-reboot/m-p/2757102#M944941</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;We have 2G memory and 2G device swap space.  Due to shortage of swap space at peak time, we add one filesystem as swap.   Though we make it as priority 1 as device swap, I do not see it ever been used.&lt;BR /&gt;&lt;BR /&gt;My question is:  are device swaps always used first, or do we have to reboot it after adding a filesystem swap?  (we have not reboot it).&lt;BR /&gt;&lt;BR /&gt;The followings are the file status:&lt;BR /&gt;&lt;BR /&gt;-------------------&lt;BR /&gt;#glance&lt;BR /&gt;&lt;BR /&gt;Swap Device                     Type        Avail       Used     Priority&lt;BR /&gt;--------------------------------------------------------------------------------&lt;BR /&gt;/dev/vg00/lvol2                device       1.0gb       19mb        1&lt;BR /&gt;/dev/vg01/lvol1                device      1000mb       19mb        1&lt;BR /&gt;/disk5/paging                   filesys      2.0gb        0mb        1&lt;BR /&gt;pseudo-swap                  memory       1.5gb      369mb       na&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;*********************************************************************&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#swapinfo -at&lt;BR /&gt;&lt;BR /&gt;             Kb      Kb      Kb   PCT  START/      Kb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev     1048576   19404 1029172    2%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;dev     1024000   19944 1004056    2%       0       -    1  /dev/vg01/lvol1&lt;BR /&gt;localfs 2048000       0 2048000    0% 2048000       0    1  /disk5/paging&lt;BR /&gt;&lt;BR /&gt;reserve       - 1517120 -1517120&lt;BR /&gt;memory  1607044  367712 1239332   23%&lt;BR /&gt;total   5727620 1924180 3803440   34%       -       0    -&lt;BR /&gt;&lt;BR /&gt;--------------------&lt;BR /&gt;&lt;BR /&gt;Thanks a lot.&lt;BR /&gt;&lt;BR /&gt;Steven</description>
      <pubDate>Wed, 03 Jul 2002 12:13:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-filesystem-adding-need-reboot/m-p/2757102#M944941</guid>
      <dc:creator>Steven Chen_1</dc:creator>
      <dc:date>2002-07-03T12:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Swap Filesystem Adding Need Reboot?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-filesystem-adding-need-reboot/m-p/2757103#M944942</link>
      <description>Hi Steven:&lt;BR /&gt;&lt;BR /&gt;No, no reboot is required.  From the man pages for 'swapon (1M)' you can note that "under most&lt;BR /&gt;circumstances, space is taken from device paging areas before file system paging areas, regardless of priority."&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 03 Jul 2002 12:21:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-filesystem-adding-need-reboot/m-p/2757103#M944942</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-07-03T12:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Swap Filesystem Adding Need Reboot?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-filesystem-adding-need-reboot/m-p/2757104#M944943</link>
      <description>Hi Steven,&lt;BR /&gt;&lt;BR /&gt;you need also a Kernel parameter get changed to get your swap to work:&lt;BR /&gt;&lt;BR /&gt;max_swap_chunks&lt;BR /&gt;&lt;BR /&gt;For your whole swapspace this parameter is set to swapspace in MB / 2. So if you have 1024 MB swapspace the parameter must have the value 512. You have to increase this parameter, simply use SAM for it. Then you need a reboot and it works. ( new kernel is created )&lt;BR /&gt;&lt;BR /&gt;*never* give a file system swap area the same priority then primary/device swap, because it is very slow!!!&lt;BR /&gt;&lt;BR /&gt;Allways stay on the bright side of life!&lt;BR /&gt;&lt;BR /&gt;Peter&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jul 2002 12:21:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-filesystem-adding-need-reboot/m-p/2757104#M944943</guid>
      <dc:creator>Peter Kloetgen</dc:creator>
      <dc:date>2002-07-03T12:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Swap Filesystem Adding Need Reboot?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-filesystem-adding-need-reboot/m-p/2757105#M944944</link>
      <description>Steven,&lt;BR /&gt;You only need to reboot when you remove swap, from the looks of your swapinfo command you should be ok.&lt;BR /&gt;&lt;BR /&gt;GL,&lt;BR /&gt;C</description>
      <pubDate>Wed, 03 Jul 2002 12:21:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-filesystem-adding-need-reboot/m-p/2757105#M944944</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2002-07-03T12:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Swap Filesystem Adding Need Reboot?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-filesystem-adding-need-reboot/m-p/2757106#M944945</link>
      <description>Steven&lt;BR /&gt;&lt;BR /&gt;The highest priority for swap space is 0. If there are more than one swap area in the system, the swap space having the highest priority is used.&lt;BR /&gt;&lt;BR /&gt;Device swap is more efficent than filesystem swap&lt;BR /&gt;&lt;BR /&gt;If 2 or more swap areas have the same priority , these are used in round robin fashion.&lt;BR /&gt;&lt;BR /&gt;If a filesystem swap and a device swap area have the same priority , preference goes to the device swap area.&lt;BR /&gt;&lt;BR /&gt;You do not have to reboot your system for swap space to become immediately available the swapon command takes care of this&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Steve&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jul 2002 12:24:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-filesystem-adding-need-reboot/m-p/2757106#M944945</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-07-03T12:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Swap Filesystem Adding Need Reboot?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-filesystem-adding-need-reboot/m-p/2757107#M944946</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can issue a swapon command to enable the swap.&lt;BR /&gt;&lt;BR /&gt;You dont have to reboot the system for enabling the swap.&lt;BR /&gt;&lt;BR /&gt;If you want to disable the swap then only you will have to reboot the system so that the changes will take effect.&lt;BR /&gt;&lt;BR /&gt;Piyush</description>
      <pubDate>Wed, 03 Jul 2002 12:25:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-filesystem-adding-need-reboot/m-p/2757107#M944946</guid>
      <dc:creator>PIYUSH D. PATEL</dc:creator>
      <dc:date>2002-07-03T12:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Swap Filesystem Adding Need Reboot?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-filesystem-adding-need-reboot/m-p/2757108#M944947</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;0 priority is higher then priority - 1. But always device swap is used before filesystem swap.&lt;BR /&gt;&lt;BR /&gt;Piyush</description>
      <pubDate>Wed, 03 Jul 2002 12:30:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-filesystem-adding-need-reboot/m-p/2757108#M944947</guid>
      <dc:creator>PIYUSH D. PATEL</dc:creator>
      <dc:date>2002-07-03T12:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Swap Filesystem Adding Need Reboot?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-filesystem-adding-need-reboot/m-p/2757109#M944948</link>
      <description>Are you really running out of device swap at peak times? Use swapinfo -atm to show the results as above. BOTH devices should be in the 80-90% range before you see any filesystem swapping taking place. BTW: when you add the filesystem swap using swapon, it will notify you if you do not have enough maxswapchunks available. It will add what it can but will also leave a recommendation.&lt;BR /&gt;&lt;BR /&gt;Filesystem swap disappears after a reboot unless you add it to /etc/fstab.&lt;BR /&gt;&lt;BR /&gt;So, if yuor swapinfo does not show most of both device swap areas used and you are having memory problems, it is very likely due to 32bit program limits, especially with massive programs like Oracle. Shared memory conflicts is the likely culprit, along with maxdsiz and SHARED/EXEC MAGIC executable status.</description>
      <pubDate>Wed, 03 Jul 2002 12:39:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-filesystem-adding-need-reboot/m-p/2757109#M944948</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-07-03T12:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Swap Filesystem Adding Need Reboot?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-filesystem-adding-need-reboot/m-p/2757110#M944949</link>
      <description>Bill and All,&lt;BR /&gt;&lt;BR /&gt;Thank you and all the other's decent  and quick helps!&lt;BR /&gt;&lt;BR /&gt;I would like to consult with all gurus about the maxdsiz:&lt;BR /&gt;&lt;BR /&gt;I upgraded memory from 1G to 2G quite a while ago and the maxdsize has been in the parameter of following with no change since I use 1G memoery:&lt;BR /&gt;(I am using hpux 11i 64 bit)&lt;BR /&gt;&lt;BR /&gt;------------&lt;BR /&gt;maxdsiz                1073741824   1073741824   Static    N/A          Max Data Segment Size For 32-bit Processes (Bytes)                                         &lt;BR /&gt;maxdsiz_64bit          1073741824   1073741824   Static    N/A          Max Data Segment Size For 64-bit Processes&lt;BR /&gt;&lt;BR /&gt;------------&lt;BR /&gt;&lt;BR /&gt;Would that have to match 2G memory parameter?  &lt;BR /&gt;&lt;BR /&gt;On the second thought, I would like to post my kernel file for comments.&lt;BR /&gt;&lt;BR /&gt;Please help and all assistance will be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Steven&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jul 2002 13:37:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-filesystem-adding-need-reboot/m-p/2757110#M944949</guid>
      <dc:creator>Steven Chen_1</dc:creator>
      <dc:date>2002-07-03T13:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Swap Filesystem Adding Need Reboot?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-filesystem-adding-need-reboot/m-p/2757111#M944950</link>
      <description>maxdsiz (and the others: maxtsiz and maxssiz and their 64-bit versions) are strictly fences. They prevent run away programs from consuming massive amounts of memory. If you do not write and compile your own programs, then the safety feature is of no interest. You make maxdsiz large enough to allow a program to allocate as much memory as it desires. You can make maxdsiz MUCH larger than your actual RAM if you wish.&lt;BR /&gt;&lt;BR /&gt;First, the program(s) you are running have to be told to use more RAM.  Extra RAM is not automatically used by programs.&lt;BR /&gt;&lt;BR /&gt;Now things are quite complicated with 32bit programs. The standard program can't address more than 940 megs, regardless of whether you have 1Gb or 10Gb of RAM. This is a 32bit limitation. By reading the docs about SHARED MAGIC, EXEC MAGIC, etc (in /usr/newconfig/doc), you'll see the difficulties.&lt;BR /&gt;&lt;BR /&gt;So you can increase maxdsiz but it won't have any effect until you change your programs.</description>
      <pubDate>Mon, 08 Jul 2002 04:32:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-filesystem-adding-need-reboot/m-p/2757111#M944950</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-07-08T04:32:16Z</dc:date>
    </item>
  </channel>
</rss>

