<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/3898276#M772400</link>
    <description>hi&lt;BR /&gt;&lt;BR /&gt;pls find the parameters from both 11.11 and 11.23 below&lt;BR /&gt;&lt;BR /&gt;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)        131072&lt;BR /&gt;memory(kbytes)       unlimited&lt;BR /&gt;coredump(blocks)     4194303&lt;BR /&gt;&lt;BR /&gt;maxdsiz                1073741824   1073741824   Static&lt;BR /&gt;maxdsiz_64bit          2415919104   2415919104   Static  &lt;BR /&gt;&lt;BR /&gt;on 11.23&lt;BR /&gt;----------------&lt;BR /&gt;time(seconds)        unlimited&lt;BR /&gt;file(blocks)         unlimited&lt;BR /&gt;data(kbytes)         1048576&lt;BR /&gt;stack(kbytes)        8192&lt;BR /&gt;memory(kbytes)       unlimited&lt;BR /&gt;coredump(blocks)     4194303&lt;BR /&gt;&lt;BR /&gt;maxdsiz                  1073741824 1073741824 yes&lt;BR /&gt;maxdsiz_64bit            4294967296 4294967296 yes&lt;BR /&gt;&lt;BR /&gt;Pls find that here the stack value is less in 11.23 server. So pls any one tell me if it can be increased.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;arun</description>
    <pubDate>Thu, 16 Nov 2006 09:26:55 GMT</pubDate>
    <dc:creator>arun_k</dc:creator>
    <dc:date>2006-11-16T09:26:55Z</dc:date>
    <item>
      <title>ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/3898268#M772392</link>
      <description>hi all&lt;BR /&gt;&lt;BR /&gt;I have hp-ux 11.23 Itanium system. In 'ulimit -a' I am getting stack value 8192. Is there any way I can increase this value. My application people wants this to be modified.&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;arun</description>
      <pubDate>Tue, 14 Nov 2006 15:22:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/3898268#M772392</guid>
      <dc:creator>arun_k</dc:creator>
      <dc:date>2006-11-14T15:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/3898269#M772393</link>
      <description>The stack size is controlled by the maxssize kernel parameter. You can change it with kmtune ( &lt;A href="http://docs.hp.com/en/B9106-90008/kmtune.1M.html)" target="_blank"&gt;http://docs.hp.com/en/B9106-90008/kmtune.1M.html)&lt;/A&gt; or via SAM.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Tue, 14 Nov 2006 15:33:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/3898269#M772393</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2006-11-14T15:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/3898270#M772394</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;The maxssize value is same in my 2 servers but the ulimit -a . stack value is less in 11.23 system than the other server i have . other one is 11.11 PArisc based&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Nov 2006 16:24:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/3898270#M772394</guid>
      <dc:creator>arun_k</dc:creator>
      <dc:date>2006-11-14T16:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/3898271#M772395</link>
      <description>Who wants their maxssiz greater than 8Mb?  Some Fortran application?&lt;BR /&gt;&lt;BR /&gt;Note: Don't go crazy and make it too big since that will limit maxdsiz for 32 bit apps.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;The maxssiz value is same in my 2 servers but the ulimit -a stack value is less in 11.23 system&lt;BR /&gt;&lt;BR /&gt;What is your maxssiz_64bit?  It must be larger than maxssiz.  Also does your maxssiz match your 8 Mb ulimit value?</description>
      <pubDate>Tue, 14 Nov 2006 22:29:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/3898271#M772395</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2006-11-14T22:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/3898272#M772396</link>
      <description>hi arun,&lt;BR /&gt;&lt;BR /&gt;First of all, note that on HP-UX you cannot increase a soft limit above a kernel imposed hard limit.&lt;BR /&gt;&lt;BR /&gt;To raise a kernel imposed hard limit use SAM or kmupdate.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Changing a kernel imposed hard limit requires a reboot.&lt;BR /&gt;&lt;BR /&gt;HP-UX has some different process resource limits for 64bit executables that cannot be modified via 'limit' or 'ulimit'.  These parameters, recognizable by their '_64bit' suffix, can only be changed by an OS kernel update.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To display hard limit values from the HP-UX kernel:&lt;BR /&gt;   # sam&lt;BR /&gt;   -or-  &lt;BR /&gt;&lt;BR /&gt;$ /usr/sbin/kmtune|grep max&lt;BR /&gt;...&lt;BR /&gt;maxdsiz            0x40000000  -  0X40000000&lt;BR /&gt;maxdsiz_64bit      0x80000000  -  0X80000000&lt;BR /&gt;maxfiles                 2048  -  2048&lt;BR /&gt;maxfiles_lim             2048  Y  2048&lt;BR /&gt;...&lt;BR /&gt;maxssiz             0x8000000  -  0X8000000&lt;BR /&gt;maxssiz_64bit      0x40000000  -  0X40000000&lt;BR /&gt;..&lt;BR /&gt;maxtsiz             0x4000000  Y  0X4000000&lt;BR /&gt;maxtsiz_64bit      0x40000000  Y  0X40000000&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Wed, 15 Nov 2006 01:54:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/3898272#M772396</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-11-15T01:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/3898273#M772397</link>
      <description>&amp;gt;Yogeeraj: Changing a kernel imposed hard limit requires a reboot.&lt;BR /&gt;&lt;BR /&gt;On 11.23, these are dynamic tunables and can be changed with kctune, without a reboot.&lt;BR /&gt;&lt;BR /&gt;It seems only maxrsessiz* needs a reboot.</description>
      <pubDate>Wed, 15 Nov 2006 02:24:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/3898273#M772397</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2006-11-15T02:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/3898274#M772398</link>
      <description>&lt;!--!*#--&gt;hi arun,&lt;BR /&gt;&lt;BR /&gt;First of all, note that on HP-UX you cannot increase a soft limit above a kernel imposed hard limit.&lt;BR /&gt;&lt;BR /&gt;To raise a kernel imposed hard limit use SAM or kmupdate.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Changing a kernel imposed hard limit requires a reboot.&lt;BR /&gt;&lt;BR /&gt;HP-UX has some different process resource limits for 64bit executables that cannot be modified via 'limit' or 'ulimit'.  These parameters, recognizable by their '_64bit' suffix, can only be changed by an OS kernel update.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To display hard limit values from the HP-UX kernel:&lt;BR /&gt;   # sam&lt;BR /&gt;   -or-  &lt;BR /&gt;&lt;BR /&gt;$ /usr/sbin/kmtune|grep max&lt;BR /&gt;...&lt;BR /&gt;maxdsiz            0x40000000  -  0X40000000&lt;BR /&gt;maxdsiz_64bit      0x80000000  -  0X80000000&lt;BR /&gt;maxfiles                 2048  -  2048&lt;BR /&gt;maxfiles_lim             2048  Y  2048&lt;BR /&gt;...&lt;BR /&gt;maxssiz             0x8000000  -  0X8000000&lt;BR /&gt;maxssiz_64bit      0x40000000  -  0X40000000&lt;BR /&gt;..&lt;BR /&gt;maxtsiz             0x4000000  Y  0X4000000&lt;BR /&gt;maxtsiz_64bit      0x40000000  Y  0X40000000&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Wed, 15 Nov 2006 04:26:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/3898274#M772398</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-11-15T04:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/3898275#M772399</link>
      <description>Thank you Dennis for the correction.&lt;BR /&gt;I was not aware of it. &lt;BR /&gt;&lt;BR /&gt;Thanks again&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Nov 2006 04:38:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/3898275#M772399</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-11-15T04:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/3898276#M772400</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;pls find the parameters from both 11.11 and 11.23 below&lt;BR /&gt;&lt;BR /&gt;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)        131072&lt;BR /&gt;memory(kbytes)       unlimited&lt;BR /&gt;coredump(blocks)     4194303&lt;BR /&gt;&lt;BR /&gt;maxdsiz                1073741824   1073741824   Static&lt;BR /&gt;maxdsiz_64bit          2415919104   2415919104   Static  &lt;BR /&gt;&lt;BR /&gt;on 11.23&lt;BR /&gt;----------------&lt;BR /&gt;time(seconds)        unlimited&lt;BR /&gt;file(blocks)         unlimited&lt;BR /&gt;data(kbytes)         1048576&lt;BR /&gt;stack(kbytes)        8192&lt;BR /&gt;memory(kbytes)       unlimited&lt;BR /&gt;coredump(blocks)     4194303&lt;BR /&gt;&lt;BR /&gt;maxdsiz                  1073741824 1073741824 yes&lt;BR /&gt;maxdsiz_64bit            4294967296 4294967296 yes&lt;BR /&gt;&lt;BR /&gt;Pls find that here the stack value is less in 11.23 server. So pls any one tell me if it can be increased.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;arun</description>
      <pubDate>Thu, 16 Nov 2006 09:26:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/3898276#M772400</guid>
      <dc:creator>arun_k</dc:creator>
      <dc:date>2006-11-16T09:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/3898277#M772401</link>
      <description>Yes, it can -- and Dennis already told you how.&lt;BR /&gt;&lt;BR /&gt;You need to check the values of maxssiz and maxssiz_64bit, not maxdsiz [Data != Stack]. Assuming they're lower than what you want, raise whichever is appropriate via kctune. It is important to check both because of the way the system starts up and limits are inherited.. the root-of-all processes is 64-bit, but most shells are 32-bit and the inheritance policy is to inherit the parent's limits where possible... which means the 64-bit limit will override the 32-bit limit if it is lower.&lt;BR /&gt;&lt;BR /&gt;I would ask your application people _why_ they need 128Mb stacks, though. If they aren't running Java or Fortran [both of which have models where large stack arrays are common], then they're more likely to have bad code or coding practices and should do allocations on the heap (or ease off of the recursion). It is important to not just raise this arbitrarily because the virtual address space you're allowing the stack to use is no longer usable by Data or other Private objects... which means that setting maxssiz to 128Mb in the default model limits Data/Private virtual address space to 1Gb - 128Mb, or 896Mb.</description>
      <pubDate>Thu, 16 Nov 2006 11:34:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/3898277#M772401</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2006-11-16T11:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/3898278#M772402</link>
      <description>Oh -- one other note. max*siz{_64bit} tunables are dynamic in 11.23 -- but as the man pages note, processes already running are not affected by the change, only new processes.&lt;BR /&gt;&lt;BR /&gt;So if the application you want to raise the stack on is already running, you'll want to increase the tunable and restart the application so it gets the larger stack.</description>
      <pubDate>Thu, 16 Nov 2006 11:35:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/3898278#M772402</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2006-11-16T11:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/3898279#M772403</link>
      <description>hi &lt;BR /&gt;&lt;BR /&gt;thanks DON and DENNIS for info. I was confused with maxssize and maxdsize. Now I corrected it. &lt;BR /&gt;&lt;BR /&gt;thanks for the help once again.</description>
      <pubDate>Tue, 21 Nov 2006 08:32:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/3898279#M772403</guid>
      <dc:creator>arun_k</dc:creator>
      <dc:date>2006-11-21T08:32:43Z</dc:date>
    </item>
  </channel>
</rss>

