300-max-processes.patch 277 B

1234567891011
  1. --- a/src/os/unix/ngx_process.h
  2. +++ b/src/os/unix/ngx_process.h
  3. @@ -44,7 +44,7 @@ typedef struct {
  4. } ngx_exec_ctx_t;
  5. -#define NGX_MAX_PROCESSES 1024
  6. +#define NGX_MAX_PROCESSES 8
  7. #define NGX_PROCESS_NORESPAWN -1
  8. #define NGX_PROCESS_JUST_SPAWN -2