worker_cpu_affinity
Cliff Wells
cliff at develix.com
Wed Nov 28 00:30:53 MSK 2007
Hi,
I'm running a dual processor (Athlon MP) server. Gentoo Linux. Nginx
is 0.6.16.
In nginx.com I have:
worker_processes 2;
worker_cpu_affinity 0001 0010;
But I see in my error log the following:
2007/11/27 13:11:00 [notice] 19009#0: start worker processes
2007/11/27 13:11:00 [notice] 19010#0: sched_setaffinity(0x00000001)
2007/11/27 13:11:00 [alert] 19010#0: sched_setaffinity(0x00000001)
failed (22: Invalid argument)
2007/11/27 13:11:00 [notice] 19009#0: start worker process 19010
2007/11/27 13:11:00 [notice] 19011#0: sched_setaffinity(0x00000002)
2007/11/27 13:11:00 [alert] 19011#0: sched_setaffinity(0x00000002)
failed (22: Invalid argument)
2007/11/27 13:11:00 [notice] 19009#0: start worker process 19011
What am I doing wrong?
Cliff
More information about the nginx
mailing list