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/