<?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: Increase lockable memory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429847#M859486</link>
    <description>Stephen,&lt;BR /&gt;&lt;BR /&gt;The swap allocated with 'swapmem_on' parameter is affected by lockable memory but doesn't affect lockable memory. &lt;BR /&gt;&lt;BR /&gt;The kernel parameter "unlockable_mem" determines how much memory can be locked by the processes. Look at the following document on more information on this parameter.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/TKP-90202/TKP-90202.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/TKP-90202/TKP-90202.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
    <pubDate>Wed, 24 Nov 2004 12:24:34 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2004-11-24T12:24:34Z</dc:date>
    <item>
      <title>Increase lockable memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429846#M859485</link>
      <description>16GB RAM, 64bit HPUX 11 with 64Bit Oracle.&lt;BR /&gt;&lt;BR /&gt;swapmem_on=1 means that only 12GB is lockable due to the 75% rule.&lt;BR /&gt;&lt;BR /&gt;How can I increase the size of the lockable memory?</description>
      <pubDate>Wed, 24 Nov 2004 12:15:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429846#M859485</guid>
      <dc:creator>Stephen Andreassend</dc:creator>
      <dc:date>2004-11-24T12:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Increase lockable memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429847#M859486</link>
      <description>Stephen,&lt;BR /&gt;&lt;BR /&gt;The swap allocated with 'swapmem_on' parameter is affected by lockable memory but doesn't affect lockable memory. &lt;BR /&gt;&lt;BR /&gt;The kernel parameter "unlockable_mem" determines how much memory can be locked by the processes. Look at the following document on more information on this parameter.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/TKP-90202/TKP-90202.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/TKP-90202/TKP-90202.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 24 Nov 2004 12:24:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429847#M859486</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-24T12:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Increase lockable memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429848#M859487</link>
      <description>DESCRIPTION &lt;BR /&gt;&lt;BR /&gt;In previous versions of HP-UX, system configuration required sufficient physical swap space for the maximum possible number of processes on the system. This is because HP-UX reserves swap space for a process when it is created, to ensure that a running process never needs to be killed due to insufficient swap.&lt;BR /&gt;This was difficult, however, for systems needing gigabytes of swap space with gigabytes of physical memory, and those with workloads where the entire load would always be in core. This tunable was created to allow system swap space to be less than core memory. To accomplish this, a portion of physical memory is set aside as 'pseudo-swap' space. While actual swap space is still available, processes still reserve all the swap they will need at fork or execute time from the physical device or file system swap. Once this swap is completely used, new processes do not reserve swap, and each page which would have been swapped to the physical device or file system is instead locked in memory and counted as part of the pseudo-swap space.&lt;BR /&gt;&lt;BR /&gt;Who Is Expected to Change This Tunable? &lt;BR /&gt;&lt;BR /&gt;Anyone.&lt;BR /&gt;&lt;BR /&gt;Restrictions on Changing &lt;BR /&gt;&lt;BR /&gt;Changes to this tunable take effect on the next reboot.&lt;BR /&gt;&lt;BR /&gt;When Should the Tunable Be Turned On? &lt;BR /&gt;&lt;BR /&gt;If this tunable is set to 0 (off), and a fork() or exec() process is failing with an ENOMEM error message and has sufficient system memory but insufficient unreserved swap space, then setting this tunable to 1 (on) will allow these processes to use pseudo-swap space and execute.&lt;BR /&gt;&lt;BR /&gt;What Are the Side Effects of Turning the Tunable On? &lt;BR /&gt;&lt;BR /&gt;Some physical memory is set aside for pseudo-swap, but since the kernel can steal pages from this allocation if needed (for locked memory or kernel memory), and the rest of the pages will only be used when physical swap is completely filled anyway, this is quite harmless.&lt;BR /&gt;&lt;BR /&gt;When Should the Tunable Be Turned Off? &lt;BR /&gt;&lt;BR /&gt;This tunable can be turned off if there are sufficient physical swap devices or file systems such that the system workload never fails to reserve swap. However, turning this feature off really does not gain the system anything. &lt;BR /&gt;&lt;BR /&gt;What Are the Side Effects of Turning the Tunable Off? &lt;BR /&gt;&lt;BR /&gt;Processes will be limited to physical swap devices or file systems for reserving their swap on a fork() or an exec().&lt;BR /&gt;&lt;BR /&gt;What Other Tunables Should Be Changed at the Same Time? &lt;BR /&gt;&lt;BR /&gt;None.&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Nov 2004 12:30:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429848#M859487</guid>
      <dc:creator>Stephen Andreassend</dc:creator>
      <dc:date>2004-11-24T12:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Increase lockable memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429849#M859488</link>
      <description>Hi Stephen,&lt;BR /&gt;&lt;BR /&gt;Take a look at this link,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparam.UnlockableMem.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparam.UnlockableMem.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Total Memory - Unlockable Memory = Lockable Memory&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Nov 2004 12:50:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429849#M859488</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-11-24T12:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Increase lockable memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429850#M859489</link>
      <description>I have reduced the fs buffer cache (1% min/max) and reduced nproc, and it has helped</description>
      <pubDate>Wed, 24 Nov 2004 12:52:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429850#M859489</guid>
      <dc:creator>Stephen Andreassend</dc:creator>
      <dc:date>2004-11-24T12:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Increase lockable memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429851#M859490</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Reducing nproc is not a very good idea unless it was set an abnormally high value.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparam.Nproc.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparam.Nproc.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;regds&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Nov 2004 13:08:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429851#M859490</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-11-24T13:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Increase lockable memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429852#M859491</link>
      <description>Hi (Again),&lt;BR /&gt;&lt;BR /&gt;Yes. The document pasted by you confirms what I said. &lt;BR /&gt;&lt;BR /&gt;It's better we take an example. Let's consider some raw numbers and hypothetical scenarios to make it easy.&lt;BR /&gt;&lt;BR /&gt;Consider 100MB system with 100MB of device swap with pseudoswap on. The total swap is 175MB initially. Say, there are processes that locked 80MB of memory. So, 75MB which was alloted from pseudoswap would be gone and you will be effectively left with  100MB-(reserved by other processes) of swap space. You can keep locking the memory further (&amp;lt; unlockable_mem) and it may cause unlocked processes to page out if the available memory is critically low.&lt;BR /&gt;&lt;BR /&gt;However, case is different if you don't have enough device swap. Say you configured only 10MB of device swap. After 10MB worth of processes are brought up, system will start locking the processes in memory that further come up and eventually the system may run of swap space. Under that situation, you will not only be able to lock the memory but also will not be able to bring up more processes though you may see some free memory on the system.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 24 Nov 2004 13:17:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429852#M859491</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-24T13:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Increase lockable memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429853#M859492</link>
      <description>unlockable_mem is defaulting to 65536, its not set (0) in SAM.&lt;BR /&gt;&lt;BR /&gt;nproc is 1024, monitoring sar -v.&lt;BR /&gt;&lt;BR /&gt;The server is running only Oracle, problem starts when applications are started and connect to the db over SQL*Net, swapinfo -tam races to 100% and Oracle instance aborts with an out of memory error.  Oracle configured to use 12GB shared memory, so there should be plenty left over for oracle shadow processes.</description>
      <pubDate>Wed, 24 Nov 2004 13:28:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429853#M859492</guid>
      <dc:creator>Stephen Andreassend</dc:creator>
      <dc:date>2004-11-24T13:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Increase lockable memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429854#M859493</link>
      <description>Stephen,&lt;BR /&gt;&lt;BR /&gt;It's not the memory but the 'total swap' the decides whether you can bring up more processes are not. If  'Total Available' in  'swapinfo -t' is less than 16GB, then though there is free memory, you will not be able to bring up more processes. You will have to add extra swap.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 24 Nov 2004 13:38:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429854#M859493</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-24T13:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Increase lockable memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429855#M859494</link>
      <description>&lt;BR /&gt;# swapinfo -t&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     4194304       0 4194304    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       - 4194304 -4194304&lt;BR /&gt;memory  13632956 12730424  902532   93%&lt;BR /&gt;total   17827260 16924728  902532   95%       -       0    -&lt;BR /&gt;&lt;BR /&gt;# swaminfo -tam&lt;BR /&gt;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev        4096       0    4096    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -    4096   -4096&lt;BR /&gt;memory    13313   12373     940   93%&lt;BR /&gt;total     17409   16469     940   95%       -       0    -</description>
      <pubDate>Wed, 24 Nov 2004 13:44:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429855#M859494</guid>
      <dc:creator>Stephen Andreassend</dc:creator>
      <dc:date>2004-11-24T13:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Increase lockable memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429856#M859495</link>
      <description>Those figures are after I changed those 3 kernel parameters and has stopped the Oracle instance from crashing and swapinfo no longer goes to 100%.</description>
      <pubDate>Wed, 24 Nov 2004 13:45:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429856#M859495</guid>
      <dc:creator>Stephen Andreassend</dc:creator>
      <dc:date>2004-11-24T13:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Increase lockable memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429857#M859496</link>
      <description>This can be contrasted with the figures before I changed the kernel:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# swapinfo -tam&lt;BR /&gt;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev        4096       0    4096    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -      95     -95&lt;BR /&gt;memory    12860     931   11929    7%&lt;BR /&gt;total     16956    1026   15930    6%       -       0    -&lt;BR /&gt;&lt;BR /&gt;Now with this configuration, if I was to start Oracle, then start the applications on the other server connecting to Oracle, the Oracle instance crashes with the memory error, and HPUX hangs.</description>
      <pubDate>Wed, 24 Nov 2004 13:48:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429857#M859496</guid>
      <dc:creator>Stephen Andreassend</dc:creator>
      <dc:date>2004-11-24T13:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Increase lockable memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429858#M859497</link>
      <description>Well.. obviously the changes (low buffer cache) you made have lowered the kernel's memory which would also affect the pseudoswap. You are still low swap and possibly low on memory as well. Your total swap is equal to physical memory but it is a good idea to have around 25% of headroom on swap to avoid any surprized presented by the application. I would still suggest you add little more device swap - probably around 2GB secondary swap to be out of danger zone or reduce the SGA slightly. Oracle crashes if it can't start the processes it needs to.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 24 Nov 2004 13:55:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429858#M859497</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-24T13:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Increase lockable memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429859#M859498</link>
      <description>So in actual fact, if I rollback the kernel changes, then I should see 100% utilisation on /dev/vg00/lvol2?&lt;BR /&gt;&lt;BR /&gt;I'll give it a go.</description>
      <pubDate>Wed, 24 Nov 2004 16:12:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429859#M859498</guid>
      <dc:creator>Stephen Andreassend</dc:creator>
      <dc:date>2004-11-24T16:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Increase lockable memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429860#M859499</link>
      <description>I restored the original kernel to reproduce the problem.&lt;BR /&gt;&lt;BR /&gt;Here is the swapinfo with Oracle running and all the applications connected.&lt;BR /&gt;&lt;BR /&gt;         Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev        4096       0    4096    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -    4096   -4096&lt;BR /&gt;memory    12860   12628     232   98%&lt;BR /&gt;total     16956   16724     232   99%       -       0    -&lt;BR /&gt;&lt;BR /&gt;Not much spare memory it seems, and that 4GB segment due to swapmem_on=1 appears to be unused.&lt;BR /&gt;&lt;BR /&gt;Now if I start SQL*Plus and do a large query with a large sort_area_size of 200MB, this is the swapinfo:&lt;BR /&gt;&lt;BR /&gt;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev        4096       0    4096    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -    4096   -4096&lt;BR /&gt;memory    12860   12860       0  100%&lt;BR /&gt;total     16956   16956       0  100%       -       0    -&lt;BR /&gt;&lt;BR /&gt;The query crashes with this message:&lt;BR /&gt;&lt;BR /&gt;ERROR at line 1:&lt;BR /&gt;ORA-04030: out of process memory when trying to allocate 8192 bytes (sort&lt;BR /&gt;subheap,sort key)&lt;BR /&gt;&lt;BR /&gt;As you can see, that 4GB of RAM is unused and the dev swap is 0% used.&lt;BR /&gt;&lt;BR /&gt;# echo total_lockable_mem/D | adb -k /stand/vmunix /dev/mem&lt;BR /&gt;total_lockable_mem:&lt;BR /&gt;total_lockable_mem:             3285279&lt;BR /&gt;=12833MB&lt;BR /&gt;&lt;BR /&gt;I would therefore expect disabling swapmem_on and allocating sufficient disk swap would be beneficial for Oracle.&lt;BR /&gt;&lt;BR /&gt;Does swapmem_on require that disk swap size &amp;gt;= RAM or is this just a recommendation?</description>
      <pubDate>Wed, 24 Nov 2004 18:48:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429860#M859499</guid>
      <dc:creator>Stephen Andreassend</dc:creator>
      <dc:date>2004-11-24T18:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Increase lockable memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429861#M859500</link>
      <description>Stephen,&lt;BR /&gt;&lt;BR /&gt;//Does swapmem_on require that disk swap size &amp;gt;= RAM or is this just a recommendation?//&lt;BR /&gt;&lt;BR /&gt;The total swap space you have should be *atleast* (requirement) or exceed (recommendation) the total memory you have on the system.  Though some threads say to configure swap with only 25% of memory, I alwasy suggest to configure atleast 50-75% to avoid suprizes. I wouldnt' worry about lockable memory. &lt;BR /&gt;&lt;BR /&gt;Look at the following threads for more discussion. I would basically be posting the same response.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=744365" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=744365&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=743917" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=743917&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 24 Nov 2004 19:39:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429861#M859500</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-24T19:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Increase lockable memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429862#M859501</link>
      <description>Quote from your 2nd URL:&lt;BR /&gt;&lt;BR /&gt;You have swap space greater than physical memory size, so you can turn off pseudo swap. You can set the kernel parameter swapmem_on to 0. This will allow to better use of memory.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Zygmunt &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Nov 2004 19:55:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429862#M859501</guid>
      <dc:creator>Stephen Andreassend</dc:creator>
      <dc:date>2004-11-24T19:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Increase lockable memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429863#M859502</link>
      <description>hmmm... that was not by me...I wouldn't disable swapmem_on.&lt;BR /&gt;&lt;BR /&gt;Bottom line is to keep the 'total used' in 'swapinto -t' output below 100%. 'swapmem_on' parameter will give you 75% of the swap space. Configure another 50-75% of device swap ( primary+secondary swap or filesystem swap) to be on safer side. &lt;BR /&gt;&lt;BR /&gt;I would suggest  that you just add another 2GB of device swap as secondary swap and you will be fine. Make your dbc_max_pct and dbc_min_pct as 3% (~500MB) and 2%  respectively. Keep watching 'swapinfo -t'. Never let it go beyond 95%. No need to disable swapmem_on.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 24 Nov 2004 20:05:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429863#M859502</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-24T20:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Increase lockable memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429864#M859503</link>
      <description>I have again re-tuned the kernel:&lt;BR /&gt;nproc 1024&lt;BR /&gt;db_max/min_pct 1 (mincache=direct can be used for Oracle IO)&lt;BR /&gt;&lt;BR /&gt;And the machine is stable with apps running against it.&lt;BR /&gt;&lt;BR /&gt;# vmstat 1 2 | egrep -v 'procs|free' | tail -1 | awk '{ print $5*4/1024 }'&lt;BR /&gt;2857.75&lt;BR /&gt;&lt;BR /&gt;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev        4096       0    4096    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -    4096   -4096&lt;BR /&gt;memory    13313   12448     865   94%&lt;BR /&gt;total     17409   16544     865   95%       -       0    -&lt;BR /&gt;&lt;BR /&gt;So swapmem_on=1 can survive for now.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help (so far)</description>
      <pubDate>Wed, 24 Nov 2004 20:20:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-lockable-memory/m-p/3429864#M859503</guid>
      <dc:creator>Stephen Andreassend</dc:creator>
      <dc:date>2004-11-24T20:20:34Z</dc:date>
    </item>
  </channel>
</rss>

