• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question worker_connections are not enough

LucaB.

Basic Pleskian
Hi,
we have a Plesk 12.30 #60 with nginx. In this server (2CPU and 2GB RAM) are running 50 websites and this morning ngnix writes "worker_connections are not enough". In /etc/nginx/nginx.conf I've changed it from 1024 to 2048. it's enough? There are other parameters to be controlled?

The website will increase to 70 in a few days.

Luca
 
There is following formula for determining nginx worker_processes and worker_connections:

max_clients = worker_processes * worker_connections

Where worker_processes [number of processor cores], for instance:

# cat /proc/cpuinfo |grep processor
processor : 0
processor : 1
processor : 2
processor : 3
processor : 4
processor : 5

So,

worker_processes 6;

Thus, you can calculate the desired value for worker_connections
 
Back
Top