Chinaunix首页 | 论坛 | 博客
  • 博客访问: 750046
  • 博文数量: 116
  • 博客积分: 923
  • 博客等级: 准尉
  • 技术积分: 1635
  • 用 户 组: 普通用户
  • 注册时间: 2011-10-06 21:43
个人简介

一直帮老板搬运代码!!!

文章分类
文章存档

2013年(47)

2012年(69)

分类: LINUX

2013-01-28 15:32:31

//配置文件
 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 其他将不支持所以报错!!!



阅读(8807) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~