Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4865 - trunk/src/os/unix

Anonymous User
September 26, 2012 12:26PM
Author: mdounin
Date: 2012-09-26 16:25:12 +0000 (Wed, 26 Sep 2012)
New Revision: 4865
URL: http://trac.nginx.org/nginx/changeset/4865/nginx

Log:
Added clearing of cpu_affinity after process spawn.

This fixes unwanted/incorrect cpu_affinity use on dead worker processes
respawn. While this is not ideal, it's expected to be better when previous
situation where multiple processes were spawn with identical CPU affinity
set.

Reported by Charles Chen.


Modified:
trunk/src/os/unix/ngx_process_cycle.c

Modified: trunk/src/os/unix/ngx_process_cycle.c
===================================================================
--- trunk/src/os/unix/ngx_process_cycle.c 2012-09-26 15:52:06 UTC (rev 4864)
+++ trunk/src/os/unix/ngx_process_cycle.c 2012-09-26 16:25:12 UTC (rev 4865)
@@ -371,6 +371,8 @@

ngx_pass_open_channel(cycle, &ch);
}
+
+ cpu_affinity = 0;
}



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

[nginx] svn commit: r4865 - trunk/src/os/unix

Anonymous User 870 September 26, 2012 12:26PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

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