{"action":"created","issue":{"url":"https://api.github.com/repos/qtop/qtop/issues/242","repository_url":"https://api.github.com/repos/qtop/qtop","labels_url":"https://api.github.com/repos/qtop/qtop/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/qtop/qtop/issues/242/comments","events_url":"https://api.github.com/repos/qtop/qtop/issues/242/events","html_url":"https://github.com/qtop/qtop/issues/242","id":192667499,"number":242,"title":"High CPU usage by qtop","user":{"login":"ravikishorek","id":4214775,"avatar_url":"https://avatars.githubusercontent.com/u/4214775?v=3","gravatar_id":"","url":"https://api.github.com/users/ravikishorek","html_url":"https://github.com/ravikishorek","followers_url":"https://api.github.com/users/ravikishorek/followers","following_url":"https://api.github.com/users/ravikishorek/following{/other_user}","gists_url":"https://api.github.com/users/ravikishorek/gists{/gist_id}","starred_url":"https://api.github.com/users/ravikishorek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravikishorek/subscriptions","organizations_url":"https://api.github.com/users/ravikishorek/orgs","repos_url":"https://api.github.com/users/ravikishorek/repos","events_url":"https://api.github.com/users/ravikishorek/events{/privacy}","received_events_url":"https://api.github.com/users/ravikishorek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/qtop/qtop/milestones/8","html_url":"https://github.com/qtop/qtop/milestones/0.9.201612","labels_url":"https://api.github.com/repos/qtop/qtop/milestones/8/labels","id":2168485,"number":8,"title":"0.9.201612","description":null,"creator":{"login":"fgeorgatos","id":1531968,"avatar_url":"https://avatars.githubusercontent.com/u/1531968?v=3","gravatar_id":"","url":"https://api.github.com/users/fgeorgatos","html_url":"https://github.com/fgeorgatos","followers_url":"https://api.github.com/users/fgeorgatos/followers","following_url":"https://api.github.com/users/fgeorgatos/following{/other_user}","gists_url":"https://api.github.com/users/fgeorgatos/gists{/gist_id}","starred_url":"https://api.github.com/users/fgeorgatos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgeorgatos/subscriptions","organizations_url":"https://api.github.com/users/fgeorgatos/orgs","repos_url":"https://api.github.com/users/fgeorgatos/repos","events_url":"https://api.github.com/users/fgeorgatos/events{/privacy}","received_events_url":"https://api.github.com/users/fgeorgatos/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2016-12-01T11:29:52Z","updated_at":"2016-12-01T16:54:47Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2016-11-30T20:15:11Z","updated_at":"2016-12-01T19:42:33Z","closed_at":null,"body":"I have observed that the qtop from the development branch is spiking at almost 45% of a core usage at times. Upon looking at the log file, I find the following segments of text repeatedly. Do you have any idea on what could be happening?\r\n\r\nCommand issued: ['cat', '-E', '/home/ravikk/.local/qtop/getent_passwd.txt']\r\nWARNING - You have to set a proper command to get the passwd file in your qtopconf.yaml file.\r\nWARNING - Error returned by getent: cat: /home/ravikk/.local/qtop/getent_passwd.txt: No such file or directory"},"comment":{"url":"https://api.github.com/repos/qtop/qtop/issues/comments/264273100","html_url":"https://github.com/qtop/qtop/issues/242#issuecomment-264273100","issue_url":"https://api.github.com/repos/qtop/qtop/issues/242","id":264273100,"user":{"login":"ravikishorek","id":4214775,"avatar_url":"https://avatars.githubusercontent.com/u/4214775?v=3","gravatar_id":"","url":"https://api.github.com/users/ravikishorek","html_url":"https://github.com/ravikishorek","followers_url":"https://api.github.com/users/ravikishorek/followers","following_url":"https://api.github.com/users/ravikishorek/following{/other_user}","gists_url":"https://api.github.com/users/ravikishorek/gists{/gist_id}","starred_url":"https://api.github.com/users/ravikishorek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravikishorek/subscriptions","organizations_url":"https://api.github.com/users/ravikishorek/orgs","repos_url":"https://api.github.com/users/ravikishorek/repos","events_url":"https://api.github.com/users/ravikishorek/events{/privacy}","received_events_url":"https://api.github.com/users/ravikishorek/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T19:42:33Z","updated_at":"2016-12-01T19:42:33Z","body":"@sfranky Sorry for the confusion. The /dev/null doesn't have anything to do with the CPU usage spike. It just prevents writing to the log file (which bloats over time). The CPU usage is linked only with the different commits, with the older commit consistently working at 5% CPU usage and the latest commit spiking between 10 - 45% of a Core."}}
{"actor":{"display_login":"ravikishorek"}}