Welcome! Log In Create A New Profile

Advanced

2 of 16 cores are constantly maxing out - how to balance the load?

Raffael Vogler
January 11, 2018 05:16AM
Hello!

I have nginx with php-fpm running on a 16 core Ubuntu 16.04 instance. The
server is handling more than 10 million requests per hour.

https://imgur.com/a/iRZ7V

As you can see on the htop screenshot cores 6 and 7 are maxed out and
that's the case constantly - even after restarting nginx those two cores
stay at that level.

I wonder why is that so and how to balance the load more evenly?

Also I'm curious to know whether this might indicate a performance relevant
issue or if it is most likely harmless and just looks odd.

> cat /etc/nginx/nginx.conf | grep -v '^\s*#'

user www-data;
worker_processes auto;
pid /run/nginx.pid;
events {
worker_connections 768;
}
http {
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
include /etc/nginx/mime.types;
default_type application/octet-stream;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
ssl_prefer_server_ciphers on;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
gzip on;
gzip_disable "msie6";
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}

Thanks

Raffael
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

2 of 16 cores are constantly maxing out - how to balance the load?

Raffael Vogler January 11, 2018 05:16AM

Re: 2 of 16 cores are constantly maxing out - how to balance the load?

Lucas Rolff January 11, 2018 05:18AM

Re: 2 of 16 cores are constantly maxing out - how to balance the load?

Raffael Vogler January 11, 2018 05:42AM

Re: 2 of 16 cores are constantly maxing out - how to balance the load?

Raffael Vogler January 11, 2018 05:56AM

Re: 2 of 16 cores are constantly maxing out - how to balance the load?

Lucas Rolff January 11, 2018 06:02AM

Re: 2 of 16 cores are constantly maxing out - how to balance the load?

Vlad K. January 11, 2018 06:28AM

Re: 2 of 16 cores are constantly maxing out - how to balance the load?

pbooth January 12, 2018 12:22AM

Re: 2 of 16 cores are constantly maxing out - how to balance the load?

Raffael Vogler January 12, 2018 06:12AM

Re: 2 of 16 cores are constantly maxing out - how to balance the load?

Raffael Vogler January 12, 2018 06:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 255
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready