<?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: Not allowing a process to swap from physical mem to swap in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/not-allowing-a-process-to-swap-from-physical-mem-to-swap/m-p/3148347#M899772</link>
    <description>I  think the application would need to changed to do this.&lt;BR /&gt;&lt;BR /&gt;:-) John.</description>
    <pubDate>Thu, 18 Dec 2003 10:37:59 GMT</pubDate>
    <dc:creator>John Carr_2</dc:creator>
    <dc:date>2003-12-18T10:37:59Z</dc:date>
    <item>
      <title>Not allowing a process to swap from physical mem to swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-allowing-a-process-to-swap-from-physical-mem-to-swap/m-p/3148345#M899770</link>
      <description>We are running HP-UX 11.11 and an Oracle-based application.  One of the processes seems to be very susceptible to hangs when any of its subprocesses page out to swap memory.  Is there any way by using nice or some other parameter to "lock" a process and its child processes in physical memory so that they don't page out to swap?</description>
      <pubDate>Thu, 18 Dec 2003 10:31:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-allowing-a-process-to-swap-from-physical-mem-to-swap/m-p/3148345#M899770</guid>
      <dc:creator>Clifton Smith</dc:creator>
      <dc:date>2003-12-18T10:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Not allowing a process to swap from physical mem to swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-allowing-a-process-to-swap-from-physical-mem-to-swap/m-p/3148346#M899771</link>
      <description>I do not think you can do it. The only way is to set up swap in memory..&lt;BR /&gt;&lt;BR /&gt;-Tomek</description>
      <pubDate>Thu, 18 Dec 2003 10:35:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-allowing-a-process-to-swap-from-physical-mem-to-swap/m-p/3148346#M899771</guid>
      <dc:creator>Tomek Gryszkiewicz</dc:creator>
      <dc:date>2003-12-18T10:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Not allowing a process to swap from physical mem to swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-allowing-a-process-to-swap-from-physical-mem-to-swap/m-p/3148347#M899772</link>
      <description>I  think the application would need to changed to do this.&lt;BR /&gt;&lt;BR /&gt;:-) John.</description>
      <pubDate>Thu, 18 Dec 2003 10:37:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-allowing-a-process-to-swap-from-physical-mem-to-swap/m-p/3148347#M899772</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2003-12-18T10:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Not allowing a process to swap from physical mem to swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-allowing-a-process-to-swap-from-physical-mem-to-swap/m-p/3148348#M899773</link>
      <description>I don't think this is possible either and I don't think it would be a very good thing to do.  If a process were not swappable you could find yourself in a situation when things ran out of memory and very important processes would not be able to run.  You could well trash your system.&lt;BR /&gt; &lt;BR /&gt;Best thing is to have enough RAM so that you don't need to swap</description>
      <pubDate>Thu, 18 Dec 2003 10:39:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-allowing-a-process-to-swap-from-physical-mem-to-swap/m-p/3148348#M899773</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-12-18T10:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Not allowing a process to swap from physical mem to swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-allowing-a-process-to-swap-from-physical-mem-to-swap/m-p/3148349#M899774</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It can only be done in the code i think. It needs to alocate lockable memory. This memory cannot be swaped out.&lt;BR /&gt;&lt;BR /&gt;What you can do is install PRM v &amp;gt;2. You can configure memory usage and "CAPPING" by a PRM group. Check &lt;A href="http://docs.hp.com" target="_blank"&gt;http://docs.hp.com&lt;/A&gt; for PRM configuration.&lt;BR /&gt;&lt;BR /&gt;Hope this will help,&lt;BR /&gt;&lt;BR /&gt;Gideon</description>
      <pubDate>Thu, 18 Dec 2003 10:39:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-allowing-a-process-to-swap-from-physical-mem-to-swap/m-p/3148349#M899774</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2003-12-18T10:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Not allowing a process to swap from physical mem to swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-allowing-a-process-to-swap-from-physical-mem-to-swap/m-p/3148350#M899775</link>
      <description>Within the process itself it could use mlock(2) or plock(2)... but I don't know of any command or interface outside of the process that would do that for an arbitrary process.</description>
      <pubDate>Thu, 18 Dec 2003 10:40:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-allowing-a-process-to-swap-from-physical-mem-to-swap/m-p/3148350#M899775</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2003-12-18T10:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Not allowing a process to swap from physical mem to swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-allowing-a-process-to-swap-from-physical-mem-to-swap/m-p/3148351#M899776</link>
      <description>Clifton,&lt;BR /&gt;&lt;BR /&gt;I believe you need to look up the &lt;BR /&gt;plock() &amp;amp; mlock()&lt;BR /&gt;system calls.&lt;BR /&gt;&lt;BR /&gt;Do a &lt;BR /&gt;man 2 plock or mlock&lt;BR /&gt;for further details.&lt;BR /&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 18 Dec 2003 10:43:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-allowing-a-process-to-swap-from-physical-mem-to-swap/m-p/3148351#M899776</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-12-18T10:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Not allowing a process to swap from physical mem to swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-allowing-a-process-to-swap-from-physical-mem-to-swap/m-p/3148352#M899777</link>
      <description>Isn't there an Oracle concept of 'pinning' into memory? I don't know how it's done, but I thought I'd run across it before.&lt;BR /&gt;I'll check an Oracle manual.&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Dec 2003 10:46:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-allowing-a-process-to-swap-from-physical-mem-to-swap/m-p/3148352#M899777</guid>
      <dc:creator>doug mielke</dc:creator>
      <dc:date>2003-12-18T10:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Not allowing a process to swap from physical mem to swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-allowing-a-process-to-swap-from-physical-mem-to-swap/m-p/3148353#M899780</link>
      <description>Maybe you have other not-so-necessary applications/processes running that take a lot of memory; closing them or reducing their memory needs could reduce the paging activity.&lt;BR /&gt;&lt;BR /&gt;Ciao&lt;BR /&gt;Claudio</description>
      <pubDate>Thu, 18 Dec 2003 10:48:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-allowing-a-process-to-swap-from-physical-mem-to-swap/m-p/3148353#M899780</guid>
      <dc:creator>Claudio Cilloni</dc:creator>
      <dc:date>2003-12-18T10:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Not allowing a process to swap from physical mem to swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-allowing-a-process-to-swap-from-physical-mem-to-swap/m-p/3148354#M899782</link>
      <description>I didn't find any doc, but our DBA tells me that you can 'pin' an object, ie: package body, tablespace, etc, imnto memory, and it's set in the database start scripts. He did't think a process could be, but any Oracle object may.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.</description>
      <pubDate>Thu, 18 Dec 2003 11:39:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-allowing-a-process-to-swap-from-physical-mem-to-swap/m-p/3148354#M899782</guid>
      <dc:creator>doug mielke</dc:creator>
      <dc:date>2003-12-18T11:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Not allowing a process to swap from physical mem to swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-allowing-a-process-to-swap-from-physical-mem-to-swap/m-p/3148355#M899783</link>
      <description>Are you sure that the problem is that the subprocess is hanging because it was paged out?  HP-UX has a very robust virtual memory management system and paging mechanism, and I don't think that HP-UX would cause a process to hang just because of its normal memory management.&lt;BR /&gt;&lt;BR /&gt;The process could have hung, therefore not be runnable, and then have been paged out as other runnable processes needed memory.  But when you examined it, it's already paged out so it appears that it hung because of paging out.  You may have the timeline reversed here:  subprocess hangs, then it gets paged out.&lt;BR /&gt;&lt;BR /&gt;Just a thought...&lt;BR /&gt;&lt;BR /&gt;=:-) Alex&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Dec 2003 06:52:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-allowing-a-process-to-swap-from-physical-mem-to-swap/m-p/3148355#M899783</guid>
      <dc:creator>Alex Ostapenko</dc:creator>
      <dc:date>2003-12-19T06:52:48Z</dc:date>
    </item>
  </channel>
</rss>

