<?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: set ulimit stack unlimited in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/set-ulimit-stack-unlimited/m-p/6669928#M487961</link>
    <description>&lt;P&gt;&amp;gt;I will check with the Application vendor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this Oracle?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;SPAN&gt;what is preventing the stack value to increase although it go until 128 MB max.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As I mentioned, if the hard limit is 16 MB, you can't increase it unless you are root or you log out.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Nov 2014 18:29:49 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2014-11-12T18:29:49Z</dc:date>
    <item>
      <title>set ulimit stack unlimited</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/set-ulimit-stack-unlimited/m-p/6668708#M487954</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We want to modify the ulimit stack value to unlimited,&lt;/P&gt;
&lt;P&gt;Version: HP-UX 11.31&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt; ulimit -s unlimited&lt;BR /&gt;sh: ulimit: The specified value exceeds the user's allowable limit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;ulimit -Sa&lt;BR /&gt;time(seconds) unlimited&lt;BR /&gt;file(blocks) unlimited&lt;BR /&gt;data(kbytes) 1048576&lt;BR /&gt;stack(kbytes) 16384&lt;BR /&gt;memory(kbytes) unlimited&lt;BR /&gt;coredump(blocks) 4194303&lt;BR /&gt;nofiles(descriptors) 1024&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;fomhrtst:/home/oracle:central&amp;gt;kctune |grep maxs&lt;BR /&gt;maxssiz 134217728 134217728 Immed&lt;BR /&gt;maxssiz_64bit 1073741824 1073741824 Immed&lt;BR /&gt;pa_maxssiz_32bit 83648512 Default Immed&lt;BR /&gt;pa_maxssiz_64bit 536870912 Default Immed&lt;BR /&gt;vol_maxspecialio 256 Default&lt;BR /&gt;vol_maxstablebufsize 256 Default&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;fomhrtst:/home/oracle:central&amp;gt;kctune |grep maxd&lt;BR /&gt;maxdsiz 1073741824 1073741824 Immed&lt;BR /&gt;maxdsiz_64bit 2147483648 2147483648 Immed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;fomhrtst:/home/oracle:central&amp;gt;/usr/sbin/sysdef|grep max&lt;BR /&gt;maxdsiz 16384 - 0-655360 Pages -&lt;BR /&gt;maxdsiz_64bit 32768 - 256-1048576 Pages -&lt;BR /&gt;maxfiles 1024 - 30-2048 -&lt;BR /&gt;maxfiles_lim 63488 - 30-2048 -&lt;BR /&gt;maxssiz 2048 - 0-655360 Pages -&lt;BR /&gt;maxssiz_64bit 16384 - 256-1048576 Pages -&lt;BR /&gt;maxswapchunks 0 - 1-16384 -&lt;BR /&gt;maxtsiz 1536 - 0-655360 Pages -&lt;BR /&gt;maxtsiz_64bit 16384 - 256-1048576 Pages -&lt;BR /&gt;maxuprc 3686 - 3- -&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The size of the stack is limited to the corresponding kernel parms &amp;nbsp;maxssiz,&amp;nbsp;maxssiz_64bit,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;the kernel parameter shows that they are 128MB and 1GB respectively, but we cannot increase it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ANy help would be aprreciated.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S. This thread has been moved from HP-UX&amp;gt;General to HP-UX &amp;gt; sysadmin. -HP Forum Moderator&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2014 02:49:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/set-ulimit-stack-unlimited/m-p/6668708#M487954</guid>
      <dc:creator>1221</dc:creator>
      <dc:date>2014-11-12T02:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: set ulimit stack unlimited</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/set-ulimit-stack-unlimited/m-p/6668890#M487955</link>
      <description>&lt;P&gt;You can't set the stack size to unlimited.&amp;nbsp; The very last message you give states why.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;**********&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The size of the stack is limited to the corresponding kernel parms &amp;nbsp;maxssiz,&amp;nbsp;maxssiz_64bit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;**********&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You have to try setting the ulimit value for the stack to some specific value that is less than or equal to the kernel parameter.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example, to set the stack limit to 128 MB (131,072 KB):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# ulimit -s 131072&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;By the way, 128 MB (maxssiz) and 1 GB (maxssiz_64bit) are very high for a stack size.&amp;nbsp; If you really need a stack that large, then there may be some serious issues with your code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2014 14:25:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/set-ulimit-stack-unlimited/m-p/6668890#M487955</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2014-11-11T14:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: set ulimit stack unlimited</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/set-ulimit-stack-unlimited/m-p/6669090#M487956</link>
      <description>&lt;P&gt;&amp;gt;We want to modify the ulimit stack value to unlimited&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As Patrick says, you cannot.&amp;nbsp; You can just make it as big as you need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;SPAN&gt;the kernel parameter shows that they are 128MB and 1GB respectively, but we cannot increase it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You currently have 16,384 KB and your maxssiz is 134,217,728.&amp;nbsp; If maxssiz was changed after you logged in, you will have to login again.&amp;nbsp; But using "ulimit -Ha" will give you the current hard limits for your process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;128 MB (maxssiz) and 1 GB (maxssiz_64bit) are very high for a stack size.&amp;nbsp; If you really need a stack that large, then there may be some serious issues with your code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I.e. a broken Fortran application.&amp;nbsp; Or recursion gone wild.&lt;/P&gt;&lt;P&gt;And what's worse is every byte in maxssiz takes it away from maxdsiz.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2014 18:01:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/set-ulimit-stack-unlimited/m-p/6669090#M487956</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2014-11-11T18:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: set ulimit stack unlimited</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/set-ulimit-stack-unlimited/m-p/6669416#M487958</link>
      <description>&lt;P&gt;Thanks for replying,&lt;/P&gt;&lt;P&gt;I will check with the Application vendor regarding the "Unlimited" value request.&lt;/P&gt;&lt;P&gt;However, the current value for stack is&amp;nbsp;&lt;SPAN&gt;16,384 KB, I cannot increase to even&amp;nbsp;16,385 KB altough the maxssiz is&amp;nbsp;131,072 KB, and this setting is since beginning.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My question is what is preventing the stack value to increase altough it go until 128MB max.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2014 05:10:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/set-ulimit-stack-unlimited/m-p/6669416#M487958</guid>
      <dc:creator>1221</dc:creator>
      <dc:date>2014-11-12T05:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: set ulimit stack unlimited</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/set-ulimit-stack-unlimited/m-p/6669756#M487959</link>
      <description>&lt;P&gt;Have you actually tried increasing it with the command I gave?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# ulimit -s 131072&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If so, what is the output?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2014 14:42:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/set-ulimit-stack-unlimited/m-p/6669756#M487959</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2014-11-12T14:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: set ulimit stack unlimited</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/set-ulimit-stack-unlimited/m-p/6669928#M487961</link>
      <description>&lt;P&gt;&amp;gt;I will check with the Application vendor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this Oracle?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;SPAN&gt;what is preventing the stack value to increase although it go until 128 MB max.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As I mentioned, if the hard limit is 16 MB, you can't increase it unless you are root or you log out.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2014 18:29:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/set-ulimit-stack-unlimited/m-p/6669928#M487961</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2014-11-12T18:29:49Z</dc:date>
    </item>
  </channel>
</rss>

