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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Constant background disk IO on instance with 0 enabled apps

    Support
    4
    5
    272
    Loading More Posts
    • 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.
    • L
      lewisl9029 last edited by

      Hi Cloudron team,

      I have a Cloudron instance running on an Azure VM right now, and was investigating why my storage bills were much higher than expected (and steadily growing), and seem to have found that disk IO may be the culprit.

      My instance started with a number of running apps, and was running at a fairly constant 40 write operations per second initially, and as I temporarily stopped apps to investigate, it decreased proportionately, but even with 0 apps running it was still doing an average of 7 write operations per second:

      Screenshot_2021-01-04 Microsoft Azure.png

      Curious if you're able to reproduce this, and whether you have any ideas on what's causing this constant disk IO, and any tips on how to reduce idle disk activity on Cloudron itself as well as on apps.

      Prior to stopping all my apps, I was accruing around $30 per month of storage costs for 30GB of standard Azure SSD storage, when an idle 30 GB ssd should cost only $2.4: https://azure.microsoft.com/en-us/pricing/details/managed-disks/, to give you a sense of the costs involved.

      Thanks!

      girish 1 Reply Last reply Reply Quote 2
      • girish
        girish Staff @lewisl9029 last edited by

        So the bill increasing based on IOPS? I had no idea such disk/pricing existed.

        As for the disk usage itself, it is hard to know without installing sort of process level monitor. Since you have no apps, one thing you can try is systemctl stop box and see if the disk writes stop? Apart from that there is mysql, nginx and docker. Maybe you can try stopping services one by one and investigate. Also, what is the disk usage of just a vanilla ubuntu or something?

        It seems to me that since there is a spike at around 11 maybe it's because some backup is happening at that point? Is there any CPU or network usage in the same time frame? Cloudron isn't really doing much if there are no apps.

        robi 1 Reply Last reply Reply Quote 1
        • robi
          robi @girish last edited by

          @lewisl9029 going further, you can set up an empty VM and how many IOs it "uses".

          Life of Advanced Technology

          1 Reply Last reply Reply Quote 0
          • marcusquinn
            marcusquinn last edited by

            Yeah, we've been heavily stung by Azure's get you in with low prices and charge you for every single other thing on top pricing. Much, much happier with Hetzner now.

            We're not here for a long time - but we are here for a good time :)
            Jersey/UK
            Work & Ecommerce Advice: https://brandlight.org
            Personal & Software Tips: https://marcusquinn.com

            girish 1 Reply Last reply Reply Quote 0
            • girish
              girish Staff @marcusquinn last edited by

              @marcusquinn Choosing IOPS based billing seems pretty extreme 🙂 Well, to me anyway. I am not aware of an web application really paying attention to all this. Maybe system software like databases will pay attention and have regression tests for this but never web apps.

              1 Reply Last reply Reply Quote 1
              • First post
                Last post
              Powered by NodeBB