1 Reply Latest reply: Jun 4, 2013 9:32 PM by 1012843 RSS

    why ulimit  fails for stack size in Sol 10 update 11 with project settings?

    1012843
      Hi,

      The following command fails on Solaris 10 update 11 platform. It works fine with update 10. Something has changed in update 11. Any ideas?

      ulimit -Ss 1 (or any number for that matter)
      /bin/ksh: ulimit: exceeds allowable limit

      We have the following setting in project as well.

      process.max-stack-size=(basic,137988707188736,deny)
      process.max-stack-size=(priv,137988707188736,deny)

      Thanks for your help in advance.

      Samy
        • 1. Re: why ulimit  fails for stack size in Sol 10 update 11 with project settings?
          1012843
          Here are the values from the project command if you anyone is wondering

          update 10
          ======

          cat /etc/release
          Oracle Solaris 10 8/11 s10x_u10wos_17b X86
          Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
          Assembled 23 August 2011


          prctl -n process.max-stack-size $$
          process: 10189: /bin/ksh -i
          NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
          process.max-stack-size
          privileged 125TB max deny -
          system 125TB max deny -


          update 11
          ======

          cat /etc/release
          Oracle Solaris 10 1/13 s10x_u11wos_24a X86
          Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved.
          Assembled 17 January 2013


          prctl -n process.max-stack-size $$
          process: 24776: /bin/ksh -i
          NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
          process.max-stack-size
          basic 125TB - deny 24776
          privileged 125TB - deny -
          system 125TB max deny -