This is the current output of `ulimit -a`:
Code:
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
max nice (-e) 20
file size (blocks, -f) unlimited
pending signals (-i) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) unlimited
max rt priority (-r) unlimited
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) unlimited
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
Now this looks wrong to me because .. well .. for starters .. I'm vulnerable to a fork bomb and probably other attacks.
I have a couple of questions:
#1. Where do you set the above limits? Can you only specify them on command line and if so, will they "survive" a reboot?
#2. Could you recommend some limits please?