<?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: system error- too many subprocesses cannot fork errno=12 (354) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/system-error-too-many-subprocesses-cannot-fork-errno-12-354/m-p/5192038#M461783</link>
    <description>&amp;gt;Ganesan: It looks you are not running out of physical memory but running out of swap.&lt;BR /&gt;&lt;BR /&gt;These are related, except one is more a expensive solution.  :-)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Sudeesh: Verify kernel parameter swapmem_on and if it is set to 1&lt;BR /&gt;&lt;BR /&gt;As MK said, we know this is set because of the "memory" line in swapinfo.</description>
    <pubDate>Sun, 09 Aug 2009 18:21:14 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2009-08-09T18:21:14Z</dc:date>
    <item>
      <title>system error- too many subprocesses cannot fork errno=12 (354)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-error-too-many-subprocesses-cannot-fork-errno-12-354/m-p/5192032#M461777</link>
      <description>I'm getting this error on an hp 9000 box running 11.11. In the system log i see repeated "Deferred swap reservation failure pid: XXXXXX".&lt;BR /&gt;From what I've seen on the forums, this is typically memory related and usually relates to not having enough swap available for preallocation for apps. The system is running many progress openedge databases and associated apps including web speed.&lt;BR /&gt;It's  6cpu box with 18GB ram.  Where I think I have an issue is that the system has only a single 4GB swap swap device.  But looking at swapinfo it  shows ram usage is up against the limit too.&lt;BR /&gt;&lt;BR /&gt;nclass:/ &amp;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     435    3661   11%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -    3661   -3661&lt;BR /&gt;memory    14465   14003     462   97%&lt;BR /&gt;total     18561   18099     462   98%       -       0    -&lt;BR /&gt;nclass:/ &amp;gt;&lt;BR /&gt;&lt;BR /&gt;To get me out of a pickle, will adding swap actually help in this case? Have we added enough stuff to the server that we need to add more ram too?&lt;BR /&gt;And if I can get out of this by adding more swap, can I add a swap file or device(lun) without rebooting the box?  This system is used across every timezone in the US(including Hawaii) and it's a pain to get a maint window.</description>
      <pubDate>Fri, 07 Aug 2009 17:01:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-error-too-many-subprocesses-cannot-fork-errno-12-354/m-p/5192032#M461777</guid>
      <dc:creator>Dean Ross-Smith</dc:creator>
      <dc:date>2009-08-07T17:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: system error- too many subprocesses cannot fork errno=12 (354)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-error-too-many-subprocesses-cannot-fork-errno-12-354/m-p/5192033#M461778</link>
      <description>The "memory" line in "swapinfo -tam" output refers to so-called "pseudo-swap". &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5965-4641/ch01s09.html" target="_blank"&gt;http://docs.hp.com/en/5965-4641/ch01s09.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; will adding swap actually help in this case? &lt;BR /&gt;&lt;BR /&gt;It allows your applications to keep running instead of crashing because the system cannot allocate any more memory. So yes, it will help. &lt;BR /&gt;&lt;BR /&gt;At the very least, it will change the overload behaviour from "sudden death" to "slowing to a crawl". The former tends to require the users to re-do things; the latter is often a good reason to have a coffee break :-)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [Do] we need to add more ram too?&lt;BR /&gt;&lt;BR /&gt;That depends on the behaviour of your workload. Start monitoring the number of page-out events (the "po" column in the vmstat output, for example): when you see a lot of page-outs happening, your system is spending time furiously shuffling things between RAM and swap space and therefore is not working very efficiently.&lt;BR /&gt;&lt;BR /&gt;In a heavily-loaded machine, small spikes of page-out events occasionally can be accepted, but if the system is constantly paging things out, you will really need more RAM.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; can I add a swap file or device(lun) without rebooting the box?&lt;BR /&gt;&lt;BR /&gt;Yes to both. Removing an existing swap requires a reboot in HP-UX, but adding a new one does not.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Fri, 07 Aug 2009 20:10:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-error-too-many-subprocesses-cannot-fork-errno-12-354/m-p/5192033#M461778</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-08-07T20:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: system error- too many subprocesses cannot fork errno=12 (354)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-error-too-many-subprocesses-cannot-fork-errno-12-354/m-p/5192034#M461779</link>
      <description>the system is doing nearly zero paging. I'm just trying to confirm that adding swap is the correct path here.</description>
      <pubDate>Fri, 07 Aug 2009 21:37:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-error-too-many-subprocesses-cannot-fork-errno-12-354/m-p/5192034#M461779</guid>
      <dc:creator>Dean Ross-Smith</dc:creator>
      <dc:date>2009-08-07T21:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: system error- too many subprocesses cannot fork errno=12 (354)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-error-too-many-subprocesses-cannot-fork-errno-12-354/m-p/5192035#M461780</link>
      <description>&amp;gt;I'm just trying to confirm that adding swap is the correct path here.&lt;BR /&gt;&lt;BR /&gt;It looks like it.  You are only using 435 Mb swap and reserved the rest.</description>
      <pubDate>Sat, 08 Aug 2009 07:05:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-error-too-many-subprocesses-cannot-fork-errno-12-354/m-p/5192035#M461780</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-08-08T07:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: system error- too many subprocesses cannot fork errno=12 (354)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-error-too-many-subprocesses-cannot-fork-errno-12-354/m-p/5192036#M461781</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It looks you are not running out of physical memory but running out of swap. There is no swap space to reserve for new process. Note reserving the swap and using the swap is differnt activities altogether.&lt;BR /&gt;&lt;BR /&gt;I don't thing you have insufficient memory since you have 18GB. However you can confirm the memory utilisation using glance tool. But you have very less swap. Just 4GB swap is not sufficient for 18GB ram. Ideally you should have swap space equal or more size of physical memory. &lt;BR /&gt;&lt;BR /&gt;So creating additional device swap surely solve your problems.&lt;BR /&gt;&lt;BR /&gt;Refer this threat to create additional swap using SAM.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1249817269840+28353475&amp;amp;threadId=1288851" target="_blank"&gt;http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1249817269840+28353475&amp;amp;threadId=1288851&lt;/A&gt;</description>
      <pubDate>Sun, 09 Aug 2009 10:31:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-error-too-many-subprocesses-cannot-fork-errno-12-354/m-p/5192036#M461781</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-08-09T10:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: system error- too many subprocesses cannot fork errno=12 (354)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-error-too-many-subprocesses-cannot-fork-errno-12-354/m-p/5192037#M461782</link>
      <description>You have only 4GB swap configured now. From swapinfo o/p 'reserve' is very high, means lot of applications are started which are reserving swap area during their startup. I would recommed adding another 4GB swap considering you got 18GB physical Memory.&lt;BR /&gt;&lt;BR /&gt;Verify kernel parameter swapmem_on and if it is set to 1, then dont worry about 'memory' being at 97%.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 09 Aug 2009 16:19:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-error-too-many-subprocesses-cannot-fork-errno-12-354/m-p/5192037#M461782</guid>
      <dc:creator>Sudeesh</dc:creator>
      <dc:date>2009-08-09T16:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: system error- too many subprocesses cannot fork errno=12 (354)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-error-too-many-subprocesses-cannot-fork-errno-12-354/m-p/5192038#M461783</link>
      <description>&amp;gt;Ganesan: It looks you are not running out of physical memory but running out of swap.&lt;BR /&gt;&lt;BR /&gt;These are related, except one is more a expensive solution.  :-)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Sudeesh: Verify kernel parameter swapmem_on and if it is set to 1&lt;BR /&gt;&lt;BR /&gt;As MK said, we know this is set because of the "memory" line in swapinfo.</description>
      <pubDate>Sun, 09 Aug 2009 18:21:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-error-too-many-subprocesses-cannot-fork-errno-12-354/m-p/5192038#M461783</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-08-09T18:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: system error- too many subprocesses cannot fork errno=12 (354)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-error-too-many-subprocesses-cannot-fork-errno-12-354/m-p/5192039#M461784</link>
      <description>Thanks all- I'll be adding in a 15GB swap lun.</description>
      <pubDate>Mon, 10 Aug 2009 15:54:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-error-too-many-subprocesses-cannot-fork-errno-12-354/m-p/5192039#M461784</guid>
      <dc:creator>Dean Ross-Smith</dc:creator>
      <dc:date>2009-08-10T15:54:19Z</dc:date>
    </item>
  </channel>
</rss>

