<?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: shared memory allocation fails with error number 12 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-allocation-fails-with-error-number-12/m-p/3432675#M205979</link>
    <description>I also note that you are definitely falling the the range limit for 32-bit SHMEM_MAGIC executables - 2.75GB which strongly suggests this is 32-bit code.</description>
    <pubDate>Tue, 30 Nov 2004 11:11:56 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2004-11-30T11:11:56Z</dc:date>
    <item>
      <title>shared memory allocation fails with error number 12</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-allocation-fails-with-error-number-12/m-p/3432673#M205977</link>
      <description>Guys&lt;BR /&gt;           We are running HP9000 11i with ost of the boxes with 16G,8G,48G of physical memory , we have a process that loads huge amount of data into the memory from flat files , this process fails in few boxes with error number 12 , this process requires about 2.5 3G of memory but even if the system has 7G free still it fails , the shmmax is set to as high as the memory in that box , can someone shed some light to this problem .&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Nov 2004 03:13:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-allocation-fails-with-error-number-12/m-p/3432673#M205977</guid>
      <dc:creator>Sathish C</dc:creator>
      <dc:date>2004-11-30T03:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: shared memory allocation fails with error number 12</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-allocation-fails-with-error-number-12/m-p/3432674#M205978</link>
      <description>First things first.&lt;BR /&gt;&lt;BR /&gt;1) Are you compiling as 64-bit code?&lt;BR /&gt;2) Eventhough you have plenty of memory, do you have sufficient virtual address space. ie How much swap space and is pseudoswap enabled?&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Nov 2004 11:03:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-allocation-fails-with-error-number-12/m-p/3432674#M205978</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-11-30T11:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: shared memory allocation fails with error number 12</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-allocation-fails-with-error-number-12/m-p/3432675#M205979</link>
      <description>I also note that you are definitely falling the the range limit for 32-bit SHMEM_MAGIC executables - 2.75GB which strongly suggests this is 32-bit code.</description>
      <pubDate>Tue, 30 Nov 2004 11:11:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-allocation-fails-with-error-number-12/m-p/3432675#M205979</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-11-30T11:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: shared memory allocation fails with error number 12</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-allocation-fails-with-error-number-12/m-p/3432676#M205980</link>
      <description>Yes it is 32 bit code and swap space is reasonable is set to as what the physical memory is , do you suggest to increase it by two .The instresting thing is , this program is not faling ( atleast so far ) on a box where the physical memory is just 8G .</description>
      <pubDate>Tue, 30 Nov 2004 12:23:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-allocation-fails-with-error-number-12/m-p/3432676#M205980</guid>
      <dc:creator>Sathish C</dc:creator>
      <dc:date>2004-11-30T12:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: shared memory allocation fails with error number 12</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-allocation-fails-with-error-number-12/m-p/3432677#M205981</link>
      <description>Well, there's your answer. It's 32-bit code. The absolute maximum is 2.75GB and that is only with SHMEM_MAGIC enabled. I suspect why your are seeing different results in that the shared memory is being allocated out of global address space and that is why it works on some boxes and not on others. It depends on what else is running on each box.&lt;BR /&gt;You can make the behavior consistant by using "Memory Windows" which give each group of related process its own 4GB VAS rather than being shared by all processes. Go to docs.hp.com and enter "memory windows" as a search key.&lt;BR /&gt;&lt;BR /&gt;To really solve your problem, you need to compile as 64-bit code and thus eliminate the 32-bit restrictions. No matter what you do, your absolute maximum (and it is difficult to achieve) in 32-bit land is 2.75GB of shared memory.&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Nov 2004 12:40:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-allocation-fails-with-error-number-12/m-p/3432677#M205981</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-11-30T12:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: shared memory allocation fails with error number 12</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-allocation-fails-with-error-number-12/m-p/3432678#M205982</link>
      <description>Hi&lt;BR /&gt;  Are you sure about 2.75G , is it not 1.75G , please confirm this .</description>
      <pubDate>Thu, 02 Dec 2004 08:46:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-allocation-fails-with-error-number-12/m-p/3432678#M205982</guid>
      <dc:creator>Sathish C</dc:creator>
      <dc:date>2004-12-02T08:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: shared memory allocation fails with error number 12</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-allocation-fails-with-error-number-12/m-p/3432679#M205983</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;This is all good info but is there a difference on the boxes that fail.&lt;BR /&gt;&lt;BR /&gt;Patching memory swap 32 or 64 bit system&lt;BR /&gt;&lt;BR /&gt;Worth checking&lt;BR /&gt;&lt;BR /&gt;Memory windows is best idea&lt;BR /&gt;&lt;BR /&gt;Well explained at&lt;BR /&gt;&lt;BR /&gt;ftp://eh:spear9@hprc.external.hp.com/memory.htm&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;           Steve Steel</description>
      <pubDate>Thu, 02 Dec 2004 08:57:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-allocation-fails-with-error-number-12/m-p/3432679#M205983</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2004-12-02T08:57:08Z</dc:date>
    </item>
  </channel>
</rss>

