Get the App
SLTechnology News&Howtos  ›  Servers  › 

The reasons why Linux pictures or files cannot be uploaded and the solutions

Shulou Source: shulou.com Published: 2022-06-01 11:16:02 10月03日 Update

This article mainly introduces the "Linux pictures or files can not be uploaded reasons and solutions", in the daily operation, I believe that many people in the Linux pictures or files can not upload reasons and solutions have doubts, the editor looked up all kinds of information, sorted out simple and easy-to-use methods of operation, hope to answer the "Linux pictures or files can not upload reasons and solutions" doubt helpful! Next, please follow the editor to study!

View disk space usage:

[root@srv-jigocity-web1 iplocate] # df-m

Filesystem 1M-blocks Used Available Use% Mounted on

/ dev/mapper/datavg-www

6048 3594 2147 63% / var/www

The website directory has been used 63%, and there are still many unused, so it is not a problem of disk space.

View the file Inode status:

[root@srv-jigocity-web1 helpers] # df-I

Filesystem Inodes IUsed IFree IUse% Mounted on

/ dev/mapper/datavg-www

786432 786432 0 100% / var/www

There is no free inode available, so a new file cannot be created.

The reason is caused by a large number of small cache files. For example, the cache file that records the user's GEO information will continue to grow rapidly and deplete the Inode resources with the growth of user visits.

Therefore, in the design, we should try our best to avoid producing a large number of trivial small files, and a large number of very small files should be put into the database for management. And clean up the temporary documents in time.

At this point, the study on the "Linux pictures or files can not be uploaded reasons and solutions" is over, I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Tags: File reason method picture learning situation more user disk space index website node problem growth help practical trivial next information Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Shulou Information Apple MariaDB Microsoft