How to set ulimit parameter when system starts?

خرید بک لینک

I want to correct the number of processes for the specific user.

Operation system is CentOS 6.

now I have next status for ulimit -a:

[user@ECSC00104BFD ~]$ 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) 59687
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 1024
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

I want to set ulimit -u to 50000, when the system starts.

I am doing it manually per session.

How to achieve this?

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 286 تاريخ: جمعه 8 مرداد 1395 ساعت: 21:07

صفحه بندی