Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Oversized Disk Usage

Oversized Disk Usage

Scheduled Pinned Locked Moved Solved Support
21 Posts 5 Posters 2.7k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • girishG girish

      @pbischoff Can you check if the graphs match the df output ? Is it reflecting that ~930GB is used?

      P Offline
      P Offline
      pbischoff
      wrote on last edited by
      #12

      @girish Yes it looks like that!

      1 Reply Last reply
      0
      • girishG girish

        @pbischoff Can you check if the graphs match the df output ? Is it reflecting that ~930GB is used?

        P Offline
        P Offline
        pbischoff
        wrote on last edited by
        #13

        @girish and the yellowtent/ directory uses 858 GB

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by girish
          #14

          @pbischoff OK, so maybe du -hcs /home/yellowtent/appsdata/* will tell you which app is taking lots of space . If you put the appid that you get there into the search box of the Dashboard, you will see which app it is.

          /home/yellowtent/box is just source code. I don't expect this to take much space

          /home/yellowtent/platformdata is run time data (logs, databases). In the graph, this is around 180GB or so.

          P 1 Reply Last reply
          1
          • girishG girish

            @pbischoff OK, so maybe du -hcs /home/yellowtent/appsdata/* will tell you which app is taking lots of space . If you put the appid that you get there into the search box of the Dashboard, you will see which app it is.

            /home/yellowtent/box is just source code. I don't expect this to take much space

            /home/yellowtent/platformdata is run time data (logs, databases). In the graph, this is around 180GB or so.

            P Offline
            P Offline
            pbischoff
            wrote on last edited by
            #15

            @girish okay thank you, that helped very much.

            I identified a Directus instance that uses almost 500 GB. I think this is database data because of a cron process that fetches data periodically and writes logs for every fetch. How can I identify if it is really the database data or some files?

            1 Reply Last reply
            0
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by girish
              #16

              @pbischoff /home/yellowtent/appsdata/<appid> only has the files. The database data is under /home/yellowtent/platformdata/postgresql .

              One thing, you might want to check is the size of /home/yellowtent/appsdata/<appid>/postgresqldump . This is the size of the postgres dump of the app. Other than that, it's all file data.

              You can open the web terminal for Directus app. And then, inspect /app/data there. (this is the same as /home/yellowtent/appsdata/<directus-app-id>/data on the host).

              P 1 Reply Last reply
              0
              • girishG girish

                @pbischoff /home/yellowtent/appsdata/<appid> only has the files. The database data is under /home/yellowtent/platformdata/postgresql .

                One thing, you might want to check is the size of /home/yellowtent/appsdata/<appid>/postgresqldump . This is the size of the postgres dump of the app. Other than that, it's all file data.

                You can open the web terminal for Directus app. And then, inspect /app/data there. (this is the same as /home/yellowtent/appsdata/<directus-app-id>/data on the host).

                P Offline
                P Offline
                pbischoff
                wrote on last edited by
                #17

                @girish okay this is really curious. When I look under "Storage" of that app in the Cloudron Dashboard it tells me The app is currently using 9.5 MB of storage (as of 1 hours ago).

                girishG 1 Reply Last reply
                0
                • P pbischoff

                  @girish okay this is really curious. When I look under "Storage" of that app in the Cloudron Dashboard it tells me The app is currently using 9.5 MB of storage (as of 1 hours ago).

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #18

                  @pbischoff Sorry, I edited my post 🙂 Maybe it's in the database after all. Can you check the size of the dump file?

                  P 1 Reply Last reply
                  0
                  • girishG girish

                    @pbischoff Sorry, I edited my post 🙂 Maybe it's in the database after all. Can you check the size of the dump file?

                    P Offline
                    P Offline
                    pbischoff
                    wrote on last edited by
                    #19

                    @girish Yes it's this file! It has 447G!

                    Do I have to manually modify this file or will just deleting the data within Postgres do the trick?

                    1 Reply Last reply
                    0
                    • girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #20

                      @pbischoff Yes, if you delete data from postgres and create a backup that file will shrink accordingly (that file is part of an app's "backup")

                      P 1 Reply Last reply
                      1
                      • girishG girish marked this topic as a question on
                      • girishG girish has marked this topic as solved on
                      • girishG girish

                        @pbischoff Yes, if you delete data from postgres and create a backup that file will shrink accordingly (that file is part of an app's "backup")

                        P Offline
                        P Offline
                        pbischoff
                        wrote on last edited by
                        #21

                        @girish I just wanted to say thank you for your help two weeks ago!

                        I didn't get Postgres running because of too little storage on the disk, so I had no idea in this short time how to delete the things out of Postgres.
                        For us this issue was very critical and I had to fix it very fast and so I just deleted the dump file which means the loss of the directus instance data, but that was okay in this case.
                        Again: thank you very much and best regards!

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Bookmarks
                          • Search