Report this

What is the reason for this report?

How many cores do I actually have? (nginx worker_processes related)

Posted on July 9, 2015

Most of the nginx optimization guides say you should set worker_processes equal to how many CPUs you have. The thing is, when I do lscpu I see CPU(s): 1 (512mb droplet), however, when I do cat /proc/cpuinfo I see that the CPU is Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz.

Here are the specs for said CPU. It says # of Cores: 6.

How many cores does my server have?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.