//配置文件
worker_cpu_affinity 00000001 00000010 00000100 00001000 00000001 00000010 0 0000100 00001000;
//输出结果
2013/01/28 15:12:33 [alert] 3157#0: sched_setaffinity(0x00000004) failed (22: Invalid argument)
12 2013/01/28 15:12:33 [notice] 3154#0: start worker process 3158
13 2013/01/28 15:12:33 [notice] 3154#0: start worker process 3159
14 2013/01/28 15:12:33 [notice] 3154#0: start worker process 3160
15 2013/01/28 15:12:33 [notice] 3154#0: start worker process 3161
16 2013/01/28 15:12:33 [notice] 3154#0: start worker process 3162
17 2013/01/28 15:12:33 [notice] 3158#0: sched_setaffinity(0x00000008)
18 2013/01/28 15:12:33 [alert] 3158#0: sched_setaffinity(0x00000008) failed (22: Invalid argument)
19 2013/01/28 15:12:33 [notice] 3162#0: sched_setaffinity(0x00000008)
20 2013/01/28 15:12:33 [alert] 3162#0: sched_setaffinity(0x00000008) failed (22: Invalid argument)
21 2013/01/28 15:12:33 [notice] 3159#0: sched_setaffinity(0x00000001)
22 2013/01/28 15:12:33 [notice] 3160#0: sched_setaffinity(0x00000002)
23 2013/01/28 15:12:33 [notice] 3161#0: sched_setaffinity(0x00000004)
24 2013/01/28 15:12:33 [alert] 3161#0: sched_setaffinity(0x00000004) failed (22: Invalid argument)
25 2013/01/28 15:12:33 [notice] 3156#0: sched_setaffinity(0x00000002)
我认为是smp cpu数不够或地址问题,造成的。不过不影响程序运行,双核CPU只支持,00000001 00000010 其他将不支持所以报错!!!
阅读(8919) | 评论(0) | 转发(0) |