Insufficient space for shared memory file 解决办法


Java HotSpot(TM) 64-Bit Server VM warning: Insufficient space for shared memory file:
   /tmp/hsperfdata_work/10700
Try using the -Djava.io.tmpdir= option to select an alternate temp location.

大概的意思是共享内存文件空间不足,于是df查看了使用情况:

Filesystem                                                1K-blocks          Used    Available         Use%    Mounted on
/dev/mapper/VolGroup01-LogVol00  49384248 49384248                  0         100%     /

发现这个目录使用率100%,但是这个只是逻辑卷,具体是由于/tmp目录下,日志文件太多,导致空间被占满了。

然后用

find / -size +100M -exec ls -lh {} \;

查看大小超过100M的文件,发现在zookeeper/中有许多大于100M的日志文件,然后进入该目录,删除一些日志文件,然后重启zookeeper,重启storm,一切恢复正常。

 


转自:https://blog.csdn.net/u014039577/article/details/49148063/


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM