<?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: SWAPPER issue in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/swapper-issue/m-p/4287343#M91390</link>
    <description>John,&lt;BR /&gt;&lt;BR /&gt;  This symptom can result from an "Idle Process Killer" (IPK) type process under some conditions. If you fill your balance set slots, any excess processes must (by definition) be swapped out. If the way your IPK samples processes involves an inswap it will force another process to be swapped out. The IPK will therefore "chase" the outswapped processes through the process list. On each IPK system scan, every process will be swapped in and probably back out. If the time for swapper to do all those swaps exceeds your IPK scan interval, you'll see SWAPPER constantly dominating the CPU.&lt;BR /&gt;&lt;BR /&gt;  Three ways out&lt;BR /&gt;1) increase balance set&lt;BR /&gt;2) reduce the number of processes&lt;BR /&gt;3) (my preference) get rid of the IPK or get one that's a bit more intelligent.&lt;BR /&gt;&lt;BR /&gt;(by "more intelligent" I mean one that won't inswap a process to sample, BUT realise that means the IPK won't touch an outswapped process, but guess what? idle processes are more likely to be outswapped, so it kind of defeats the purpose!)</description>
    <pubDate>Thu, 16 Oct 2008 21:18:48 GMT</pubDate>
    <dc:creator>John Gillings</dc:creator>
    <dc:date>2008-10-16T21:18:48Z</dc:date>
    <item>
      <title>SWAPPER issue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapper-issue/m-p/4287332#M91379</link>
      <description>We have just had it reported that users on one of our older VMS servers running 7.1 were experiencing a major downturn in performance. The is not happening at the present moment, but the administrator for that box sent me the output from MON PROC/TOPC at the time when the isue occured.&lt;BR /&gt;&lt;BR /&gt;It showed SWAPPER at 70% followed by a hanful of user related processes at much lower percentages.&lt;BR /&gt;&lt;BR /&gt;Can someone please advise as to where we can start looking to see what my have caused this problem, and what steps we should take to try and eliminate it... thanks&lt;BR /&gt;&lt;BR /&gt;P.S. Accounting is not enabled on this particular server, so I don't know what we can look at.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Oct 2008 11:33:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapper-issue/m-p/4287332#M91379</guid>
      <dc:creator>John A.  Beard</dc:creator>
      <dc:date>2008-10-15T11:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: SWAPPER issue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapper-issue/m-p/4287333#M91380</link>
      <description>You should first put a tool to collect data, about the Cpu, memory, disk I/O usage, locks and so.&lt;BR /&gt;&lt;BR /&gt;You can always use monitor (see sys$examples:submon.com), and you have ECP, T4, TDC, or even better tools as HP Perfdat.&lt;BR /&gt;&lt;BR /&gt;Check the basics&lt;BR /&gt;- pool expansion failures&lt;BR /&gt;- pagefile utilization (not more than 50% is best)&lt;BR /&gt;- process states (RWxxx/MUTEX comes to mind)&lt;BR /&gt;- Cpu saturated (how many process in COM state, and what is your model of Alpha/VAX ?)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Oct 2008 12:08:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapper-issue/m-p/4287333#M91380</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2008-10-15T12:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: SWAPPER issue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapper-issue/m-p/4287334#M91381</link>
      <description>Some links&lt;BR /&gt;&lt;BR /&gt;TDC&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/openvms/products/tdc/" target="_blank"&gt;http://h71000.www7.hp.com/openvms/products/tdc/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;ECP&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/openvms/products/ecp/index.html" target="_blank"&gt;http://h71000.www7.hp.com/openvms/products/ecp/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;T4&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/openvms/products/t4/index.html" target="_blank"&gt;http://h71000.www7.hp.com/openvms/products/t4/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Perfdat&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/openvms/journal/v8/index.html#perfdat" target="_blank"&gt;http://h71000.www7.hp.com/openvms/journal/v8/index.html#perfdat&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.perfdat.com/" target="_blank"&gt;http://www.perfdat.com/&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.perfdat.com/DOCUMENTATION/" target="_blank"&gt;http://www.perfdat.com/DOCUMENTATION/&lt;/A&gt;</description>
      <pubDate>Wed, 15 Oct 2008 12:11:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapper-issue/m-p/4287334#M91381</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2008-10-15T12:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: SWAPPER issue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapper-issue/m-p/4287335#M91382</link>
      <description>This indicates the system has not enough memory or the page-/swap-file is too small for the load at the time in question.&lt;BR /&gt;&lt;BR /&gt;From Neil Rick's page:&lt;BR /&gt;============================================&lt;BR /&gt;OpenVMS Swapper&lt;BR /&gt;&lt;BR /&gt;    * The OpenVMS swapper serves two functions, trimming and swapping.&lt;BR /&gt;    * When the free list drops below FREELIM, the swapper will starting trimming processes that have borrowed pages back; possibly all the way to WSQUO. Idle processes may be trimmed back to WSDEF. Processes idle for longer than DORMANTWAIT might be swapped out.&lt;BR /&gt;    * When the number of active processes exceeds BALSETCNT, the swapped will need to move processes in-and-out of memory in order to meet the needs of the round-robin-scheduler. When virtual memory systems swap in this fashion it's usually not pretty because they get back into the system with their working sets trimmed to WSDEF which is sometimes too small. This is one reason why some system managers will avoid trimming to WSDEF and just go straight to swapping.&lt;BR /&gt;===========================================&lt;BR /&gt;( &lt;A href="http://www3.sympatico.ca/n.rieck/docs/openvms_notes_system_tuning.html" target="_blank"&gt;http://www3.sympatico.ca/n.rieck/docs/openvms_notes_system_tuning.html&lt;/A&gt; )&lt;BR /&gt;&lt;BR /&gt;As a first reaction I would run AUTOGEN to see what it would change ( system parameters, page-/swap-file size).&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Oct 2008 12:19:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapper-issue/m-p/4287335#M91382</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2008-10-15T12:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: SWAPPER issue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapper-issue/m-p/4287336#M91383</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;This can also be a consequence of a memory leak in one or more user processes that results in a large amount of paging.&lt;BR /&gt;&lt;BR /&gt;In short, a good review of the system may be in order. The problem could be a surge in usage, or it could be a heavier than normal demand for virtual memory.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Wed, 15 Oct 2008 13:04:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapper-issue/m-p/4287336#M91383</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2008-10-15T13:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: SWAPPER issue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapper-issue/m-p/4287337#M91384</link>
      <description>Thanks for everyone's input.&lt;BR /&gt;&lt;BR /&gt;I ran autogen and it recommended increases in both the pagefile and swapfile. Due to lack of contigous free space (no defrafgger and we are not in a position at present to do an image backup/restore), the primary page file could not be increased to the limit specified in the report. The swap file was ok with its recommended increase.&lt;BR /&gt;&lt;BR /&gt;There is only one logical disk on this node, so I did not see the point in creating secondary page and swap files on the same volume.&lt;BR /&gt;&lt;BR /&gt;As for the server, it's oooollllld.&lt;BR /&gt;&lt;BR /&gt;AlphaServer 1000 4/233&lt;BR /&gt;Multiprocessing is DISABLED. Uniprocessing synchronization image loaded.&lt;BR /&gt;Minimum multiprocessing revision levels: CPU = 1&lt;BR /&gt;&lt;BR /&gt;PRIMARY CPU = 00&lt;BR /&gt;Active CPUs:      00&lt;BR /&gt;Configured CPUs:  00&lt;BR /&gt;&lt;BR /&gt;Existing page and swap files (before reboot)&lt;BR /&gt;&lt;BR /&gt;System Memory Resources on 15-OCT-2008 &lt;BR /&gt;&lt;BR /&gt;Paging File Usage (blocks):                     Free  Reservable       Total&lt;BR /&gt;DISK$DISK00:[SYS0.SYSEXE]SWAPFILE.SYS                                 &lt;BR /&gt;22016       22016       22016&lt;BR /&gt;&lt;BR /&gt;DISK$DISK00:[SYS0.SYSEXE]PAGEFILE.SYS                                 156032      118016      200576&lt;BR /&gt;&lt;BR /&gt;DISK$DISK00:[000000]&lt;BR /&gt;PAGEFILE3.SYS;1                                           &lt;BR /&gt;170560      118128      200064&lt;BR /&gt;  DISK$DISK00:[SYS0.SYSEXE]&lt;BR /&gt;PAGEFILE1.SYS;1                              163280      119616      200576&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;CS/FCAXP1&amp;gt; sh mem/pool/fu&lt;BR /&gt;              System Memory Resources on 15-OCT-2008 18:26:42.02&lt;BR /&gt;&lt;BR /&gt;Nonpaged Dynamic Memory      (Lists + Variable)&lt;BR /&gt;    Current Size (bytes)       4153344    Current Size (pagelets)       8112&lt;BR /&gt;    Initial Size               4153344    Initial Size (pagelets)       8112&lt;BR /&gt;    Maximum Size              17465344    Maximum Size (pagelets)      34112&lt;BR /&gt;    Free Space (bytes)         2566784    Space in Use (bytes)       1586560&lt;BR /&gt;    Largest Variable Block     1860352    Smallest Variable Block         64&lt;BR /&gt;    Number of Free Blocks         1104    Free Blocks LEQU 64 Bytes      116&lt;BR /&gt;    Free Blocks on Lookasides      405    Lookaside Space (bytes)     130240&lt;BR /&gt;&lt;BR /&gt;(No Bus Addressable Memory allocated)&lt;BR /&gt;&lt;BR /&gt;Paged Dynamic Memory         &lt;BR /&gt;    Current Size (PAGEDYN)     1843200    Current Size (pagelets)       3600&lt;BR /&gt;    Free Space (bytes)          920272    Space in Use (bytes)        922928&lt;BR /&gt;    Largest Variable Block      825696    Smallest Variable Block         16&lt;BR /&gt;    Number of Free Blocks          151    Free Blocks LEQU 64 Bytes       91&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Physical Memory Usage (pages):     Total        Free      In Use    Modified&lt;BR /&gt;  Main Memory (192.00Mb)           24576       10697       13340         539&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Oct 2008 15:30:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapper-issue/m-p/4287337#M91384</guid>
      <dc:creator>John A.  Beard</dc:creator>
      <dc:date>2008-10-15T15:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: SWAPPER issue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapper-issue/m-p/4287338#M91385</link>
      <description>Can you do&lt;BR /&gt;$ mc agen$feedback&lt;BR /&gt;this will silently create a new file sys$system:agen$feedback.dat&lt;BR /&gt;&lt;BR /&gt;and then post the result of the command&lt;BR /&gt;$ sear sys$system:agen$feedback.dat pagef,fail,mscp&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Oct 2008 06:08:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapper-issue/m-p/4287338#M91385</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2008-10-16T06:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: SWAPPER issue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapper-issue/m-p/4287339#M91386</link>
      <description>The swap/page/memory display apparently shows the normal state, and there seems to be a lot of free space. (I would even remove the swapfile and use the pagefiles for swapping).&lt;BR /&gt;&lt;BR /&gt;To catch the abnormal case, You would need to run monitor permanently to a file (or use higher level performance tools).&lt;BR /&gt;&lt;BR /&gt;The abnormal case may have been also some increase in the number of processes (a runaway process creation?), so the swapper had to trim working sets.Did autogen tell something about the maximum number of processes or BALSETCNT ?</description>
      <pubDate>Thu, 16 Oct 2008 08:51:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapper-issue/m-p/4287339#M91386</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2008-10-16T08:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: SWAPPER issue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapper-issue/m-p/4287340#M91387</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;I second Joe's comment about MONITOR. I will enhance it by suggesting that you run MONITOR in such a fashion as to generate a file which can be fed into T4.&lt;BR /&gt;&lt;BR /&gt;If my recollection is correct the T4 kit is set up for a later release, however, the MONITOR background operation is straightforward to extract and run in batch. The results can then be analyzed using the T4 tools. (Been there, done that)&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Thu, 16 Oct 2008 10:57:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapper-issue/m-p/4287340#M91387</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2008-10-16T10:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: SWAPPER issue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapper-issue/m-p/4287341#M91388</link>
      <description>The data you showed seems reasonable and no reason for high CPU-rates for SWAPPER, unless you have your process working set limits quite low; or your SYSGEN parameters related to memory management are not set correctly. That alone could trigger SWAPPER to go into the wild.&lt;BR /&gt;&lt;BR /&gt;A question you always have to ask in matters like these: &lt;BR /&gt;Did it happen before? If not, what has changed in the system? Do not limit this to SYSGEN parameters, but also consider newly installed software: How does it behave? &lt;BR /&gt;&lt;BR /&gt;If the problem can be reproduced, monitor around that moment. T4 is a tremendous (free!) tool for exactly this kind of examination:&lt;BR /&gt;&lt;BR /&gt;* Start a job running Monitor is recording mode, with a not-too-large interval (30 seconds?)&lt;BR /&gt;* Reproduce the problem&lt;BR /&gt;* Stop recording&lt;BR /&gt;* process the monitor output using the T4 toolset&lt;BR /&gt;* Using TlViz, you can now examine all kinds of data, time-based, in graphical format, and relate them: What causes the high SWAP rate?&lt;BR /&gt;&lt;BR /&gt;It may pinpoint a culprit, and if it does, examine it's activity and behaviour.</description>
      <pubDate>Thu, 16 Oct 2008 11:32:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapper-issue/m-p/4287341#M91388</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2008-10-16T11:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: SWAPPER issue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapper-issue/m-p/4287342#M91389</link>
      <description>Additional to Robert's entry:&lt;BR /&gt;T4 is noting more than a few exectablesa dn command procedures. The most important two in your case would be the image that ttransforms regular binary MONITOR output into a comma-separated file, that can be copied to a PC and fed into whatever program you like; the second program is the Windows-based viewer name tlViz.&lt;BR /&gt;&lt;BR /&gt;The translation image could well run on VMS 7.1</description>
      <pubDate>Thu, 16 Oct 2008 11:42:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapper-issue/m-p/4287342#M91389</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2008-10-16T11:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: SWAPPER issue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapper-issue/m-p/4287343#M91390</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;  This symptom can result from an "Idle Process Killer" (IPK) type process under some conditions. If you fill your balance set slots, any excess processes must (by definition) be swapped out. If the way your IPK samples processes involves an inswap it will force another process to be swapped out. The IPK will therefore "chase" the outswapped processes through the process list. On each IPK system scan, every process will be swapped in and probably back out. If the time for swapper to do all those swaps exceeds your IPK scan interval, you'll see SWAPPER constantly dominating the CPU.&lt;BR /&gt;&lt;BR /&gt;  Three ways out&lt;BR /&gt;1) increase balance set&lt;BR /&gt;2) reduce the number of processes&lt;BR /&gt;3) (my preference) get rid of the IPK or get one that's a bit more intelligent.&lt;BR /&gt;&lt;BR /&gt;(by "more intelligent" I mean one that won't inswap a process to sample, BUT realise that means the IPK won't touch an outswapped process, but guess what? idle processes are more likely to be outswapped, so it kind of defeats the purpose!)</description>
      <pubDate>Thu, 16 Oct 2008 21:18:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapper-issue/m-p/4287343#M91390</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2008-10-16T21:18:48Z</dc:date>
    </item>
  </channel>
</rss>

