{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/client/issues/3408","labels_url":"https://api.github.com/repos/owncloud/client/issues/3408/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/client/issues/3408/comments","events_url":"https://api.github.com/repos/owncloud/client/issues/3408/events","html_url":"https://github.com/owncloud/client/issues/3408","id":93041334,"number":3408,"title":"ownCloud consumes too much CPU cycles when a single file is updated","user":{"login":"fefrei","id":3078885,"avatar_url":"https://avatars.githubusercontent.com/u/3078885?v=3","gravatar_id":"","url":"https://api.github.com/users/fefrei","html_url":"https://github.com/fefrei","followers_url":"https://api.github.com/users/fefrei/followers","following_url":"https://api.github.com/users/fefrei/following{/other_user}","gists_url":"https://api.github.com/users/fefrei/gists{/gist_id}","starred_url":"https://api.github.com/users/fefrei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fefrei/subscriptions","organizations_url":"https://api.github.com/users/fefrei/orgs","repos_url":"https://api.github.com/users/fefrei/repos","events_url":"https://api.github.com/users/fefrei/events{/privacy}","received_events_url":"https://api.github.com/users/fefrei/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/client/labels/Performance","name":"Performance","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"guruz","id":959327,"avatar_url":"https://avatars.githubusercontent.com/u/959327?v=3","gravatar_id":"","url":"https://api.github.com/users/guruz","html_url":"https://github.com/guruz","followers_url":"https://api.github.com/users/guruz/followers","following_url":"https://api.github.com/users/guruz/following{/other_user}","gists_url":"https://api.github.com/users/guruz/gists{/gist_id}","starred_url":"https://api.github.com/users/guruz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guruz/subscriptions","organizations_url":"https://api.github.com/users/guruz/orgs","repos_url":"https://api.github.com/users/guruz/repos","events_url":"https://api.github.com/users/guruz/events{/privacy}","received_events_url":"https://api.github.com/users/guruz/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/owncloud/client/milestones/13","html_url":"https://github.com/owncloud/client/milestones/2.0%20-%20Multi-account","labels_url":"https://api.github.com/repos/owncloud/client/milestones/13/labels","id":518715,"number":13,"title":"2.0 - Multi-account","description":"","creator":{"login":"MTRichards","id":1818977,"avatar_url":"https://avatars.githubusercontent.com/u/1818977?v=3","gravatar_id":"","url":"https://api.github.com/users/MTRichards","html_url":"https://github.com/MTRichards","followers_url":"https://api.github.com/users/MTRichards/followers","following_url":"https://api.github.com/users/MTRichards/following{/other_user}","gists_url":"https://api.github.com/users/MTRichards/gists{/gist_id}","starred_url":"https://api.github.com/users/MTRichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MTRichards/subscriptions","organizations_url":"https://api.github.com/users/MTRichards/orgs","repos_url":"https://api.github.com/users/MTRichards/repos","events_url":"https://api.github.com/users/MTRichards/events{/privacy}","received_events_url":"https://api.github.com/users/MTRichards/received_events","type":"User","site_admin":false},"open_issues":86,"closed_issues":102,"state":"open","created_at":"2013-12-20T19:31:27Z","updated_at":"2015-07-13T08:54:14Z","due_on":"2015-08-20T04:00:00Z","closed_at":null},"comments":4,"created_at":"2015-07-04T19:36:58Z","updated_at":"2015-07-13T09:09:40Z","closed_at":null,"body":"### Expected behaviour\r\nWhen changing a single, small file in a synced directory, ownCloud should pick up the change automatically, only check this file, and quickly upload it.\r\n\r\n### Actual behaviour\r\nAfter changing the file, ownCloud reacts within seconds, and shows `Discovering '<folder>'`. By looking at `<folder>`, it is clear that the client is re-scanning unrelated parts of the synced folder, possibly the whole folder. For a synced folder with >10.000 files, this means that on my machine, the client fully utilizes one CPU for about 20 seconds whenever a file is changes. Combine this with a text editor that auto-saves quite regularly, and you get a hot laptop and poor battery life simply by editing a text file.\r\n\r\n### Steps to reproduce\r\n1. Have a large folder synced to ownCloud.\r\n2. Write to a single file.\r\n3. Observe CPU utilization.\r\n\r\n### Server configuration\r\nOperating system: Raspbian\r\n\r\nWeb server: Apache/2.2.22 (Debian)\r\n\r\nDatabase: mysql  Ver 14.14 Distrib 5.5.43\r\n\r\nPHP version: PHP 5.4.41-0+deb7u1\r\n\r\nownCloud version: 8.0.4\r\n\r\nStorage backend: local disk\r\n\r\n### Client configuration\r\nClient version: 1.8.3\r\n\r\nOperating system: Windows 8.1 x64\r\n\r\nOS language: English (US), Region: Germany\r\n\r\nInstallation path of client: `\"C:\\Program Files (x86)\\ownCloud\\owncloud.exe\"`\r\n\r\n### Logs\r\n\r\nPlease use Gist (https://gist.github.com/) or a similar code paster for longer\r\nlogs.\r\n\r\n```Template for output < 10 lines```\r\n\r\n1. Output of `owncloud --logwindow` or `owncloud --logfile log.txt`\r\n[Here](https://secure.fefrei.de/paste/?859780143e2c599f#d/6sIuVDURgvzG6Dip0oJZaPRMdhsuaoIu1Ph50ZhJU=) is the log created by changing a single file - `C:\\Users\\Felix\\ownCloud\\Studium\\P2\\CS\\project.thy`.\r\n2. Web server error log:\r\nNo entries related to this.\r\n\r\n3. ownCloud log (data/owncloud.log):\r\nI have no idea what log this is referring to."},"comment":{"url":"https://api.github.com/repos/owncloud/client/issues/comments/120860063","html_url":"https://github.com/owncloud/client/issues/3408#issuecomment-120860063","issue_url":"https://api.github.com/repos/owncloud/client/issues/3408","id":120860063,"user":{"login":"fefrei","id":3078885,"avatar_url":"https://avatars.githubusercontent.com/u/3078885?v=3","gravatar_id":"","url":"https://api.github.com/users/fefrei","html_url":"https://github.com/fefrei","followers_url":"https://api.github.com/users/fefrei/followers","following_url":"https://api.github.com/users/fefrei/following{/other_user}","gists_url":"https://api.github.com/users/fefrei/gists{/gist_id}","starred_url":"https://api.github.com/users/fefrei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fefrei/subscriptions","organizations_url":"https://api.github.com/users/fefrei/orgs","repos_url":"https://api.github.com/users/fefrei/repos","events_url":"https://api.github.com/users/fefrei/events{/privacy}","received_events_url":"https://api.github.com/users/fefrei/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T09:09:40Z","updated_at":"2015-07-13T09:09:40Z","body":"I'm currently syncing a copy of my full dataset to a test account with this nightly build, installed on Windows 10. This might take a day or two, I'll report back when it is done."}}