disabled limits that break the worker

This commit is contained in:
Nikos Mavrogiannopoulos
2013-12-13 19:09:12 +01:00
parent 316c36fc05
commit fed26bec2e
+2
View File
@@ -402,6 +402,7 @@ static void drop_privileges(main_server_st* s)
strerror(e));
}
#if 0
rl.rlim_cur = 0;
rl.rlim_max = 0;
ret = setrlimit(RLIMIT_FSIZE, &rl);
@@ -422,6 +423,7 @@ static void drop_privileges(main_server_st* s)
strerror(e));
}
}
#endif
}
/* clears the server llist and clist. To be used after fork().