From 9cd4fdbdb78e035254e8094b5cff2155857ab764 Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Mon, 29 Jan 2018 16:17:36 +0300 Subject: Introducing extended app process management. - Pre-fork 'processes.spare' application processes; - fork more processes to keep 'processes.spare' idle processes; - fork on-demand up to 'processes.max' count; - scale down idle application processes above 'processes.spare' after 'processes.idle_timeout'; - number of concurrently started application processes also limited by 'processes.spare' (or 1, if spare is 0). --- src/nxt_main_process.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/nxt_main_process.c') diff --git a/src/nxt_main_process.c b/src/nxt_main_process.c index f50475ed..fedd30cd 100644 --- a/src/nxt_main_process.c +++ b/src/nxt_main_process.c @@ -114,12 +114,6 @@ static nxt_conf_map_t nxt_common_app_conf[] = { offsetof(nxt_common_app_conf_t, working_directory), }, - { - nxt_string("workers"), - NXT_CONF_MAP_INT32, - offsetof(nxt_common_app_conf_t, workers), - }, - { nxt_string("home"), NXT_CONF_MAP_CSTRZ, -- cgit