Welcome! Log In Create A New Profile

Advanced

Re: why worker process only use cpu0?

Maxim Dounin
May 31, 2011 08:08PM
Hello!

On Tue, May 31, 2011 at 04:07:39PM -0700, antituhan wrote:

> I have 4 core CPU's, cpu0-cpu3, but why NginX worker process only high on
> cpu0 than other cpu's ?
> This is my main configuration http://fpaste.org/VT7I

Do you mean to ask "why only one nginx process actually uses CPU"
instead? This usually means that nginx isn't really loaded and
one process is enough to handle all connections/requests.

In some situations you may want to disable accept mutex via

events {
accept_mutex off;
...
}

or tune it with accept_mutex_delay directive. This should result
in more even distribution of load between nginx processes.

Maxim Dounin

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

why worker process only use cpu0?

antituhan May 31, 2011 07:08PM

Re: why worker process only use cpu0?

antituhan May 31, 2011 07:14PM

Re: why worker process only use cpu0?

Maxim Dounin May 31, 2011 08:08PM

Re: why worker process only use cpu0?

antituhan May 31, 2011 08:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 282
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