Thursday, September 17, 2015

Change user limit on AIX

Check limit on user root
=================
# ulimit -a
time(seconds)        unlimited
file(blocks)         2097151
data(kbytes)         131072
stack(kbytes)        32768
memory(kbytes)       32768
coredump(blocks)     2097151
nofiles(descriptors) 2000
threads(per process) unlimited
processes(per user)  unlimited
#
Change limit on user root
==================
# vi /etc/security/limits
 root:
        fsize = -1
        data = -1
        stack = -1
        rss = -1
        nproc = -1

:wq


Verify after changed
==============
# ulimit -a
time(seconds)        unlimited
file(blocks)         unlimited
data(kbytes)         unlimited
stack(kbytes)        4194304
memory(kbytes)       unlimited
coredump(blocks)     2097151
nofiles(descriptors) 2000
threads(per process) unlimited
processes(per user)  unlimited
 

#
Must to close terminal ssh/telnet and try to reconnect and verify.

No comments:

Post a Comment