Ubuntu/tmp mounted overflow when there are free spaces

Source: Internet
Author: User
Tags php file upload

Today there is a Linux system with a hard drive, and the system is very unusual, when the space is clear, most programs work correctly, but a Web site written in PHP has a little problem, all functions are available, and the MySQL library can run, but as long as it is over 1MB File has not been successful (upload_err_cant_write), it has been a long time to find out that the system's/TMP record is only 1MB, and the file system is not heard of the overflow this name, This article is used to explain the source of this file system, and how to resolve it.

Let's look at what the current file system has become:

In fact, my/TMP doesn't have a separate partition, so this partition is built automatically, and the time is created when "disk space is not available," and the Linux system predicts that this temporary/TMP partition will only be 1MB so large, The main purpose is to allow the system to maintain a basic function of other services, and there are times when this/TMP does not lead to a number of services normally.

However, the solution is very simple, as long as the overflow file system to umount off, the instructions are as follows:

sudo umount overflow

If the file is locked out of the problem, and the umount, you can go into the single mode (Telinit 1), and then umount can be, or you will have to restart the machine to solve.

Connected PHP File Upload Error codes; Upload_err_ok-dark Launch handling file uploads php:error Messages explained–manual Overflow filesystem mounted MP in Linux ubuntu-overflow/tmp mounted when there are free spaces on/-Unix & Linux Stack Exchange What to does when The root partition is full?



Transferred from Http://blog.miniasp.com/post/2013/07/09/Overflow-filesystem-mounted-as-tmp-in-linux.aspx


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.