Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong Foldersize #389

Closed
RandolfCarter opened this issue Nov 13, 2012 · 10 comments
Closed

Wrong Foldersize #389

RandolfCarter opened this issue Nov 13, 2012 · 10 comments
Assignees
Milestone

Comments

@RandolfCarter
Copy link
Contributor

As reported in the forum ( http://forum.owncloud.org/viewtopic.php?f=4&t=5053 ):

I have copied a folder on the server in the data directory. This folder has ~17GB and only this one file with more than 2GB (negative size) and no other file has negative size in the mysql. But owncloud show me that this folder has ~12GB.

See also this other issue about negative file sizes: #388

If possible, questions should be asked in the forum.

@DeepDiver1975
Copy link
Member

There are some issues regarding files/folder size due to the current file cache implementation.
This is expected to be changed for OC5.

@ghost ghost assigned icewind1991 Nov 19, 2012
@andredasilvapinto
Copy link

I'm also experiencing problems with erroneous folder sizes:
http://forum.owncloud.org/viewtopic.php?f=4&t=6152

@karlitschek
Copy link
Contributor

This seems to be a critical bug. @icewind1991 Can you have a look?

@DeepDiver1975
Copy link
Member

maybe related to #388

@andredasilvapinto
Copy link

In my case, it doesn't seem related with > 2 GB files limitation. The largest file size within my folder is just 4.4M

sudo du -a /home/dataserver/data/user | sort -n -r | head -n 50

@andredasilvapinto
Copy link

My problem seems fixed with the latest update (4.5.3).

@karlitschek
Copy link
Contributor

Great. Thanks a lot.

@DeepDiver1975
Copy link
Member

Any idea what fixed this issue?

@andredasilvapinto
Copy link

I'm not sure if the >2GB problem was already fixed or not, as my problem was happening even with small files, but it's in the changelog:

"- Fix wrong folder size calculation"

http://owncloud.org/releases/Changelog

so something must have been done in order to fix this :)

Thanks!

@RandolfCarter
Copy link
Contributor Author

I'm also not sure if this is fixed once and for all:
First, there is still the possibility for negative file sizes (#388).
Second, the notice described in #726 is happening inside the "increaseSize" function which is doing the update to the folder sizes, which I think indicates that some folder sizes aren't properly updated (no idea yet as to why).

@lock lock bot locked as resolved and limited conversation to collaborators Aug 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants