<?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: 32 bit process terminates when data segement exceeds 64-bit data segement limit in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-process-terminates-when-data-segement-exceeds-64-bit-data/m-p/3708329#M790409</link>
    <description>If any of the maxXsiz_64bit values are lower than their maxXsiz 32-bit counterparts, the smaller of the two wins. All of your xxx_64bit values should be at least as large as their 32bit cousins. &lt;BR /&gt;&lt;BR /&gt;One of the strange things that happens is that ulimit always uses the smaller of the two values.&lt;BR /&gt;</description>
    <pubDate>Thu, 12 Jan 2006 18:21:23 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2006-01-12T18:21:23Z</dc:date>
    <item>
      <title>32 bit process terminates when data segement exceeds 64-bit data segement limit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-process-terminates-when-data-segement-exceeds-64-bit-data/m-p/3708327#M790407</link>
      <description>I am having issues with my apps and it seems to have to do with the kernel parameter.&lt;BR /&gt;&lt;BR /&gt;The kernel parameter that limits process data size for 32-bit processes is called maxdsize and is set to 2GB. &lt;BR /&gt;For 64-bit processes it is called maxdsize_64bit it is set to 1GB.&lt;BR /&gt;Our 32-bit process dies when it hits the 1GB limit.&lt;BR /&gt;(process also dies at 512MB data size when maxdsize_64bit is set to 512MB).&lt;BR /&gt;&lt;BR /&gt;Our server is an rp3440 64 bit machine running hpux 11i The process is 32 bit compiled with +DA2.0 and linked with -N option to overcome the 1GB data limit.&lt;BR /&gt;(On former K-class servers the process normally went well beyond 1GB)&lt;BR /&gt;&lt;BR /&gt;Any patches or parameter I need to set?&lt;BR /&gt;Thx in advance.</description>
      <pubDate>Thu, 12 Jan 2006 17:10:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-process-terminates-when-data-segement-exceeds-64-bit-data/m-p/3708327#M790407</guid>
      <dc:creator>Jimmy Tom_2</dc:creator>
      <dc:date>2006-01-12T17:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: 32 bit process terminates when data segement exceeds 64-bit data segement limit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-process-terminates-when-data-segement-exceeds-64-bit-data/m-p/3708328#M790408</link>
      <description>If the 64-bit parameter is set lower than the 32-bit parameter then the value of the 64-bit parameter will be used.&lt;BR /&gt;&lt;BR /&gt;To solve this you should increase the maxdsiz_64 to be at least 2GB.</description>
      <pubDate>Thu, 12 Jan 2006 17:12:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-process-terminates-when-data-segement-exceeds-64-bit-data/m-p/3708328#M790408</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-01-12T17:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: 32 bit process terminates when data segement exceeds 64-bit data segement limit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-process-terminates-when-data-segement-exceeds-64-bit-data/m-p/3708329#M790409</link>
      <description>If any of the maxXsiz_64bit values are lower than their maxXsiz 32-bit counterparts, the smaller of the two wins. All of your xxx_64bit values should be at least as large as their 32bit cousins. &lt;BR /&gt;&lt;BR /&gt;One of the strange things that happens is that ulimit always uses the smaller of the two values.&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jan 2006 18:21:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-process-terminates-when-data-segement-exceeds-64-bit-data/m-p/3708329#M790409</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-01-12T18:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: 32 bit process terminates when data segement exceeds 64-bit data segement limit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-process-terminates-when-data-segement-exceeds-64-bit-data/m-p/3708330#M790410</link>
      <description>Not that strange once you know why.&lt;BR /&gt;&lt;BR /&gt;When a 64-bit process forks off a 32-bit process, you have to make a decision somehow. The rlimit standard states that children should inherit the limits of their parents -- but the 32-bit maximum may be much lower than the 64-bit limit (even if the parent didn't change the limit). So the most restrictive of the limits is used (parent limit vs. 32-bit system-wide limit).&lt;BR /&gt;&lt;BR /&gt;What happens here is that shells are almost always 32-bit processes... and are spawned from a 64-bit process (init). So init starts with the 64-bit (lower) limit, forks 32-bit children... which inherit the lower limit of the 64-bit parent instead of the system-wide 32-bit limit. All processes spawned from the shell inherit the limit of their parent (the shell)... so it propagates from there.</description>
      <pubDate>Thu, 12 Jan 2006 19:15:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-process-terminates-when-data-segement-exceeds-64-bit-data/m-p/3708330#M790410</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2006-01-12T19:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: 32 bit process terminates when data segement exceeds 64-bit data segement limit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-process-terminates-when-data-segement-exceeds-64-bit-data/m-p/3708331#M790411</link>
      <description>It's not that obvious to me but I'm dumb. This problem is when the 64-bit values are less than the 32-bit values and yet the 32-bit executables are limited by the smaller 64-bit values which should be ignored by a 32-bit executable --- including the shell.&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jan 2006 20:47:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-process-terminates-when-data-segement-exceeds-64-bit-data/m-p/3708331#M790411</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-01-12T20:47:23Z</dc:date>
    </item>
  </channel>
</rss>

