Changing default stacksize on Linux Alpha

From: Lew Randerson (LRanderson@PPPL.Gov)
Date: Mon Jun 12 2000 - 10:09:43 EST


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



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:39 EST