do not restrict worker's memory

This commit is contained in:
Nikos Mavrogiannopoulos
2013-05-19 19:05:13 +02:00
parent f803b2bdf6
commit 026c31e72a

View File

@@ -399,6 +399,7 @@ static void drop_privileges(main_server_st* s)
strerror(e));
}
#if 0
#define MAX_WORKER_MEM (4*1024*1024)
if (s->config->debug == 0) {
rl.rlim_cur = MAX_WORKER_MEM;
@@ -410,6 +411,7 @@ static void drop_privileges(main_server_st* s)
strerror(e));
}
}
#endif
}
/* clears the server llist and clist. To be used after fork().