<?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: maxdsiz paramter setting in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/maxdsiz-paramter-setting/m-p/2677800#M908802</link>
    <description>Thanks again.  I can now explain to the apps guys why their process occasionally grabbed 1.6GB but normally sits around 900MB.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con</description>
    <pubDate>Thu, 07 Mar 2002 22:47:43 GMT</pubDate>
    <dc:creator>Conal O'Kelly</dc:creator>
    <dc:date>2002-03-07T22:47:43Z</dc:date>
    <item>
      <title>maxdsiz paramter setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxdsiz-paramter-setting/m-p/2677793#M908789</link>
      <description>Maxdsiz kernel parameter setting.  &lt;BR /&gt;I understand the maximum setting for this parameter is approximately 1.9GB for 32 bit applications &amp;amp; this determines the maximum data segment size of a process. On our system there is an application process that wants to grab the maximum (ie 1.8-1.9gb) amount of memory.  However even though I have configured maxdsiz to its stated maximum, the process still only grabs about 800-900MB of memory.  These are figures that I have obtained from ps &amp;amp; glance (eg vsz, rss &amp;amp; also virtual memory from the gpm processes window.)&lt;BR /&gt;Is there anything else (eg other kernel parameters) from an OS perspective that can influence how much memory the process grabs.  The box is physically configured with 4GB of RAM &amp;amp; there is consistently about 1.5-2GB free.&lt;BR /&gt;Previously the process did manage to grab about 1.6gb of memory for a short period of time.  But I have no idea why it is now only using 800-900mb.  &lt;BR /&gt;I have talked with the application people &amp;amp; they assure me they have configured all the necessary parameters within the application.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.&lt;BR /&gt;&lt;BR /&gt;Cheers Con.&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Mar 2002 06:14:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxdsiz-paramter-setting/m-p/2677793#M908789</guid>
      <dc:creator>Conal O'Kelly</dc:creator>
      <dc:date>2002-03-07T06:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: maxdsiz paramter setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxdsiz-paramter-setting/m-p/2677794#M908790</link>
      <description>I don't think there is anything or any changes you can do on the kernel side that can influence how much memory a process grab. Parameters like maxdsiz, maxssiz for example are merely defining the max limit and they help us to prevent poorly written program from eating up huge chunk of memory. &lt;BR /&gt;&lt;BR /&gt;my $0.02</description>
      <pubDate>Thu, 07 Mar 2002 06:36:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxdsiz-paramter-setting/m-p/2677794#M908790</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-03-07T06:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: maxdsiz paramter setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxdsiz-paramter-setting/m-p/2677795#M908791</link>
      <description>By default, a SHARED_MAGIC processes data segment can only grow to about 1Gig.  It is possible to increase this to approx 1.8/1.9 Gig by relinking the program as an EXEC_MAGIC executable with the -N option to ld.  This causes the processes text and data segments to share the same virtual address space.  &lt;BR /&gt;&lt;BR /&gt;For more information have a read of the process management white paper on your system at /usr/share/doc/proc_mgt.txt, in particular the section titled "Handling maxdsiz with EXEC_MAGIC"&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve</description>
      <pubDate>Thu, 07 Mar 2002 11:02:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxdsiz-paramter-setting/m-p/2677795#M908791</guid>
      <dc:creator>Steven Gillard_2</dc:creator>
      <dc:date>2002-03-07T11:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: maxdsiz paramter setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxdsiz-paramter-setting/m-p/2677796#M908792</link>
      <description>Thnaks for the replies.  One final question related to this.  The process in question is consistently grabbing about 900MB of memory (vsz reading from ps command). However it has on occasions grabbed 1.6GB of memory.  Is there anything on the OS side that can influence this assuming that free memory on the system is always around 1.5GB-2GB.&lt;BR /&gt;&lt;BR /&gt;Thanks for the help.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con</description>
      <pubDate>Thu, 07 Mar 2002 22:13:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxdsiz-paramter-setting/m-p/2677796#M908792</guid>
      <dc:creator>Conal O'Kelly</dc:creator>
      <dc:date>2002-03-07T22:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: maxdsiz paramter setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxdsiz-paramter-setting/m-p/2677797#M908793</link>
      <description>To grab that much memory in the 10.20 world, the EXEC_MAGIC has to be enabled AND there has to be that size chunk of memory available. &lt;BR /&gt;&lt;BR /&gt;i.e.&lt;BR /&gt;On the heap, you might have 1GB,30kb,800MB. &lt;BR /&gt;That little 30kb chunk in the middle limits you. It's just a crapshoot as to when that big a chunk is available.</description>
      <pubDate>Thu, 07 Mar 2002 22:24:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxdsiz-paramter-setting/m-p/2677797#M908793</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-03-07T22:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: maxdsiz paramter setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxdsiz-paramter-setting/m-p/2677798#M908798</link>
      <description>Thanks for the response, that makes a lot of sense now.  However can you clarify if this is still the case when running 32 bit applications on 11.x.  I understand running 64 bit applications on 11.00 gets rid of these problems but the application in question is 32bit running on 11.11.&lt;BR /&gt;&lt;BR /&gt;Thanks for the help.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con</description>
      <pubDate>Thu, 07 Mar 2002 22:31:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxdsiz-paramter-setting/m-p/2677798#M908798</guid>
      <dc:creator>Conal O'Kelly</dc:creator>
      <dc:date>2002-03-07T22:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: maxdsiz paramter setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxdsiz-paramter-setting/m-p/2677799#M908801</link>
      <description>Same deal. You might look into memory windows on 64-bit 11x. This will give your 32-bit applications 1.75GB everytime. Just do a search on "memory windows" and you will find what you need. Of course, you already said the best answer re-compile this puppy as 64-bit and forget about it - if you have the source.&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Mar 2002 22:39:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxdsiz-paramter-setting/m-p/2677799#M908801</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-03-07T22:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: maxdsiz paramter setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxdsiz-paramter-setting/m-p/2677800#M908802</link>
      <description>Thanks again.  I can now explain to the apps guys why their process occasionally grabbed 1.6GB but normally sits around 900MB.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con</description>
      <pubDate>Thu, 07 Mar 2002 22:47:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxdsiz-paramter-setting/m-p/2677800#M908802</guid>
      <dc:creator>Conal O'Kelly</dc:creator>
      <dc:date>2002-03-07T22:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: maxdsiz paramter setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxdsiz-paramter-setting/m-p/2677801#M908803</link>
      <description>Have your application developers read the two memory management documents in /usr/share/doc, one is mem_mgt and the other is proc_mgt.  32 bit applications will struggle to get RAM either in the program's data area or shared memory. No matter how much RAM you have, there is only one 3.75Gb area for 32 bit programs, and every 32bit program currently running shares this area.</description>
      <pubDate>Fri, 08 Mar 2002 01:49:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxdsiz-paramter-setting/m-p/2677801#M908803</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-03-08T01:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: maxdsiz paramter setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxdsiz-paramter-setting/m-p/2677802#M908804</link>
      <description>Hi &lt;BR /&gt;I'm hoping for a bit more help in understanding this.  I have determined using the chatr command that the executable for this process has been compiled with the EXEC_MAGIC flag ie the output is saying "normal executable".  &lt;BR /&gt;I assume then that the process should theoretically be able to grab more than 1GB of memory - however the vsz field in ps &amp;amp; glance "virtual memory" are both consistently reporting around 900MB.  &lt;BR /&gt;Clay made mention of this in his reply - is this because the memory has to be available in a contiguous chunk across the first 2 Quadrants??  I have read the proc_mgt paper but am still not clear on exactly why the process can't access this additional memory. As before System has 4GB of Phys Mem &amp;amp; there is consistently 1.5GB free.  &lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;Cheers&lt;BR /&gt;Con&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Mar 2002 02:36:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxdsiz-paramter-setting/m-p/2677802#M908804</guid>
      <dc:creator>Conal O'Kelly</dc:creator>
      <dc:date>2002-03-13T02:36:29Z</dc:date>
    </item>
  </channel>
</rss>

