<?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: &amp;quot;bad mmap(2)&amp;quot;, errno 12 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-bad-mmap-2-quot-errno-12/m-p/4917911#M823926</link>
    <description>This can also be an out of swap space issue.&lt;BR /&gt;&lt;BR /&gt;Make sure that you have at least 2xRAM worth of device swap space.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 15 Aug 2005 14:08:02 GMT</pubDate>
    <dc:creator>Kent Ostby</dc:creator>
    <dc:date>2005-08-15T14:08:02Z</dc:date>
    <item>
      <title>"bad mmap(2)", errno 12</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-bad-mmap-2-quot-errno-12/m-p/4917904#M823919</link>
      <description>Hi Forumer's,&lt;BR /&gt;&lt;BR /&gt;         &lt;BR /&gt;         Please find the error message i get when the program tries to spawn another process. The process fails to fork with the following error and exits.&lt;BR /&gt;&lt;BR /&gt;  DM master dm_die: "bad mmap(2)", errno 12&lt;BR /&gt;&lt;BR /&gt;Please could anyone throw some light on this.&lt;BR /&gt;&lt;BR /&gt;Points will be aptly awarded.&lt;BR /&gt;&lt;BR /&gt;Regards beyond your fathomable reach,&lt;BR /&gt;Senthil&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Aug 2005 01:59:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-bad-mmap-2-quot-errno-12/m-p/4917904#M823919</guid>
      <dc:creator>Senthil Kumar .A_1</dc:creator>
      <dc:date>2005-08-12T01:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: "bad mmap(2)", errno 12</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-bad-mmap-2-quot-errno-12/m-p/4917905#M823920</link>
      <description>Senthil,&lt;BR /&gt;when you do a fork, mmap is called to make a mapping between the new process' address space and  a file.&lt;BR /&gt;Your error seems to indicate that the value of off+len ( 2 parameters of the function mmap ) exceeds the offset maximum established in the open file description associated with "fildes"criptor.&lt;BR /&gt;&lt;BR /&gt;I'm not completely sure of this, but I think that errno 12 is EOVERFLOW error of the mmap() function ( seen man page ).&lt;BR /&gt;&lt;BR /&gt;Senthil, your error is the product of a self made program?&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Alex&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Aug 2005 04:13:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-bad-mmap-2-quot-errno-12/m-p/4917905#M823920</guid>
      <dc:creator>Alessandro Pilati</dc:creator>
      <dc:date>2005-08-12T04:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: "bad mmap(2)", errno 12</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-bad-mmap-2-quot-errno-12/m-p/4917906#M823921</link>
      <description>Hi Senthil,&lt;BR /&gt;&lt;BR /&gt;I can't find your exact error message, but&lt;BR /&gt;&lt;BR /&gt;errno 12 =&lt;BR /&gt;&lt;BR /&gt;#define ENOMEM 12 /* Not enough core   */&lt;BR /&gt;Check your swap space &lt;BR /&gt;# swapinfo -tam&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Fri, 12 Aug 2005 04:25:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-bad-mmap-2-quot-errno-12/m-p/4917906#M823921</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2005-08-12T04:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: "bad mmap(2)", errno 12</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-bad-mmap-2-quot-errno-12/m-p/4917907#M823922</link>
      <description>Oops,&lt;BR /&gt;I had a doc with worng errno sequence...&lt;BR /&gt;Sorry Senthil, and all respect for the Olympian ;-)</description>
      <pubDate>Fri, 12 Aug 2005 05:09:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-bad-mmap-2-quot-errno-12/m-p/4917907#M823922</guid>
      <dc:creator>Alessandro Pilati</dc:creator>
      <dc:date>2005-08-12T05:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: "bad mmap(2)", errno 12</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-bad-mmap-2-quot-errno-12/m-p/4917908#M823923</link>
      <description>Hi guys,&lt;BR /&gt;&lt;BR /&gt;       It would be unfair if i award points right away without check how accurate the hints were.&lt;BR /&gt;&lt;BR /&gt;       I will back in office by tuesday , will surely award accordingly. Thanx for your time spent on this.&lt;BR /&gt;&lt;BR /&gt;        Meanwhile waiting for few more responses for more options.  :)</description>
      <pubDate>Fri, 12 Aug 2005 13:47:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-bad-mmap-2-quot-errno-12/m-p/4917908#M823923</guid>
      <dc:creator>Senthil Kumar .A_1</dc:creator>
      <dc:date>2005-08-12T13:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: "bad mmap(2)", errno 12</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-bad-mmap-2-quot-errno-12/m-p/4917909#M823924</link>
      <description>This is caused by 2 different things and both will set errno = 12 (ENOMEM) : 1) Hitting a kernel limit, maxdsiz (or maxdsiz_64bit) 2) more swap space is needed</description>
      <pubDate>Fri, 12 Aug 2005 13:57:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-bad-mmap-2-quot-errno-12/m-p/4917909#M823924</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-08-12T13:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: "bad mmap(2)", errno 12</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-bad-mmap-2-quot-errno-12/m-p/4917910#M823925</link>
      <description>generally, the mmap(2) provides optimized address seeking/location of values.. some system developers love this rather than using read system call.&lt;BR /&gt;&lt;BR /&gt;btw, errno == 12, then&lt;BR /&gt;&lt;BR /&gt;   $ grep 12 /usr/include/sys/errno.h&lt;BR /&gt;&lt;BR /&gt;ex:&lt;BR /&gt; grep 12 /usr/include/sys/errno.h&lt;BR /&gt;#define ENOMEM          12      /* Not enough core              */&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;also, read:  $ man mmap&lt;BR /&gt;&lt;BR /&gt; [ENOMEM]       MAP_FIXED was specified, and the range [addr,&lt;BR /&gt;                          addr+len] exceeds that allowed for the address&lt;BR /&gt;                          space of a process; or if MAP_FIXED was not&lt;BR /&gt;                          specified and there is insufficient room in the&lt;BR /&gt;                          address space to effect the mapping.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;just maybe there is a large range and it could be swap, then again, it could be some process limitations, like max stack, max data, or max text sizes in the kernel tunes.&lt;BR /&gt;&lt;BR /&gt;just my 2 cents&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Aug 2005 23:07:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-bad-mmap-2-quot-errno-12/m-p/4917910#M823925</guid>
      <dc:creator>D Block 2</dc:creator>
      <dc:date>2005-08-12T23:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: "bad mmap(2)", errno 12</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-bad-mmap-2-quot-errno-12/m-p/4917911#M823926</link>
      <description>This can also be an out of swap space issue.&lt;BR /&gt;&lt;BR /&gt;Make sure that you have at least 2xRAM worth of device swap space.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Aug 2005 14:08:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-bad-mmap-2-quot-errno-12/m-p/4917911#M823926</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2005-08-15T14:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: "bad mmap(2)", errno 12</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-bad-mmap-2-quot-errno-12/m-p/4917912#M823927</link>
      <description>Hi Guys,&lt;BR /&gt;&lt;BR /&gt;   I really appreciate all the efforts taken in this regard.&lt;BR /&gt;&lt;BR /&gt;   I should admit that everyone has indicated in the right direction for the issue concerned. Though I did not find any problems related to said Kernel parameter and swap size, atleast you guys affirmed me to check this system aspect to the error concerned.&lt;BR /&gt;&lt;BR /&gt;  Proving that I need to check on the app end. Now I'm working on the application perspective. Based on the developers suggestion have changed some app related parameter fields. Looks promising. But, eagerly awaiting for the results.&lt;BR /&gt;&lt;BR /&gt;:)&lt;BR /&gt;&lt;BR /&gt;Thanx once again.</description>
      <pubDate>Wed, 17 Aug 2005 02:19:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-bad-mmap-2-quot-errno-12/m-p/4917912#M823927</guid>
      <dc:creator>Senthil Kumar .A_1</dc:creator>
      <dc:date>2005-08-17T02:19:30Z</dc:date>
    </item>
  </channel>
</rss>

