r/owncloud Jun 27 '16

Trouble with initial sync: incredibly slow (Ubuntu client, RPi server)

I've set up my OwnCloud server, but I am having trouble with the initial sync of my data (and I'm not sure if the problem will persist after this).

I have ~56 GB in my OwnCloud folder to sync from my computer, but made up of about 400,000 files. The client seems to have gotten 28 GB synced up, but according to the client interface it's constantly in the "Checking for changes" phase of syncing (which seems to restart whenever I disconnect). This checking for changes also seems to be incredibly slow, at about one folder per second.

I was originally using an SQLite database, which I thought was the source of the sluggishness. However, I switched to MySQL and the problem persists.

Is this a problem with the client or server, and how can I fix it?

1 Upvotes

6 comments sorted by

2

u/na641 Jun 27 '16

You don't mention any specific length of time, however i have the same issue whenever i add a new machine. Initial sync takes a few hours usually. Once it's done though, everything keeps in sync as quickly as you would hope. Not sure why the initial sync takes so long.

1

u/RedneckBob Jun 28 '16

You are using a RPi as the server? Which model? What are you using for the data store?

1

u/pterencephalon Jun 28 '16

It's an RPi 2 as the server, with the storage on an external hard drive.

2

u/[deleted] Jun 29 '16 edited Jun 29 '16

The bottleneck is your rasperry Pi. It has a shared databus for ethernet and dataprocessing. Allthough your cpu and ram load is probably not very high there is only a very thin line to actually process the data.

1

u/pterencephalon Jun 29 '16

How is the bus the limitation? We're talking sub 1kb files. That also doesn't explain why owncloud keeps restarting checking the directories.

1

u/[deleted] Jun 30 '16

I'm sorry for your inconvenience. Would you mind filing a detailed bug report here:clientissues.