Insufficient space for shared memory file [How to Solve]

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.

The general meaning is that the shared memory file space is insufficient, so DF looks at the usage:

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

It is found that the utilization rate of this directory is 100%, but this is only a logical volume. The specific reason is that there are too many log files in the/tmp directory, causing the space to be occupied

Then use

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

Look at the files larger than 100m, and find that there are many log files larger than 100m in zookeeper /, then enter the directory, delete some log files, restart zookeeper, restart storm, and everything returns to normal

Similar Posts: