What should I do if the hard disks of linux servers running online are insufficient?

Source: Internet
Author: User
The online server is running. now there is a problem with insufficient hard disk space on the website. all the data that can be deleted is deleted, but it will still be full in a short time. what should I do? The server is lnmp. Is there any way to completely solve this problem? how do large websites operate? The online server is running. now there is a problem with insufficient hard disk space on the website. all the data that can be deleted is deleted, but it will still be full in a short time. what should I do? The server is lnmp. Is there any way to completely solve this problem? how do large websites operate?

Reply content:

The online server is running. now there is a problem with insufficient hard disk space on the website. all the data that can be deleted is deleted, but it will still be full in a short time. what should I do? The server is lnmp. Is there any way to completely solve this problem? how do large websites operate?

Logs are regularly deleted when they are retained for N days, years, or even years.
Upload and save files to a dedicated file server (Qiniu/upyun/aws)
The website server only stores logs and website code. Databases and uploaded files are stored on other servers.

If it is an ECS, you can usually add a hard disk. Generally, insufficient hard disks are caused by Files. Therefore, a website file with a slightly larger size will have a dedicated file server.

Clear and Resize large log files

Related Article

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.