Slow synchro

Ask all your questions regarding OC 8.2 Please read the Support Forum Rules
Forum rules
The forums were migrated over to https://central.owncloud.org which is based on the forum software Discourse. The forums here is put into read-only mode starting from today.

More background information about this move and the reasoning behind it is available in this blogpost:

https://daniel.molkentin.net/2016/07/20 ... d-central/
gueulderack
Newbie
Posts: 6
Joined: Tue Nov 11, 2014 4:11 pm
ownCloud version: 7.0.2
Webserver: Apache
Database: SQLite
OS: Linux

Slow synchro

Postby gueulderack » Fri Nov 13, 2015 11:35 pm

Hi all,

I had recently re-installed my server owncloud. Here are my versions:
OS: Ubuntu 32 bit 15.10
Apache: 2.4.12
MariaDB: 10.0.22
PHP: 5.6.11
Owncloud: 8.2.0 (Stable)
Owncloud Client: 2.0.2

Synchronization with client is very slow: 881 files for a total of 73 Mo, it takes 2h10!

But the thing is that is not the file transfer who is slow (I test with an unique big file, and I was at the maximum of my line capabilities), but it between each file that it take some times: 3-10 secondes.

The only error I have found is in the owncloud log:
Error PHP Array to string conversion at /var/www/owncloud/lib/private/template/functions.php#36
Error PHP Cannot modify header information - headers already sent by (output started at /var/www/owncloud/3rdparty/sabre/http/lib/Sapi.php:70) at /var/www/owncloud/3rdparty/sabre/http/lib/Sapi.php#58

For the first one, issue is still open.
For the second one, I don't find any real solution. But maybe I don't look at the right place!

If anyone know a part of a solution...

Thank you for helps.
Last edited by gueulderack on Sat Nov 14, 2015 5:26 pm, edited 1 time in total.

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Slow synchro

Postby RealRancor » Fri Nov 13, 2015 11:40 pm

Hi,

unfortunately we users in here just can point you to guides and tutorials how to tweak your environment etc. like:

https://doc.owncloud.org/server/8.2/adm ... index.html

and so on. Everything else is not in "our hands". :( If there is an issue somewhere within the client or the oC server itself it should be discussed with the developers.

You could also check the issue trackers here on your own:

https://github.com/owncloud/core/issues
https://github.com/owncloud/client/issues

There where already a few issues reported about a slow sync.
*gone*

gueulderack
Newbie
Posts: 6
Joined: Tue Nov 11, 2014 4:11 pm
ownCloud version: 7.0.2
Webserver: Apache
Database: SQLite
OS: Linux

Re: Slow synchro

Postby gueulderack » Sun Nov 15, 2015 12:15 am

I found the solution: redis for transactional file locking must be installed and not another one. Before, I had APCu installed.
But with Ubuntu, the last version of Redis must be installed. I followed this tutorial and it worked perfectly on my server.
https://www.en0ch.se/how-to-configure-redis-cache-in-ubuntu-14-04-with-owncloud/

If it can help someone...

Thank you for the help.

Cheers.


  • Similar Topics
    Replies
    Views
    Last post

Return to “ownCloud Server 8.2”

Who is online

Users browsing this forum: No registered users and 2 guests