<?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 stack size smaller on hpux11i? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-stack-size-smaller-on-hpux11i/m-p/3066160#M904535</link>
    <description>Stuart,&lt;BR /&gt;&lt;BR /&gt;Interesting.  Mine are the same:&lt;BR /&gt;&lt;BR /&gt;manitoba(268)root# uname -a&lt;BR /&gt;HP-UX manitoba B.11.11 U 9000/800 165901597 unlimited-user license&lt;BR /&gt;manitoba(269)root# ulimit -a&lt;BR /&gt;time(seconds)        unlimited&lt;BR /&gt;file(blocks)         unlimited&lt;BR /&gt;data(kbytes)         262144&lt;BR /&gt;stack(kbytes)        8192&lt;BR /&gt;memory(kbytes)       unlimited&lt;BR /&gt;coredump(blocks)     4194303&lt;BR /&gt;nofiles(descriptors) 60&lt;BR /&gt;&lt;BR /&gt;yukon(63)root# uname -a&lt;BR /&gt;HP-UX yukon B.11.00 U 9000/800 650349313 unlimited-user license&lt;BR /&gt;yukon(64)root# ulimit -a&lt;BR /&gt;time(seconds)        unlimited&lt;BR /&gt;file(blocks)         unlimited&lt;BR /&gt;data(kbytes)         966852&lt;BR /&gt;stack(kbytes)        8192&lt;BR /&gt;memory(kbytes)       unlimited&lt;BR /&gt;coredump(blocks)     4194303&lt;BR /&gt;nofiles(descriptors) 60&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 08 Sep 2003 17:44:51 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2003-09-08T17:44:51Z</dc:date>
    <item>
      <title>ulimit stack size smaller on hpux11i?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-stack-size-smaller-on-hpux11i/m-p/3066159#M904534</link>
      <description>1.      ulimits are different on acshps05 and wcshps06:&lt;BR /&gt;                                 &lt;BR /&gt;                saroot@acshps05:/home/saroot# ulimit -a&lt;BR /&gt;&lt;BR /&gt;                time(seconds)        unlimited&lt;BR /&gt;                file(blocks)         unlimited&lt;BR /&gt;                data(kbytes)         341796&lt;BR /&gt;                stack(kbytes)        12288&lt;BR /&gt;                memory(kbytes)       unlimited&lt;BR /&gt;                coredump(blocks)     4194303&lt;BR /&gt;&lt;BR /&gt;                saroot@wcshps06:/home/saroot# ulimit -a&lt;BR /&gt;&lt;BR /&gt;                time(seconds)        unlimited&lt;BR /&gt;                file(blocks)         unlimited&lt;BR /&gt;                data(kbytes)         341796&lt;BR /&gt;                stack(kbytes)        8192               &amp;lt;== stack smaller&lt;BR /&gt;                memory(kbytes)       unlimited&lt;BR /&gt;                coredump(blocks)     4194303&lt;BR /&gt;                nofiles(descriptors) 60                 &amp;lt;== maxfiles smaller&lt;BR /&gt;                 &lt;BR /&gt;2.      But the kernel parameter that controls stack size (maxssiz) is &lt;BR /&gt;        the same:&lt;BR /&gt;&lt;BR /&gt;                saroot@acshps05:/home/saroot# kmtune -lq maxssiz&lt;BR /&gt;&lt;BR /&gt;                Parameter:      maxssiz             &lt;BR /&gt;                Value:          12582912         &lt;BR /&gt;                Default:        0x00800000      &lt;BR /&gt;                Minimum:        -              &lt;BR /&gt;                Module:         -                             &lt;BR /&gt;&lt;BR /&gt;                saroot@wcshps06:/stand# kmtune -lq maxssiz&lt;BR /&gt;&lt;BR /&gt;                Parameter:      maxssiz             &lt;BR /&gt;                Current:        12582912&lt;BR /&gt;                Planned:        12582912          &lt;BR /&gt;                Default:        0x00800000       &lt;BR /&gt;                Minimum:        -               &lt;BR /&gt;                Module:         -                             &lt;BR /&gt;                Version:        -                             &lt;BR /&gt;                Dynamic:        No&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is the ulimit SMALLER on hpux 11i?  Why would that be?&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Sep 2003 17:40:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-stack-size-smaller-on-hpux11i/m-p/3066159#M904534</guid>
      <dc:creator>Stuart Abramson_2</dc:creator>
      <dc:date>2003-09-08T17:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit stack size smaller on hpux11i?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-stack-size-smaller-on-hpux11i/m-p/3066160#M904535</link>
      <description>Stuart,&lt;BR /&gt;&lt;BR /&gt;Interesting.  Mine are the same:&lt;BR /&gt;&lt;BR /&gt;manitoba(268)root# uname -a&lt;BR /&gt;HP-UX manitoba B.11.11 U 9000/800 165901597 unlimited-user license&lt;BR /&gt;manitoba(269)root# ulimit -a&lt;BR /&gt;time(seconds)        unlimited&lt;BR /&gt;file(blocks)         unlimited&lt;BR /&gt;data(kbytes)         262144&lt;BR /&gt;stack(kbytes)        8192&lt;BR /&gt;memory(kbytes)       unlimited&lt;BR /&gt;coredump(blocks)     4194303&lt;BR /&gt;nofiles(descriptors) 60&lt;BR /&gt;&lt;BR /&gt;yukon(63)root# uname -a&lt;BR /&gt;HP-UX yukon B.11.00 U 9000/800 650349313 unlimited-user license&lt;BR /&gt;yukon(64)root# ulimit -a&lt;BR /&gt;time(seconds)        unlimited&lt;BR /&gt;file(blocks)         unlimited&lt;BR /&gt;data(kbytes)         966852&lt;BR /&gt;stack(kbytes)        8192&lt;BR /&gt;memory(kbytes)       unlimited&lt;BR /&gt;coredump(blocks)     4194303&lt;BR /&gt;nofiles(descriptors) 60&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Sep 2003 17:44:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-stack-size-smaller-on-hpux11i/m-p/3066160#M904535</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-09-08T17:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit stack size smaller on hpux11i?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-stack-size-smaller-on-hpux11i/m-p/3066161#M904536</link>
      <description>My stacksize as reported by ulimit exactly matches the value specified by maxssiz in 11.11 and 11.0. My best guess is that you have a smaller ulimit set in /etc/profile or .profile.&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Sep 2003 17:46:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-stack-size-smaller-on-hpux11i/m-p/3066161#M904536</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-09-08T17:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit stack size smaller on hpux11i?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-stack-size-smaller-on-hpux11i/m-p/3066162#M904537</link>
      <description>11.11&lt;BR /&gt;&lt;BR /&gt;[141]# ulimit -a&lt;BR /&gt;time(seconds)        unlimited&lt;BR /&gt;file(blocks)         unlimited&lt;BR /&gt;data(kbytes)         2015464&lt;BR /&gt;stack(kbytes)        131072&lt;BR /&gt;memory(kbytes)       unlimited&lt;BR /&gt;coredump(blocks)     4194303&lt;BR /&gt;nofiles(descriptors) 4096&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[142]# kmtune -lq maxssiz&lt;BR /&gt;Parameter:      maxssiz&lt;BR /&gt;Current:        134217728&lt;BR /&gt;Planned:        134217728&lt;BR /&gt;Default:        0x00800000&lt;BR /&gt;Minimum:        -&lt;BR /&gt;Module:         -&lt;BR /&gt;Version:        -&lt;BR /&gt;Dynamic:        No&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;11.00 (Still got one)&lt;BR /&gt;[1090]# ulimit -a&lt;BR /&gt;time(seconds)        unlimited&lt;BR /&gt;file(blocks)         unlimited&lt;BR /&gt;data(kbytes)         391272&lt;BR /&gt;stack(kbytes)        8192&lt;BR /&gt;memory(kbytes)       unlimited&lt;BR /&gt;coredump(blocks)     4194303&lt;BR /&gt;nofiles(descriptors) 180&lt;BR /&gt;&lt;BR /&gt;kmtune -lq maxssiz &lt;BR /&gt;&lt;BR /&gt;[1092]# kmtune -lq maxssiz&lt;BR /&gt;Parameter:      maxssiz&lt;BR /&gt;Value:          0x00800000&lt;BR /&gt;Default:        0x00800000&lt;BR /&gt;Minimum:        -&lt;BR /&gt;Module:         -&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;My variances are due to decisions I made.  I built the 11.11 system, not the 11.00 system, but I've managed it long enough to take responsibility.&lt;BR /&gt;&lt;BR /&gt;I'm with A. Clay's conclusion.&lt;BR /&gt;&lt;BR /&gt;Pete: Nice system names.  I like cities.  Mine come from Israel.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Sep 2003 18:00:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-stack-size-smaller-on-hpux11i/m-p/3066162#M904537</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-09-08T18:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit stack size smaller on hpux11i?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-stack-size-smaller-on-hpux11i/m-p/3066163#M904538</link>
      <description>SEP,&lt;BR /&gt;&lt;BR /&gt;I almost edited them out but thought:  why?  &lt;BR /&gt;&lt;BR /&gt;They date back to our very first servers when we started downsizing off the mainframe.  HP came in to setup the orginal servers and arbitrarily named them after Canadian provinces.  I keep saying that some day I'll go back to our original development and production names  Sire and Dam, but I never get around to it.  Knowing my sloppy, lazy programmers, I'd be fixing scripts for the rest of my life.&lt;BR /&gt;&lt;BR /&gt;;^)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Sep 2003 18:10:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-stack-size-smaller-on-hpux11i/m-p/3066163#M904538</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-09-08T18:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit stack size smaller on hpux11i?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-stack-size-smaller-on-hpux11i/m-p/3066164#M904539</link>
      <description>I don't have any "ulimit" entries in /etc/profile or .profile.  It happens to all users, not just to me.  It happens to root.&lt;BR /&gt;&lt;BR /&gt;On my hpux 11.0 systems, the ulimit values take on the kernel parameter values.  On hpux 11i, all of the ulimit parameters take on the kernel parameter values, except maxssiz, which is smaller than the kernel parameter....</description>
      <pubDate>Mon, 08 Sep 2003 18:43:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-stack-size-smaller-on-hpux11i/m-p/3066164#M904539</guid>
      <dc:creator>Stuart Abramson_2</dc:creator>
      <dc:date>2003-09-08T18:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit stack size smaller on hpux11i?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-stack-size-smaller-on-hpux11i/m-p/3066165#M904540</link>
      <description>I can't reproduce your situation but I do note that your ulimit -s value on your 11.11 box is the default maxssiz value. I'm beginning to suspect that you have something like a /stand/vmunix which does not match /dev/kmem. Such a situation can occur when a kernel has been built but not booted.&lt;BR /&gt;&lt;BR /&gt;Try this as root because super-user is allowed to increase a ulimit value.&lt;BR /&gt;&lt;BR /&gt;ulimit -s 12288&lt;BR /&gt;ulimit -a&lt;BR /&gt;&lt;BR /&gt;If the value increased then ulimit has to be getting set somewhere but if you are not allowed to increase to that value then you are hitting the hard limit imposed by the maxssiz value.&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Sep 2003 19:26:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-stack-size-smaller-on-hpux11i/m-p/3066165#M904540</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-09-08T19:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit stack size smaller on hpux11i?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-stack-size-smaller-on-hpux11i/m-p/3066166#M904541</link>
      <description>Hi Stuart,&lt;BR /&gt;&lt;BR /&gt;If you're not hitting the hard limit as per Clay's comments you could be experiencing something similar to what was witnessed in this post :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc103dfdc95b632488ccd1ac6de561f9a,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc103dfdc95b632488ccd1ac6de561f9a,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It was found that the 64 bit kernel limits take precendence over 32 bit limits as when the kernel forks init its a 64 bit process - all processes running on the system are decendants of init hence during the fork process the limits are inherited from it. To cut a long story short check maxssiz_64bit - its default from /usr/conf/master.d/core-hpux is indeed 8MB.&lt;BR /&gt;&lt;BR /&gt;cheers,&lt;BR /&gt;&lt;BR /&gt;James.</description>
      <pubDate>Mon, 08 Sep 2003 20:22:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-stack-size-smaller-on-hpux11i/m-p/3066166#M904541</guid>
      <dc:creator>James Murtagh</dc:creator>
      <dc:date>2003-09-08T20:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit stack size smaller on hpux11i?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-stack-size-smaller-on-hpux11i/m-p/3066167#M904542</link>
      <description>I like both these last two answers:&lt;BR /&gt;&lt;BR /&gt;1.  I CAN increase my ulimit as root, but nobody else can.&lt;BR /&gt;&lt;BR /&gt;2.  I can't find anybody who is calling "ulimit" or /var/adm/cron/.proto .  I have been doing "find"-s all day.&lt;BR /&gt;&lt;BR /&gt;3.  I think that my system may be getting mixed up with the 64-bit ulimit.  I'm going to follow that other thread.&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Sep 2003 20:26:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-stack-size-smaller-on-hpux11i/m-p/3066167#M904542</guid>
      <dc:creator>Stuart Abramson_2</dc:creator>
      <dc:date>2003-09-08T20:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit stack size smaller on hpux11i?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-stack-size-smaller-on-hpux11i/m-p/3066168#M904543</link>
      <description>James Murtaugh had the right answer.&lt;BR /&gt;&lt;BR /&gt;For some reason, maxssiz was taking the smaller of the two:&lt;BR /&gt;&lt;BR /&gt;  maxssiz  12482912&lt;BR /&gt;  maxssiz_64bit  0x00800000&lt;BR /&gt;&lt;BR /&gt;It was taking maxssiz_64bit, which is 8 MB or so instead of the maxssiz which is 12 MB.&lt;BR /&gt;&lt;BR /&gt;I bumped maxssiz_64bit up to equal to maxssiz, and now I'm fine.&lt;BR /&gt;&lt;BR /&gt;James, send me something and I'll give you 5 more points.  &lt;BR /&gt;&lt;BR /&gt;Thanks, all.</description>
      <pubDate>Tue, 09 Sep 2003 16:25:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-stack-size-smaller-on-hpux11i/m-p/3066168#M904543</guid>
      <dc:creator>Stuart Abramson_2</dc:creator>
      <dc:date>2003-09-09T16:25:14Z</dc:date>
    </item>
  </channel>
</rss>

