close

# vim /etc/sysctl.conf
-----------------------------
fs.file-max = 65535
-----------------------------

# vim /etc/security/limits.conf
-----------------------------
* soft nofile 65535
* hard nofile 65535
root soft nofile 65535
root hard nofile 65535
jenkins soft nofile 65535
jenkins hard nofile 65535
-----------------------------


# reboot


# ulimit -a
-----------------------------
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 127977
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 65535
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 127977
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
-----------------------------

arrow
arrow
    全站熱搜

    dreamtails 發表在 痞客邦 留言(1) 人氣()