Insufficient space for shared memory file

Source: Internet
Author: User

Application of Linux under the abnormal reaction, the login server to view the discovery:

-bash-4.1$ Jpsjava HotSpot (TM) 64-bit Server VM warning:insufficient space for Shared memory file:/tmp/hsperfdata_kf01 /4830try using the-djava.io.tmpdir= option to select a alternate temp location.4830 Jps
-bash-4.1$ df-h file system capacity used with available percent mount point/dev/mapper/vg_configure-lv_root 26G 26G 0 10 0%/tmpfs 1.9G 0 1.9G 0%/dev/shm/dev/vda1 485M 37M 423M 8%/boot

Cause: The directory space to store temporary files is not enough, the system root directory space is 100%.

WORKAROUND: The general situation is caused by a large number of log files, delete unnecessary log files, this is only a temporary solution.

Permanent solution: The application closes unnecessary logs, prevents a large number of log outputs, formulates timed delete scripts, and periodically cleans up useless log information.


To view the size of a folder:

Du-h--max-depth=1 work/testing

Insufficient space for shared memory file

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.