Tag Info

New answers tagged


The value of worker_processes is not equivalent to the number of CPU cores used. As the name suggests it controls only the number of individual nginx process instances that will be running. Any one of these instances will spawn a number of threads to process the incoming requests and these threads will run on all available cores even if you choose to use ...


From the documentation: The optimal value depends on many factors including (but not limited to) the number of CPU cores, the number of hard disk drives that store data, and load pattern. When one is in doubt, setting it to the number of available CPU cores would be a good start (the value “auto” will try to autodetect it). So, basically, setting ...


Some other programs uses cpu, like php maybe? Paste all your top output, not only your cpu, but programs too. Turn on visibility of threads too... (H key, if I remember correctly.)

Top 50 recent answers are included