8 Star 0 Fork 20

src-openEuler / nfs-utils

 / 详情

NFS客户端查看挂载的盘符时报无法分配内存

已完成
缺陷
创建于  
2020-08-28 12:09

问题现象:
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获取失败。

评论 (3)

Alex_Chao 创建了缺陷
Alex_Chao 关联仓库设置为src-openEuler/nfs-utils
展开全部操作日志

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.

Alex_Chao 修改了描述
Alex_Chao 修改了描述
Alex_Chao 负责人设置为liuzhiqiang
Alex_Chao 关联分支设置为openEuler-20.03-LTS
Alex_Chao 计划截止日期设置为2020-08-29
Alex_Chao 计划开始日期设置为2020-08-28
Alex_Chao 计划截止日期2020-08-29 修改为2020-09-04
Alex_Chao 计划截止日期2020-09-04 修改为2020-09-05
Alex_Chao 置顶等级设置为
Alex_Chao 优先级设置为主要
liuzhiqiang 任务状态待办的 修改为修复中
liuzhiqiang 添加协作者Alex_Chao

该问题初步已经定位,基本已定位到是app适配64K页问题。具体定位结论麻烦@Alex_Chao 补充。

ulimit -n看到open files参数太大,看了一下麒麟和UOS的值,执行ulimit -n 1024即可。

Alex_Chao 任务状态修复中 修改为已完成
Alex_Chao 置顶等级 修改为不置顶

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(4)
5329419 openeuler ci bot 1632792936 5592035 liuzhiqiang26 1594357385
1
https://gitee.com/src-openeuler/nfs-utils.git
git@gitee.com:src-openeuler/nfs-utils.git
src-openeuler
nfs-utils
nfs-utils

搜索帮助