Disk usage update problem
-
Hello,
Is there something I'm missing ? I got an EC2 instance, attach a 35 Go EBS, extend the volume, but still, Cloudron doesn't display the Go correctly.
-
It stay as "Last updated : 01/07/2025"...
-
my 2 cents: the last time I hit that refresh button it took a few minutes to refresh the disk usage, so I had to be patient and "hit F5" a few times. it's confusing to free some disk space and yet read a different story in the system info, I'm not sure how often this data is refreshed, but it would be nice if the data was accurate without the need of manually refreshing
-
This is currently only refreshed once a day, since it is a tradeoff between accuracy and causing a lot of disk I/O for no reason 99% of the time. Thing is if the disk is not too fast and/or the server has a large disk, it just takes very long on linux to get detailed disk usage info besides the capacity+used+free overview per filesystem/partition.
So this is not a technical thing we can implement, but more what we optimize for.
-
This is currently only refreshed once a day, since it is a tradeoff between accuracy and causing a lot of disk I/O for no reason 99% of the time. Thing is if the disk is not too fast and/or the server has a large disk, it just takes very long on linux to get detailed disk usage info besides the capacity+used+free overview per filesystem/partition.
So this is not a technical thing we can implement, but more what we optimize for.
I said in Why does refreshing Disk Usage take so long?:
Could the two be separated out somehow so that it's possible to just quickly get updated total df -h figures while waiting for all the detail?
I think that's the data that most people most often quickly want
-
For this we have the manual refresh button, the infomation in those situations won't be faster available by just running the background job more often.
But if someone has a hint on how to gather the information faster on linux without causing a lot of disk I/O, that would be great.
-
For this we have the manual refresh button, the infomation in those situations won't be faster available by just running the background job more often.
But if someone has a hint on how to gather the information faster on linux without causing a lot of disk I/O, that would be great.
@nebulon I think you've missed the point
Most people just want to be able to quickly refresh the total disk space stats, not all the details/ breakdown that hitting refresh generates. i.e. just quickly display the output of
df
while the much slower but more detaileddu
does its thing - that's what I'm suggesting