-
Notifications
You must be signed in to change notification settings - Fork 46
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
Slow app start / the complete address book is being transferred #176
Comments
We are aware of this issue. This will be changed in the future by:
|
I am not sure if I am seeing exactly the same issue here, but it looks like it. My address book is slightly bigger (over 500 contacts). When I open the contacts app it tells me that there are "No contacts in here". Monitoring my server I see two apache processes jump to 100% CPU use. If I give it enough time (like close to an hour), the contact app lists all my contacts. Pressing F5 sends me into the same loop again. I notice my IOS devices are no longer syncing, probably due to the same issue? My basic verdict is that carddav is not working at all after the upgrade. |
@joswart iOS / CardDAV syncing seems to work for me, I thought only the frontend is broken (as it tries to be a CardDAV client since ownCloud 9) |
@joswart iOS syncing isn't influenced by this app. Please report this in core. (Are you sure you are using the right url? see documentation) |
We need to introduce some lazy loading techniques - we will come up with a solution in the next major dev cycle. @joswart ios might stop syncing because of all server resources are consumed by the contacts web app. |
@Henni: I believe the URL mentioned in the documentation is actually wrong. It is not the one reported in owncloud 9. The contacts app says: /owncloud/remote.php/dav/addressbooks/users/[username]/contacts/ Trying the one from the doc fails on my IOS devices. Shall I file a documentation bug? |
@joswart that would be great! @DeepDiver1975 can you verify that this is a bug in the documentation? |
I see something similar I have around 200 contacts and loading the contacts app takes about 13 seconds. In this 13 seconds I see nothing, just a empty address book. If I look at the network console of my browser I see a huge number of propfinds. Good to know that you are aware of it and that you are working on a solution for the next release because beside the performance issue the new contacts app looks and works really nice 😄 |
We also noticed this issue. At least some kind of loading animation should be shown so one knows it is doing something without using firebug or looking on the servers CPU ;) |
did I understand the thread correctly that the new app is just a carddav-client going via the standard carddav-interface/url? I remember that I could not run owncloud on my previous hoster because the the standard carddav-principles always transfer more or less the whole addressbook every time an leave the work to the client. Due to this, I ran into session-size issues where mobile-syncing did not work - but the webapp did. |
13 s would be great. I got 80 s per click since forever. Practically every click, and during those 80 s, browser is at 100% cpu. It used to be worse, blocking the server, too. It is very common for first-version vCard apps to put everything in memory and fall apart under that data load. Then they go sqlite or objct cache. You are using Angular, so I am not sure why caching individual objects would be hard, I hacked some like that in 2 days. Of course, the OwnCloud contacts app is not useful to me. I use a mix of Android and Evolution meanwhile. |
Pull requests are welcome. |
Steps to reproduce
Expected behaviour
The Contacts app should open fast
Actual behaviour
The Contacts all takes a lot of time to load and transfers lots of data.
Upon startup, the whole addressbook is being transferred, which, for medium-sized addressbooks (like ~200 contacts, some of them with photos) can be quite large. In this case ~10 MB of data is being transferred every single time I open the Contacts app.
I'm not sure if this is by concept (as the Contacts app claims to be only a CardDAV client), but I consider this to be quite inefficient and slow for anything larger than trivial addressbooks with photos (think of web clients in mobile networks with restricted data volume and speed).
Server configuration
Operating system: Debian 8
Web server: nginx
Database: MySQL 5.5
PHP version: PHP 5.6
ownCloud version: 9.0.0
Contacts version: 1.0.0.0
Updated from an older ownCloud or fresh install: Updated from 8.x
Signing status (ownCloud 9.0 and above):
List of activated apps:
The content of config/config.php:
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Chrome 48
Operating system: OS X 10.11
CardDAV-clients: iOS 9.2, OS X 10.11
The text was updated successfully, but these errors were encountered: