-
Notifications
You must be signed in to change notification settings - Fork 668
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
Create a Way to Disable Parallel Uploads #2743
Comments
This is not only about uploads but also all other operations. Disable parallelism by default. |
OK... check for status.php version to be >= 8.1 ? Or check the capabilities API for a |
As discussed on IRC we could add a new value "maxparallel" to that |
In general I think we should start using this "capabilities" endpoint more often to share server info with clients. |
agree with @PVince81 |
We also had the idea to check all error messages for |
Would disabling parallelism also prevent wrong/missing |
@PeterPablo: no, it would just make it less likely. sqlite should be avoided on the server if possible. |
In my opinion users should be made aware of this in a more pressing alert than described in the current documentation (confer #2401 (comment)). I still consider this loss of data and as such a bug that should be tackled. |
I agree with this issue! On my low memory owncloud php runs out of memory when uploading many files with the windows client because of parallel uploads!! Uploading via a browser works perfectly fine. This is a major issue since there are no (free) alternative clients which can sync (instead of "mounting" the webdav which I don't want). |
If the server can't cope with parallel upload, it can advertise it in the capabilities secion Issue #2743 Need owncloud/core#13628
We need to know to which extend the server fixed the underlying problems to be able to decide what to do. |
Parallel upload should work now on OC 8 RC 2, the major database is locked issues were fixed. |
For OC 7, backports are still required: |
If the server can't cope with parallel upload, it can advertise it in the capabilities secion Issue #2743 Need owncloud/core#13628
Great but what about php running out of memory on low end servers? I realize that is not the problem of owncloud per se but the parallel upload is still to blame, so there MUST be an option to disable parallel upload in the client or the server manually. |
@radry I believe that problem should be fixed because the 1.8 client only uses a chunk size of 5MB (vs 20MB in 1.7.x and 10 MB in 10.6.x) |
So according @PVince81 in #2724 (comment) Should we disable only parallel chunk upload (which is new in 1.8), or any kind of parallelism? Another option we could take is to disable the parallelism once we detect the 500 error. |
I would like to say it again: what about that the server tells the client what kind of features it supports? In this way you may avoid any hardcoded assumptions and also avoid to manually re-adjust the client when the new versions of the server develop new capabilities (which is anyway impossible because you still have old versions of the servers around). The same also for the size of the chunk. Changing from 10MB -> 20MB -> 5MB looks a bit like a random walk for me. I KNOW what is the averge file size in my service, so why would not you let me configure the server with the correct number for MY service. And above all it all may be achieved by adding extending simple JSON reponse of status.php. Why make it any more complicated? kuba On Feb 6, 2015, at 1:00 PM, Olivier Goffart [email protected] wrote:
|
I'm fine with adding this back or making this configurable, but not sure if others agree: @karlitschek @DeepDiver1975 |
It works fine version 1.8.0-beta1 |
For various reasons we can not enable the parallel upload by default. We need to disable the parallel upload and only switch it on by a flag if admins decide that. Even if that results in a performance drop.
e.g. #2724 #1866 (comment) #2401
The text was updated successfully, but these errors were encountered: