[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

limits.conf problem



Hello list,
This is my limits.conf for testing Debian GNU/Linux server:

*               hard    core            0
*               hard    nofile          1024
*               hard    rss             10000
*               hard    nproc           100
*               hard    stack           102400
root            hard    core            0
root            hard    nofile          65536
#root            hard    rss            400000
root            hard    nproc           65536



Please notice that I set 102400 KB of stack size for individual user.
However, when I ssh login and ulimit -a, I get


core file size        (blocks, -c) 0
data seg size         (kbytes, -d) unlimited
file size             (blocks, -f) unlimited
max locked memory     (kbytes, -l) unlimited
max memory size       (kbytes, -m) 10000
open files                    (-n) 1024
pipe size          (512 bytes, -p) 8
stack size            (kbytes, -s) 8192
cpu time             (seconds, -t) unlimited
max user processes            (-u) 100
virtual memory        (kbytes, -v) unlimited


The stack size become 8192 only. Is there any configuration that make
the limit above limits.conf?


-- 
Patrick Hsieh <pahud@pahud.net>

GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg



-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: