Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-12-24 21:13:06 +0300
committerIgor Sysoev <igor@sysoev.ru>2006-12-24 21:13:06 +0300
commit888ea84ce09973b5a7b50dc131fbdfa9fafa703d (patch)
treebbfa678333601ae1a66e3565ba02d7799683ee3e /src/os/unix/ngx_process_cycle.c
parentb4887b289e5ef3fd18b135f970ff0f6d24f3d8a4 (diff)
worker_rlimit_core supports size in K, M, and G
Diffstat (limited to 'src/os/unix/ngx_process_cycle.c')
-rw-r--r--src/os/unix/ngx_process_cycle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/ngx_process_cycle.c b/src/os/unix/ngx_process_cycle.c
index a262ba5eb..da4828f88 100644
--- a/src/os/unix/ngx_process_cycle.c
+++ b/src/os/unix/ngx_process_cycle.c
@@ -787,7 +787,7 @@ ngx_worker_process_init(ngx_cycle_t *cycle, ngx_uint_t priority)
}
}
- if (ccf->rlimit_core != NGX_CONF_UNSET) {
+ if (ccf->rlimit_core != NGX_CONF_UNSET_SIZE) {
rlmt.rlim_cur = (rlim_t) ccf->rlimit_core;
rlmt.rlim_max = (rlim_t) ccf->rlimit_core;