To all:

Operating system is RedHat 6.1 on an Alpha machine. See below
for remarks on intel machines.

How do I change the default stacksize for unprivileged users?
Or better yet let them change it?

Here's what happens.

    $ ulimit -s 16384
    ulimit: cannot raise limit: Operation not permitted


Here's the default soft limit

     $ ulimit -a
     core file size (blocks)  0
     data seg size (kbytes)   unlimited
     file size (blocks)       unlimited
     max memory size (kbytes) unlimited
     stack size (kbytes)      8192
     cpu time (seconds)       unlimited
     max user processes       256
     pipe size (512 bytes)    8
     open files               1024
     virtual memory (kbytes)  9007199254749183

Here's the default hard limit
     $ ulimit -a -h
     core file size (blocks)  0
     data seg size (kbytes)   unlimited
     file size (blocks)       unlimited
     max memory size (kbytes) unlimited
     stack size (kbytes)      8192
     cpu time (seconds)       unlimited
     max user processes       256
     pipe size (512 bytes)    8
     open files               1024
     virtual memory (kbytes)  9007199254749183

On our intel machines, also running RedHat 6.1, we have
exactly the same defaults, but users can override them
even going over the hard limits.

Thanks, --Lew


Reply via email to