sched_setaffinity() failed (22: Invalid argument)

  • A+
所属分类:Error

Nginx错误日志:

错误原因:
由于在nginx.conf配置了错误的worker_cpu_affinity 01 10;导致以上错误;可以具体查看cpu核心数来进行具体配置。

参考:http://wiki.nginx.org/CoreModuleChs#worker_cpu_affinity
参考:http://www.php230.com/set-worker-cpu-affinity-to-up-nginx-performance.html

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: