8000 GitHub - cubicdaiya/ngx_custom_worker_module: ngx_custom_worker_module can set the number of processes with any factor of worker_processes auto.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

cubicdaiya/ngx_custom_worker_module

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ngx_custom_worker_module

ngx_custom_worker_module can set the number of processes with any factor of worker_processes auto.

Configuration

  • the number of worker processes is 4 if the number of cpu threads is 4.
worker_processes        auto;
  • the number of worker processes is 12 if the number of cpu threads is 4.
worker_processes        auto;
worker_processes_factor 3;

Install

  • use nginx configure option
./configure --add-module=/path/to/ngx_custom_worker_module

About

ngx_custom_worker_module can set the number of processes with any factor of worker_processes auto.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%
0