Insufficient space for shared memory file的修复方法
下文笔者讲述Insufficient space for shared memory file的处理方法分享,如下所示
storm集群中一台机器挂了, 采用 jps -m查看进程的运行情况,出现了一个warnings Java HotSpot(TM) 64-Bit Server VM warning: Insufficient space for shared memory file: /tmp/hsperfdata_work/20800 Try using the -Djava.io.tmpdir= option to select an alternate temp location 出现这种情况,主要是日志中有超过100M文件,解决方法
find / -size +100M -exec ls -lh {} \; 查看大小超过100M的文件 发现在zookeeper/中有许多大于100M的日志文件 进入该目录,删除一些日志文件 重启zookeeper 重启storm
版权声明
本文仅代表作者观点,不代表本站立场。
本文系作者授权发表,未经许可,不得转载。