<?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: Process Size limit in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/process-size-limit/m-p/4059396#M737185</link>
    <description>maxdsiz_64bit and the amount of swap space you have.</description>
    <pubDate>Thu, 23 Aug 2007 12:07:28 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2007-08-23T12:07:28Z</dc:date>
    <item>
      <title>Process Size limit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-size-limit/m-p/4059395#M737184</link>
      <description>I want to know what is the process size limit in 64bit mode.&lt;BR /&gt;My OS is&lt;BR /&gt;hpitan2 spdwrk3 spdwrk3 &amp;gt; uname -a&lt;BR /&gt;HP-UX hpitan2 B.11.23 U ia64 3411090122 unlimited-user license&lt;BR /&gt;&lt;BR /&gt;also is there any tool available on HP-UX is can analyze the process memory...like what is the size of the process heap, stack, shared memory segment etc...</description>
      <pubDate>Thu, 23 Aug 2007 12:05:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-size-limit/m-p/4059395#M737184</guid>
      <dc:creator>Dhirendra Singh</dc:creator>
      <dc:date>2007-08-23T12:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Process Size limit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-size-limit/m-p/4059396#M737185</link>
      <description>maxdsiz_64bit and the amount of swap space you have.</description>
      <pubDate>Thu, 23 Aug 2007 12:07:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-size-limit/m-p/4059396#M737185</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-23T12:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Process Size limit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-size-limit/m-p/4059397#M737186</link>
      <description>As i understand maxdsiz_64bit is for maximum size of data(heap) segment.&lt;BR /&gt;is the maximum size of a process is limited by the maximum size of its data segement ?&lt;BR /&gt;&lt;BR /&gt;value of maxdsize_64bit on my system is &lt;BR /&gt;maxdsiz_64bit  4294967296  Default Immed&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Aug 2007 12:20:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-size-limit/m-p/4059397#M737186</guid>
      <dc:creator>Dhirendra Singh</dc:creator>
      <dc:date>2007-08-23T12:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Process Size limit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-size-limit/m-p/4059398#M737187</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Glance is the best tool for analyzing process characteristics. It is not free but its on your application and core OS cd in a 60 day trial format. Once you like it, you can get a permanent license.&lt;BR /&gt;&lt;BR /&gt;If your process uses shared memory then its size is normally limited by shmmax kernel parameter. kmtune or kctune to see current settings. Or SAM&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 23 Aug 2007 12:27:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-size-limit/m-p/4059398#M737187</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-08-23T12:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Process Size limit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-size-limit/m-p/4059399#M737188</link>
      <description>&amp;gt;As i understand maxdsiz_64bit is for maximum size of data(heap) segment.&lt;BR /&gt;&lt;BR /&gt;Yes.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;is the maximum size of a process is limited by the maximum size of its data segment?&lt;BR /&gt;&lt;BR /&gt;Realistically, there is a separate one for stack and text but those should be trivial in size.  And probably one for shared memory.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;value of maxdsize_64bit on my system is 4 Gb.&lt;BR /&gt;&lt;BR /&gt;The hardware supports up to 2^48 or so.  So really the limit is swap space.</description>
      <pubDate>Thu, 23 Aug 2007 12:29:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-size-limit/m-p/4059399#M737188</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-23T12:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Process Size limit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-size-limit/m-p/4059400#M737189</link>
      <description>How i can know what is the size of the swap space ?</description>
      <pubDate>Thu, 23 Aug 2007 12:42:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-size-limit/m-p/4059400#M737189</guid>
      <dc:creator>Dhirendra Singh</dc:creator>
      <dc:date>2007-08-23T12:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Process Size limit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-size-limit/m-p/4059401#M737190</link>
      <description>swapinfo -tam</description>
      <pubDate>Thu, 23 Aug 2007 12:45:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-size-limit/m-p/4059401#M737190</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-08-23T12:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Process Size limit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-size-limit/m-p/4059402#M737191</link>
      <description>&amp;gt;How i can know what is the size of the swap space?&lt;BR /&gt;&lt;BR /&gt;The reason I mention swap space is that you could want your process maxdsiz_64 bit to be 1 Tb but your RAM maybe in terms of Gb.</description>
      <pubDate>Thu, 23 Aug 2007 12:55:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-size-limit/m-p/4059402#M737191</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-23T12:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Process Size limit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-size-limit/m-p/4059403#M737192</link>
      <description>So you mean to say that there is no OS limit for process size. it can only be limited by the values of maxdsiz_64bit,maxssiz_64bit,maxtsiz_64bit and swap space.&lt;BR /&gt;&lt;BR /&gt;ulimit command prints different value for data and stack sizes.&lt;BR /&gt;Which one will take precedence for a process ?&lt;BR /&gt;value shown by ulimit or kctune ?</description>
      <pubDate>Thu, 23 Aug 2007 14:17:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-size-limit/m-p/4059403#M737192</guid>
      <dc:creator>Dhirendra Singh</dc:creator>
      <dc:date>2007-08-23T14:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Process Size limit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-size-limit/m-p/4059404#M737193</link>
      <description>&amp;gt;  So you mean to say that there is no OS limit for process size. &lt;BR /&gt; &lt;BR /&gt;No, there is a limit, but it is measured in thousands of gigabytes.&lt;BR /&gt; &lt;BR /&gt;&amp;gt; it can only be limited by the values of maxdsiz_64bit,maxssiz_64bit,maxtsiz_64bit and swap space.&lt;BR /&gt; &lt;BR /&gt;The kernel parameters are simply fences or limits that the sysadmin want to place on processes in case one grabs all RAM and all swap space -- much to the detriment of all other users. If you set maxdsiz_64 to 900 GB and you only have 50 GB of swap space, then your process will be limited to 50 GB of local memory. Because HP-UX is a virtual memory system, RAM is just a special case of all the addressing space available. If you want a process to use 900 GB of memory, you'll need to provide slightly more than 900 GB of swap space. &lt;BR /&gt; &lt;BR /&gt;NOTE: be prepared for enormous delays (minutes to hours) running programs that require dozens of GB of RAM. These programs will be paused most of the time while memory is rearranged and pages are swapped in and out of memory. While the 64bit limits are extremely large, it does not mean that it is a good idea to use 100 times more RAM than you have available. And note that such swapping affects *every* process in the system because memory is being rearranged. The system overhead is enormous. If you need to run a process using 100 GB of memory, make sure you upgrade your computer to 128 GB of RAM.&lt;BR /&gt; &lt;BR /&gt;&amp;gt; ulimit command prints different value for data and stack sizes. Which one will take precedence for a process? value shown by ulimit or kctune ?&lt;BR /&gt; &lt;BR /&gt;When ulimit says unlimited, it means that maxdsiz_64 is the limit. If ulimit reports a value, than that is the limit in the current environment. ulimit is a shell built-in that can report or modify the current environment. &lt;BR /&gt;</description>
      <pubDate>Thu, 23 Aug 2007 15:00:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-size-limit/m-p/4059404#M737193</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-08-23T15:00:13Z</dc:date>
    </item>
  </channel>
</rss>

