Mercurial > hg > nginx
comparison src/core/nginx.c @ 949:d1d8cde9aab9
worker_rlimit_core supports size in K, M, and G
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 24 Dec 2006 18:13:06 +0000 |
parents | bb748b37cabd |
children | e6fc18f1a032 |
comparison
equal
deleted
inserted
replaced
948:12077affd903 | 949:d1d8cde9aab9 |
---|---|
107 offsetof(ngx_core_conf_t, rlimit_nofile), | 107 offsetof(ngx_core_conf_t, rlimit_nofile), |
108 NULL }, | 108 NULL }, |
109 | 109 |
110 { ngx_string("worker_rlimit_core"), | 110 { ngx_string("worker_rlimit_core"), |
111 NGX_MAIN_CONF|NGX_DIRECT_CONF|NGX_CONF_TAKE1, | 111 NGX_MAIN_CONF|NGX_DIRECT_CONF|NGX_CONF_TAKE1, |
112 ngx_conf_set_num_slot, | 112 ngx_conf_set_size_slot, |
113 0, | 113 0, |
114 offsetof(ngx_core_conf_t, rlimit_core), | 114 offsetof(ngx_core_conf_t, rlimit_core), |
115 NULL }, | 115 NULL }, |
116 | 116 |
117 { ngx_string("worker_rlimit_sigpending"), | 117 { ngx_string("worker_rlimit_sigpending"), |
618 | 618 |
619 ccf->worker_processes = NGX_CONF_UNSET; | 619 ccf->worker_processes = NGX_CONF_UNSET; |
620 ccf->debug_points = NGX_CONF_UNSET; | 620 ccf->debug_points = NGX_CONF_UNSET; |
621 | 621 |
622 ccf->rlimit_nofile = NGX_CONF_UNSET; | 622 ccf->rlimit_nofile = NGX_CONF_UNSET; |
623 ccf->rlimit_core = NGX_CONF_UNSET; | 623 ccf->rlimit_core = NGX_CONF_UNSET_SIZE; |
624 ccf->rlimit_sigpending = NGX_CONF_UNSET; | 624 ccf->rlimit_sigpending = NGX_CONF_UNSET; |
625 | 625 |
626 ccf->user = (ngx_uid_t) NGX_CONF_UNSET_UINT; | 626 ccf->user = (ngx_uid_t) NGX_CONF_UNSET_UINT; |
627 ccf->group = (ngx_gid_t) NGX_CONF_UNSET_UINT; | 627 ccf->group = (ngx_gid_t) NGX_CONF_UNSET_UINT; |
628 | 628 |