weixin_39622521
weixin_39622521
2021-01-07 03:09

error: No free hugepages reported in hugepages

Hi, my kernel version is: 3.10.0-693.el7.x86_64 After setting up hugepages according to quick start: the output of /proc/meminfo: HugePages_Total: 1024 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB

when I running nginx, I getting this error: EAL: Detected 1 lcore(s) EAL: No free hugepages reported in hugepages-1048576kB EAL: No free hugepages reported in hugepages-2048kB EAL: FATAL: Cannot get hugepage information. EAL: Cannot get hugepage information. how can i solve this issue? thanks in advance.

该提问来源于开源项目:F-Stack/f-stack

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

8条回答

  • weixin_39559804 weixin_39559804 4月前

    vmware centos7.2 run f-stack as the same wrong with you.

    点赞 评论 复制链接分享
  • weixin_39636164 weixin_39636164 4月前

    I have the same wrong with you, can you tell me how to solve this issue?

    点赞 评论 复制链接分享
  • weixin_39933356 weixin_39933356 4月前

    me too, how to solve this issue?

    点赞 评论 复制链接分享
  • weixin_39933356 weixin_39933356 4月前

    and my 80 port not in LISTEN , ip cant be ping

    点赞 评论 复制链接分享
  • weixin_39988779 weixin_39988779 4月前

    Is there other helloworld or nginx is running?

    点赞 评论 复制链接分享
  • weixin_39622521 weixin_39622521 4月前

    Is there other helloworld or nginx is running?

    no, there isn't. I using this command: rm -rf /dev/hugepages/* and setting hugepage: echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages

    after that i have 1024 free hugepage. the output of /proc/meminfo:

    HugePages_Total: 1024 HugePages_Free: 1024 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB

    but im still getting error for hugepages-1048576kB . EAL: Detected 1 lcore(s) EAL: No free hugepages reported in hugepages-1048576kB

    点赞 评论 复制链接分享
  • weixin_39622521 weixin_39622521 4月前

    F-sack team help, please!

    点赞 评论 复制链接分享
  • weixin_39988779 weixin_39988779 4月前

    You can reboot the os and try it again.

    And you can ignore this error, if you have set hugepages-2048kB.

    EAL: Detected 1 lcore(s) EAL: No free hugepages reported in hugepages-1048576kB

    点赞 评论 复制链接分享

相关推荐