The Linux server Inode node is full.

Source: Internet
Author: User
Tags tmp file

Today, there is a Web site on the Linux server and login not up, there is a website has been prompted to verify the code error,

Before the occurrence of similar problems, the reason is because the server inode node is full, the last time is the/tmp file deleted, fix rm-rf/tmp/so this time do not hesitate to execute this command, finished, or not, depressed. Use Df-i to view inode nodes, and find inode nodes are full, using for I in/home/wwwroot/*; do echo $i; Find $i | Wc-l; Done Command View found Taoxuexiao this site inode node excessive use Find/home/wwwroot/taoxuexiao-type F-size 0-exec rm {} \; command to delete empty files and then use Df-i to view the Inode node, found that the redundant Inode node has been cleared but the thinkphp site still can't log in, the QR code is not correct, but Discuz site can log in, found that may be the issue of the/tmp directory permissions Change the TMP directory owner to root, change the permissions to 777, solve the problem!

The Linux server Inode node is full.

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.