问题现象:
NFS客户端使用showmount -e 127.0.0.1(服务端ip)查看挂载的盘符时报“
showmount: clnt_dg_create: out of memory
showmount: clnt_dg_create: out of memory
clnt_create: RPC: Remote system error -cannot allocate memory”
错误,但是实际上内存资源足够,详见如下截图:
背景说明:
问题环境使用了RPC,除了前述cannot alloc memory错误外,还有rpc的一些系统二进制用不起来,比如rpcinfo, rpc.mountd等失败(替换了rpcinfo,现在nfs4能起来了),
rpc.mountd失败的原因已基本定位到是start监听的时候失败,用strace跟了一下,是getpeername获取失败。
Hey @Alex_Chao, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
该问题初步已经定位,基本已定位到是app适配64K页问题。具体定位结论麻烦@Alex_Chao 补充。
ulimit -n看到open files参数太大,看了一下麒麟和UOS的值,执行ulimit -n 1024即可。
登录 后才可以发表评论