<?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 Process: swap usage in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/process-swap-usage/m-p/3023525#M131052</link>
    <description>Is it possible to know which process or daemon the swap space? Since, I meet the problem "fork fail: no swap space". There're many process running on the system. Which way could know the swap space allocated to which process?</description>
    <pubDate>Tue, 15 Jul 2003 03:11:21 GMT</pubDate>
    <dc:creator>j773303</dc:creator>
    <dc:date>2003-07-15T03:11:21Z</dc:date>
    <item>
      <title>Process: swap usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-swap-usage/m-p/3023525#M131052</link>
      <description>Is it possible to know which process or daemon the swap space? Since, I meet the problem "fork fail: no swap space". There're many process running on the system. Which way could know the swap space allocated to which process?</description>
      <pubDate>Tue, 15 Jul 2003 03:11:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-swap-usage/m-p/3023525#M131052</guid>
      <dc:creator>j773303</dc:creator>
      <dc:date>2003-07-15T03:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Process: swap usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-swap-usage/m-p/3023526#M131053</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;man vmstat&lt;BR /&gt;man top&lt;BR /&gt;&lt;BR /&gt;Also refer to the links in the following thread for more info,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc5c0506d69a7d711abdc0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc5c0506d69a7d711abdc0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Karthik S S</description>
      <pubDate>Tue, 15 Jul 2003 03:17:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-swap-usage/m-p/3023526#M131053</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2003-07-15T03:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Process: swap usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-swap-usage/m-p/3023527#M131054</link>
      <description>My advice would be to increase swap space or enable pseudo_swap (Kernel parameter swapmem_on) if it is not already enabled.&lt;BR /&gt;&lt;BR /&gt;How much memory and swap is configured on your system??&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con</description>
      <pubDate>Tue, 15 Jul 2003 03:24:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-swap-usage/m-p/3023527#M131054</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2003-07-15T03:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Process: swap usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-swap-usage/m-p/3023528#M131055</link>
      <description>The swap space has 4GB.&lt;BR /&gt;I gutess the application problem. But I'd prove&lt;BR /&gt;it. So, I want to know the swap usage.Thanx.</description>
      <pubDate>Tue, 15 Jul 2003 03:30:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-swap-usage/m-p/3023528#M131055</guid>
      <dc:creator>j773303</dc:creator>
      <dc:date>2003-07-15T03:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Process: swap usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-swap-usage/m-p/3023529#M131056</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;#swapinfo -tam &lt;BR /&gt;This will show you swap usage.&lt;BR /&gt;But your problem is more liklely to be a result of not enough swap configured.&lt;BR /&gt;&lt;BR /&gt;How much memory do you have on the system? At the absolute minimum you need at least as much swap as Physical memory (if you don't have pseudo swap enabled).  Normally it is advisable to configure 1.5-2 x swap as physical memory.&lt;BR /&gt;&lt;BR /&gt;Post output of:&lt;BR /&gt;# kmtune -q swapmem_on&lt;BR /&gt;# swapinfo -tam.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con</description>
      <pubDate>Tue, 15 Jul 2003 03:38:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-swap-usage/m-p/3023529#M131056</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2003-07-15T03:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Process: swap usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-swap-usage/m-p/3023530#M131057</link>
      <description>You should have a look with at processes with huge virtual set size (VSZ):&lt;BR /&gt;&lt;BR /&gt;# UNIX95=1 ps -eo vsz,pid,comm | sort -nr&lt;BR /&gt;&lt;BR /&gt;Please note that sometimes (especially for "lazy swap" allocations) VSZ can be far too high (a good example is Java). On Itanium systems the text segment is also allocated "lazy", causing some maxssiz offset. However, it's a good first shot in most situations.&lt;BR /&gt;&lt;BR /&gt;Best regards...&lt;BR /&gt; Dietmar.</description>
      <pubDate>Tue, 15 Jul 2003 08:45:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-swap-usage/m-p/3023530#M131057</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2003-07-15T08:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Process: swap usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-swap-usage/m-p/3023531#M131058</link>
      <description>I'd bet on "reserve" in swapinfo output being&lt;BR /&gt;to close to "dev" which means no new forks will&lt;BR /&gt;work,as reserve goes to swap kept for new forks.Which brings us to a strange conclusion&lt;BR /&gt;that you don't have enough swap (although 4gb souns nice).&lt;BR /&gt;Otherwise its a leak and you can use either ps &lt;BR /&gt;or Glance.</description>
      <pubDate>Tue, 15 Jul 2003 09:00:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-swap-usage/m-p/3023531#M131058</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-07-15T09:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Process: swap usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-swap-usage/m-p/3023532#M131059</link>
      <description>I agree with the swapmem_on. I had a similar problem, fork failed, but no swap activity, with mountains of swap space.&lt;BR /&gt;The swapmem parameter has the effect of disableing the HPUX feature of reserving swap memory when a process starts. If you have enough memory to prevent swapping, you're pretty safe not reserving it.</description>
      <pubDate>Tue, 15 Jul 2003 12:30:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-swap-usage/m-p/3023532#M131059</guid>
      <dc:creator>doug mielke</dc:creator>
      <dc:date>2003-07-15T12:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Process: swap usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-swap-usage/m-p/3023533#M131060</link>
      <description>The glance will show how many TEXT,DATA,STACK RSS/VSS are used for per process. But how to know the swap usage per process? Any other command or tools can support this?</description>
      <pubDate>Wed, 16 Jul 2003 02:17:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-swap-usage/m-p/3023533#M131060</guid>
      <dc:creator>j773303</dc:creator>
      <dc:date>2003-07-16T02:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Process: swap usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-swap-usage/m-p/3023534#M131061</link>
      <description>Hi&lt;BR /&gt;All processes when they start will reserve swap space.  The amount they reserve is determined by the processes memory size.  They reserve enough swap space so that if necessary the process can be swapped out.&lt;BR /&gt;&lt;BR /&gt;Again I would reiterate that you need to be sure that you have enough swap configured.  4GB of swap is only just enough if you only have 4GB of memory.  If you have more than 4GB of memory and pseudo_swap is not enabled then you definitely need more swap or to enable pseudo_swap.&lt;BR /&gt;&lt;BR /&gt;If you are still having problems with the fork, then let us know how much RAM you have and also the output of swapinfo -tm and kmtune -q swapmem_on.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Jul 2003 02:44:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-swap-usage/m-p/3023534#M131061</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2003-07-16T02:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Process: swap usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-swap-usage/m-p/3023535#M131062</link>
      <description>The Physical memory is 2GB, and SWAP is 4 GB.&lt;BR /&gt;I also want to know how to show the swap space for per process? A perocess will reserved how many swap space. Any tool can show this? Thankx.</description>
      <pubDate>Wed, 16 Jul 2003 02:56:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-swap-usage/m-p/3023535#M131062</guid>
      <dc:creator>j773303</dc:creator>
      <dc:date>2003-07-16T02:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Process: swap usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-swap-usage/m-p/3023536#M131063</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Your swap configuration looks OK.  &lt;BR /&gt;Do you have pseudo swap enabled?&lt;BR /&gt;&lt;BR /&gt;I'm not aware of any command that shows a processes swap reservation. My understanding is that its determined by the processes memory size.  For examle if a process has size of 500MB then it will need to reserve at least this much swap space when it starts.&lt;BR /&gt;&lt;BR /&gt;Are you having problems starting alot of processes or is it a particular process that gives the fork error??  &lt;BR /&gt;&lt;BR /&gt;Have a read of the HP document on swap.&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/search.do?category=c0&amp;amp;mode=id&amp;amp;searchString=KBRC00001262&amp;amp;searchCrit=allwords&amp;amp;docType=Security&amp;amp;docType=Patch&amp;amp;docType=EngineerNotes&amp;amp;docType=BugReports&amp;amp;docType=Hardware&amp;amp;docType=ReferenceMaterials&amp;amp;docType=ThirdParty&amp;amp;search.x=33&amp;amp;search.y=6" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/search.do?category=c0&amp;amp;mode=id&amp;amp;searchString=KBRC00001262&amp;amp;searchCrit=allwords&amp;amp;docType=Security&amp;amp;docType=Patch&amp;amp;docType=EngineerNotes&amp;amp;docType=BugReports&amp;amp;docType=Hardware&amp;amp;docType=ReferenceMaterials&amp;amp;docType=ThirdParty&amp;amp;search.x=33&amp;amp;search.y=6&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you can provide a bit more detail on the error and when it occurs someone may be able to help.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con&lt;BR /&gt;&lt;BR /&gt;  &lt;BR /&gt;</description>
      <pubDate>Wed, 16 Jul 2003 03:24:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-swap-usage/m-p/3023536#M131063</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2003-07-16T03:24:00Z</dc:date>
    </item>
  </channel>
</rss>

