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.