{"action":"created","issue":{"url":"https://api.github.com/repos/syncthing/syncthing-inotify/issues/47","labels_url":"https://api.github.com/repos/syncthing/syncthing-inotify/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/syncthing/syncthing-inotify/issues/47/comments","events_url":"https://api.github.com/repos/syncthing/syncthing-inotify/issues/47/events","html_url":"https://github.com/syncthing/syncthing-inotify/issues/47","id":67813889,"number":47,"title":"Higher than average CPU Usage","user":{"login":"majorsl","id":3105401,"avatar_url":"https://avatars.githubusercontent.com/u/3105401?v=3","gravatar_id":"","url":"https://api.github.com/users/majorsl","html_url":"https://github.com/majorsl","followers_url":"https://api.github.com/users/majorsl/followers","following_url":"https://api.github.com/users/majorsl/following{/other_user}","gists_url":"https://api.github.com/users/majorsl/gists{/gist_id}","starred_url":"https://api.github.com/users/majorsl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/majorsl/subscriptions","organizations_url":"https://api.github.com/users/majorsl/orgs","repos_url":"https://api.github.com/users/majorsl/repos","events_url":"https://api.github.com/users/majorsl/events{/privacy}","received_events_url":"https://api.github.com/users/majorsl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-11T17:54:17Z","updated_at":"2015-04-12T18:31:39Z","closed_at":null,"body":"Running 0.11Beta and the Beta of inotify.  My CPU usage is a constant 17%+ in SyncThing whereas before it was less than 0.1%.  The issue seems to be inotify.  It seems to get stuck in some sort of indexing loop when there is nothing new to index. For example, right now my log is filled with:\r\n\r\n[OK] 13:42:42 Syncthing is indexing change in Pictures: [.]\r\n[OK] 13:42:51 Syncthing is indexing change in Pictures: [.]\r\n[OK] 13:43:03 Syncthing is indexing change in Pictures: [.]\r\n[OK] 13:43:12 Syncthing is indexing change in Pictures: [.]\r\n[OK] 13:43:21 Syncthing is indexing change in Pictures: [.]\r\n[OK] 13:43:31 Syncthing is indexing change in Pictures: [.]\r\n[OK] 13:43:40 Syncthing is indexing change in Pictures: [.]\r\n\r\nYet no changes have been made.  That particular share is quite large and probably goes over OS X's max allowed open files, which from what I read was fixed in .6.  In .5, I had just cranked up the max allowed open files and wasn't seeing this issue with the same shares.\r\n\r\nIf I exit syncthing-inotify and restart, it'll be fine for hours then start getting in a \"loop\" like the above.\r\n\r\nI should mention, even in that \"loop\" if a change in the directory happens, it will pick it up, so it still does its job."},"comment":{"url":"https://api.github.com/repos/syncthing/syncthing-inotify/issues/comments/92098620","html_url":"https://github.com/syncthing/syncthing-inotify/issues/47#issuecomment-92098620","issue_url":"https://api.github.com/repos/syncthing/syncthing-inotify/issues/47","id":92098620,"user":{"login":"Zillode","id":14169,"avatar_url":"https://avatars.githubusercontent.com/u/14169?v=3","gravatar_id":"","url":"https://api.github.com/users/Zillode","html_url":"https://github.com/Zillode","followers_url":"https://api.github.com/users/Zillode/followers","following_url":"https://api.github.com/users/Zillode/following{/other_user}","gists_url":"https://api.github.com/users/Zillode/gists{/gist_id}","starred_url":"https://api.github.com/users/Zillode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zillode/subscriptions","organizations_url":"https://api.github.com/users/Zillode/orgs","repos_url":"https://api.github.com/users/Zillode/repos","events_url":"https://api.github.com/users/Zillode/events{/privacy}","received_events_url":"https://api.github.com/users/Zillode/received_events","type":"User","site_admin":false},"created_at":"2015-04-12T18:31:39Z","updated_at":"2015-04-12T18:31:39Z","body":"Could you run inotify with `-verbosity=4`?"}}