<?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: ulimit settings ! in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926560#M409124</link>
    <description>No matter what you think, you absolutely positively do not want to set these to unlimited (even if you could) --- and especially not maxssiz --- and here's why not. I talk in 32-bit land speak now although the principle is the same regardless. Both the data and stack are allocated from the same quadrant. Let's suppose that your set maxdsiz to 1GB and maxssiz to 800MB (again, for simplicity in 32-bit applications). Because 800MB is already reserved for the stack (whether used or not) only 200MB would remain for data! (and actually a little bit less). Only extremely poorly written programs ever require stacks larger than 64MB --- even in 64-bit land so set maxssiz to 32 MB and maxssiz_64bit to 64MB. If your programmers need bigger stacks than that, apply a baseball bat to the cranium.</description>
    <pubDate>Thu, 15 Sep 2005 22:26:54 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2005-09-15T22:26:54Z</dc:date>
    <item>
      <title>ulimit settings !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926552#M409116</link>
      <description>Hi All ,&lt;BR /&gt;&lt;BR /&gt;Here is the ulimit outout:&lt;BR /&gt;&lt;BR /&gt;# ulimit -a&lt;BR /&gt;time(seconds)        unlimited&lt;BR /&gt;file(blocks)         unlimited&lt;BR /&gt;data(kbytes)         1048576&lt;BR /&gt;stack(kbytes)        307200&lt;BR /&gt;memory(kbytes)       unlimited&lt;BR /&gt;coredump(blocks)     4194303&lt;BR /&gt;nofiles(descriptors) 2048&lt;BR /&gt;&lt;BR /&gt;we want to set the  data , and stack value to unlimited , how we can do that.&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Thu, 15 Sep 2005 17:38:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926552#M409116</guid>
      <dc:creator>rveri</dc:creator>
      <dc:date>2005-09-15T17:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit settings !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926553#M409117</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Both the data and the stack are in reference to Kernel Parameters. Data (maxdsiz) and Stack (maxssiz).&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Giri Sekar.&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Sep 2005 17:49:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926553#M409117</guid>
      <dc:creator>Giri Sekar.</dc:creator>
      <dc:date>2005-09-15T17:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit settings !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926554#M409118</link>
      <description>Those can't be set to unlimited as they are basically controlled by your maxdsize and maxssize kernel parameters.&lt;BR /&gt;&lt;BR /&gt;You really don't want those to be unlimited anyway.  Why do you need an unlimited stack size or data size?  That would be a real easy way to crash a machine, or at least make it very unresponsive.</description>
      <pubDate>Thu, 15 Sep 2005 17:50:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926554#M409118</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-09-15T17:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit settings !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926555#M409119</link>
      <description>Here is maxdsiz values ...&lt;BR /&gt;Please advice:&lt;BR /&gt;&lt;BR /&gt;maxdsiz            1073741824  -  1073741824&lt;BR /&gt;maxdsiz_64bit      0x80000000  -  0X80000000&lt;BR /&gt;--------------------------------------------&lt;BR /&gt;&lt;BR /&gt;Pls advice.</description>
      <pubDate>Thu, 15 Sep 2005 17:58:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926555#M409119</guid>
      <dc:creator>rveri</dc:creator>
      <dc:date>2005-09-15T17:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit settings !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926556#M409120</link>
      <description>Hi Patrick,&lt;BR /&gt;&lt;BR /&gt;Last week one job, batch cycle experienced an oracle error related to memory usuage .&lt;BR /&gt;After the Oracle tech reviewed our Unix and Oracle environments, he suggested to change kernel parameters data=unlimited and stack=unlimited.&lt;BR /&gt;&lt;BR /&gt;Is that going to be okay with unlimited . Or we can increase the maxdsiz_64bit to 50% .&lt;BR /&gt;&lt;BR /&gt;Pls advice.</description>
      <pubDate>Thu, 15 Sep 2005 18:04:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926556#M409120</guid>
      <dc:creator>rveri</dc:creator>
      <dc:date>2005-09-15T18:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit settings !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926557#M409121</link>
      <description>OK..Do man 1 ld. The maximum value for maxdsiz (for 11.0) is 1.9 Gig. But it will be required to compile and link (executable) with EXEC_MAGIC. Without EXEC_MAGIC the max value for maxdsiz would be approx 900Meg. For maxssiz i think it would be 80 Meg. So you may want to start with 50-60 % of these values and see the performance and then make decision on permanent values.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Giri Sekar.</description>
      <pubDate>Thu, 15 Sep 2005 18:30:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926557#M409121</guid>
      <dc:creator>Giri Sekar.</dc:creator>
      <dc:date>2005-09-15T18:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit settings !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926558#M409122</link>
      <description>Hi Rveri,&lt;BR /&gt;&lt;BR /&gt;Check the url below for document about 'Sys Adm: min, max, and default ulimit values' (docID : KBRC00017143) :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000079973196" target="_blank"&gt;http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000079973196&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;As you already know the data max determined by maxdsiz and stack(kbytes) max determined by maxssiz.Here are kernel parameter info, you can check the url below :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/939/KCParms/KCparam.MaxDsiz.html" target="_blank"&gt;http://docs.hp.com/en/939/KCParms/KCparam.MaxDsiz.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/939/KCParms/KCparam.MaxSsiz.html" target="_blank"&gt;http://docs.hp.com/en/939/KCParms/KCparam.MaxSsiz.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this information can help you.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;AW&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Sep 2005 20:21:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926558#M409122</guid>
      <dc:creator>Adisuria Wangsadinata_1</dc:creator>
      <dc:date>2005-09-15T20:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit settings !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926559#M409123</link>
      <description>If you see the data and stack  size using ulimit as unlimited, it does not mean you can create them  with more than maxsimum acceptable value that allows by kernel.Changing kernel parameters to improper or inappropriate values or combinations of values can cause data loss, system panics, or other (possibly very obscure and/or difficult to diagnose) operating anomalies, depending on which parameters are set to what values.</description>
      <pubDate>Thu, 15 Sep 2005 21:32:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926559#M409123</guid>
      <dc:creator>morganelan</dc:creator>
      <dc:date>2005-09-15T21:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit settings !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926560#M409124</link>
      <description>No matter what you think, you absolutely positively do not want to set these to unlimited (even if you could) --- and especially not maxssiz --- and here's why not. I talk in 32-bit land speak now although the principle is the same regardless. Both the data and stack are allocated from the same quadrant. Let's suppose that your set maxdsiz to 1GB and maxssiz to 800MB (again, for simplicity in 32-bit applications). Because 800MB is already reserved for the stack (whether used or not) only 200MB would remain for data! (and actually a little bit less). Only extremely poorly written programs ever require stacks larger than 64MB --- even in 64-bit land so set maxssiz to 32 MB and maxssiz_64bit to 64MB. If your programmers need bigger stacks than that, apply a baseball bat to the cranium.</description>
      <pubDate>Thu, 15 Sep 2005 22:26:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926560#M409124</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-09-15T22:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit settings !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926561#M409125</link>
      <description>Thanks All ,&lt;BR /&gt;&lt;BR /&gt;What is the Maximum value can be set for MAXDSIZ_64bit :&lt;BR /&gt;&lt;BR /&gt;OS is hp-ux B.11.11 9000/800&lt;BR /&gt;---------------------------------&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/939/KCParms/KCparam.MaxSsiz.html" target="_blank"&gt;http://docs.hp.com/en/939/KCParms/KCparam.MaxSsiz.html&lt;/A&gt;  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This link says : Max can be : &lt;BR /&gt;1073741824 ,  But I am already having 2147483648 set. Thats greater than this value , and planning to add 50% more , to make it 3221225472. &lt;BR /&gt;&lt;BR /&gt;It looks confusing after I found the link.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/939/KCParms/KCparam.MaxSsiz.html" target="_blank"&gt;http://docs.hp.com/en/939/KCParms/KCparam.MaxSsiz.html&lt;/A&gt;  &lt;BR /&gt;&lt;BR /&gt;Pls advice,&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Sep 2005 08:31:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926561#M409125</guid>
      <dc:creator>rveri</dc:creator>
      <dc:date>2005-09-16T08:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit settings !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926562#M409126</link>
      <description>Seems you visited the wrong link :&lt;BR /&gt;&lt;BR /&gt;Here it is :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/939/KCParms/KCparam.MaxDsiz.html" target="_blank"&gt;http://docs.hp.com/en/939/KCParms/KCparam.MaxDsiz.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And max can be set as follows:&lt;BR /&gt;maxdsiz_64bit for 64-bit processors:&lt;BR /&gt;&lt;BR /&gt;Minimum &lt;BR /&gt;0x400000 (4 Mbytes) &lt;BR /&gt;Maximum &lt;BR /&gt;4396972769279 &lt;BR /&gt;Default &lt;BR /&gt;0x4000000 (64 Mbytes) &lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Fri, 16 Sep 2005 08:33:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926562#M409126</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-09-16T08:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit settings !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926563#M409127</link>
      <description>maxdsiz_64bit for 64-bit processors:&lt;BR /&gt;&lt;BR /&gt;Minimum&lt;BR /&gt;    0x400000 (4 Mbytes) &lt;BR /&gt;Maximum&lt;BR /&gt;    4,396,972,769,279 bytes = 4 TB&lt;BR /&gt;Default&lt;BR /&gt;    0x4000000 (64 Mbytes) &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/939/KCParms/KCparam.MaxDsiz.html" target="_blank"&gt;http://docs.hp.com/en/939/KCParms/KCparam.MaxDsiz.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Sep 2005 08:35:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926563#M409127</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-09-16T08:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit settings !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926564#M409128</link>
      <description>Thanks all , &lt;BR /&gt;&lt;BR /&gt;Here is the ulimit -a  output:of our hpux 11.11&lt;BR /&gt;&lt;BR /&gt;# ulimit -a&lt;BR /&gt;time(seconds) unlimited&lt;BR /&gt;file(blocks) unlimited&lt;BR /&gt;data(kbytes) 1048576&lt;BR /&gt;stack(kbytes) 307200&lt;BR /&gt;memory(kbytes) unlimited&lt;BR /&gt;coredump(blocks) 4194303&lt;BR /&gt;nofiles(descriptors) 2048&lt;BR /&gt;&lt;BR /&gt;so I guess :&lt;BR /&gt;&lt;BR /&gt;'data'  shows --&amp;gt; maxdsiz_64bit value.&lt;BR /&gt;'stack' shows --&amp;gt; maxssiz_64bit value.&lt;BR /&gt;&lt;BR /&gt; maxdsiz_64bit values is = 0x80000000 = 2147483648= 2GB , But its showing 1GB. ??&lt;BR /&gt;&lt;BR /&gt;Also maxssiz_64bit value is :&lt;BR /&gt;maxssiz            0x12c00000  -  0X12C00000&lt;BR /&gt;maxssiz_64bit      0x40000000  -  0X40000000&lt;BR /&gt;&lt;BR /&gt;But its showing : 307MB in ulimit. ??&lt;BR /&gt;Seems its showing the 32bit parameters (ie. maxssiz and maxdsiz) ...&lt;BR /&gt;&lt;BR /&gt;Little Confusing.. it should show the 64 bit parameter , as the OS is 64bit. &lt;BR /&gt;&lt;BR /&gt;Can any one explain.. little bit..&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Sep 2005 08:55:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926564#M409128</guid>
      <dc:creator>rveri</dc:creator>
      <dc:date>2005-09-16T08:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit settings !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926565#M409129</link>
      <description>ulimit is shows data value for maxdsiz , and stack value  for maxsiz values, if it is 64 bit OS it will use the maxdsiz_64bit and maxdsiz_64bit values.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Fri, 16 Sep 2005 09:35:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926565#M409129</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-09-16T09:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit settings !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926566#M409130</link>
      <description>You've got to keep in mind though that just because the OS is 64-bit, not all processes are 64-bit.&lt;BR /&gt;&lt;BR /&gt;If you run a 32-bit program, then the program will use the parameters from maxssiz, maxdsiz and maxtsiz.&lt;BR /&gt;&lt;BR /&gt;If the program is 64-bit, then it will use the 64-bit parameters - maxdsiz_64, maxssiz_64 and maxtsiz_64.&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Sep 2005 10:30:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926566#M409130</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-09-16T10:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit settings !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926567#M409131</link>
      <description>Thanks Patrick , thanks all....</description>
      <pubDate>Fri, 16 Sep 2005 12:21:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-settings/m-p/4926567#M409131</guid>
      <dc:creator>rveri</dc:creator>
      <dc:date>2005-09-16T12:21:15Z</dc:date>
    </item>
  </channel>
</rss>

