disk space is full by `vda` files, how to clear them?

前端 未结 2 680
隐瞒了意图╮
隐瞒了意图╮ 2020-12-22 01:51

So I have a VPS and it has whm / cpanel installed. For some reason its giving an error when ever I login to cpanel or visit a site on my server which says the disk space is

相关标签:
2条回答
  • 2020-12-22 02:01

    It could be coming from Jenkins, Docker or any other process. To solve that, you should clean logs and set it's size.

    0 讨论(0)
  • 2020-12-22 02:21

    From the above output of 'df -h' the disk space is used by some file or folders in '/' location. As you are able to SSH in to the server follow the below steps and that will show the files that are using more space.

    • cd /
    • ls -lSr | tail -10

    The first command [cd space slash] will direct you to the '/' folder and second command will list files based on its size. Please post the output of the above command. This will show the files that are using more space on the current directory. Once you can find this you will be able to remove the unused files (if any). Or you can contact the hosting provider to mount another harddisk space to '/' to migrate those files and free more space.

    0 讨论(0)
提交回复
热议问题