Hey All
I have just recently switched to Nginx but I am experiencing a weird behavior where the server (4 cpus and 16GB ram) uses 1 cpu to 100% but lets the 3 rest be used only to 20%. Any help would be greatly appreciated.
My settings are:
nginx.conf
user www-data;
worker_processes 4;
pid /var/run/nginx.pid;
events {
#worker_connections 768;
worker_connections 19000;
# multi_accept on;
}
http {
##
# Basic Settings
##
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 3;
types_hash_max_size 2048;
# server_tokens off;
www.conf
pm = dynamic
pm.max_children = 10
pm.start_servers = 16
pm.min_spare_servers = 8
pm.max_spare_servers = 24
pm.max_requests = 500