平时服务正常,突然挂了,怎么重启都起不来,查看日志Insufficient space for shared memory file 内存文件空间不足

时间:2023-03-09 17:39:26
平时服务正常,突然挂了,怎么重启都起不来,查看日志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查看共享内存文件空间不足使用情况

/dev/temp/V.......   use 100%

find / -size +100M -exec ls -lh {} \;  查看大小超过100M的文件

然后删除一些没用的日志文件