{"action":"created","issue":{"url":"https://api.github.com/repos/syncthing/syncthing-inotify/issues/19","labels_url":"https://api.github.com/repos/syncthing/syncthing-inotify/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/syncthing/syncthing-inotify/issues/19/comments","events_url":"https://api.github.com/repos/syncthing/syncthing-inotify/issues/19/events","html_url":"https://github.com/syncthing/syncthing-inotify/issues/19","id":59623277,"number":19,"title":"High CPU load during idle since v0.4","user":{"login":"Schroedingers-Cat","id":6382400,"avatar_url":"https://avatars.githubusercontent.com/u/6382400?v=3","gravatar_id":"","url":"https://api.github.com/users/Schroedingers-Cat","html_url":"https://github.com/Schroedingers-Cat","followers_url":"https://api.github.com/users/Schroedingers-Cat/followers","following_url":"https://api.github.com/users/Schroedingers-Cat/following{/other_user}","gists_url":"https://api.github.com/users/Schroedingers-Cat/gists{/gist_id}","starred_url":"https://api.github.com/users/Schroedingers-Cat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Schroedingers-Cat/subscriptions","organizations_url":"https://api.github.com/users/Schroedingers-Cat/orgs","repos_url":"https://api.github.com/users/Schroedingers-Cat/repos","events_url":"https://api.github.com/users/Schroedingers-Cat/events{/privacy}","received_events_url":"https://api.github.com/users/Schroedingers-Cat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-03-03T10:35:44Z","updated_at":"2015-03-07T23:05:55Z","closed_at":null,"body":"There is a regression in syncthing-inotify v0.4 causing permanent high cpu load. This is the output from the console:\r\n\r\n```batch\r\nMicrosoft Windows [Version 6.1.7601]\r\nCopyright (c) 2009 Microsoft Corporation. Alle Rechte vorbehalten.\r\n\r\nC:\\Windows\\system32>\"C:\\Program Files\\Tools\\Syncthing\\syncthing-inotifyV05pre2.exe\" -api=\"[...]\"\r\n[OK] 2015/03/03 11:25:06 syncwatcher.go:260: Watching [Repo-Name]: [Repo-Path]\r\n[OK] 2015/03/03 11:25:06 syncwatcher.go:260: Watching [Repo-Name]: [Repo-Path]\r\n[OK] 2015/03/03 11:25:06 syncwatcher.go:260: Watching [Repo-Name]: [Repo-Path]\r\n[OK] 2015/03/03 11:25:07 syncwatcher.go:260: Watching [Repo-Name]: [Repo-Path]\r\n[OK] 2015/03/03 11:25:07 syncwatcher.go:260: Watching [Repo-Name]: [Repo-Path]\r\n[...8 more repos...]\r\n[WARNING] 2015/03/03 11:25:21 syncwatcher.go:256: CreateFile: Das System kann den angegebenen Pfad nicht finden.\r\n```\r\n\r\nThe last line means \"The system cannot find the path specified\". Unfortunately, there is no more detail about the warning. It should be noted that this warning message also appears when running syncthing-inotify v0.3 but it is without the permanent cpu load.\r\n\r\nWin7x64, up to syncthing-inotify v0.5pre2 and syncthing v0.10.24."},"comment":{"url":"https://api.github.com/repos/syncthing/syncthing-inotify/issues/comments/77715479","html_url":"https://github.com/syncthing/syncthing-inotify/issues/19#issuecomment-77715479","issue_url":"https://api.github.com/repos/syncthing/syncthing-inotify/issues/19","id":77715479,"user":{"login":"Schroedingers-Cat","id":6382400,"avatar_url":"https://avatars.githubusercontent.com/u/6382400?v=3","gravatar_id":"","url":"https://api.github.com/users/Schroedingers-Cat","html_url":"https://github.com/Schroedingers-Cat","followers_url":"https://api.github.com/users/Schroedingers-Cat/followers","following_url":"https://api.github.com/users/Schroedingers-Cat/following{/other_user}","gists_url":"https://api.github.com/users/Schroedingers-Cat/gists{/gist_id}","starred_url":"https://api.github.com/users/Schroedingers-Cat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Schroedingers-Cat/subscriptions","organizations_url":"https://api.github.com/users/Schroedingers-Cat/orgs","repos_url":"https://api.github.com/users/Schroedingers-Cat/repos","events_url":"https://api.github.com/users/Schroedingers-Cat/events{/privacy}","received_events_url":"https://api.github.com/users/Schroedingers-Cat/received_events","type":"User","site_admin":false},"created_at":"2015-03-07T23:05:54Z","updated_at":"2015-03-07T23:05:54Z","body":"The high CPU load is caused by this warning message:\r\n```\r\n[WARNING] 2015/03/03 11:41:20 syncwatcher.go:256: CreateFile: Das System kann den angegebenen Pfad nicht finden. (The system cannot find the path specified)\r\n```\r\nAfter blindly removing Syncthing repos and restarting syncthing-inotify, the warning messages disappeared and the CPU load is gone. \r\n\r\nDigging deeper, the warning message was probably caused by an invalid symlink sending syncthing-inotify into an infinite loop. "}}