aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_process_cycle.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2015-04-23 14:26:11 +0300
committerRuslan Ermilov <ru@nginx.com>2015-04-23 14:26:11 +0300
commit3180f84b609c0ef1117a25f1752556b57d277ffd (patch)
tree6cdf1c79cda861c327a404e67801b596cf991a84 /src/os/unix/ngx_process_cycle.c
parent33b8e5bc0698c96177a69aa783375aa47ac980d1 (diff)
downloadnginx-3180f84b609c0ef1117a25f1752556b57d277ffd.tar.gz
nginx-3180f84b609c0ef1117a25f1752556b57d277ffd.zip
Removed the "worker_rlimit_sigpending" directive.
It was only needed by the just removed rtsig module.
Diffstat (limited to 'src/os/unix/ngx_process_cycle.c')
-rw-r--r--src/os/unix/ngx_process_cycle.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/os/unix/ngx_process_cycle.c b/src/os/unix/ngx_process_cycle.c
index 1d5e700a8..50676326f 100644
--- a/src/os/unix/ngx_process_cycle.c
+++ b/src/os/unix/ngx_process_cycle.c
@@ -840,19 +840,6 @@ ngx_worker_process_init(ngx_cycle_t *cycle, ngx_int_t worker)
}
}
-#ifdef RLIMIT_SIGPENDING
- if (ccf->rlimit_sigpending != NGX_CONF_UNSET) {
- rlmt.rlim_cur = (rlim_t) ccf->rlimit_sigpending;
- rlmt.rlim_max = (rlim_t) ccf->rlimit_sigpending;
-
- if (setrlimit(RLIMIT_SIGPENDING, &rlmt) == -1) {
- ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno,
- "setrlimit(RLIMIT_SIGPENDING, %i) failed",
- ccf->rlimit_sigpending);
- }
- }
-#endif
-
if (geteuid() == 0) {
if (setgid(ccf->group) == -1) {
ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno,