{"action":"created","issue":{"url":"https://api.github.com/repos/ceph/ceph/issues/5882","labels_url":"https://api.github.com/repos/ceph/ceph/issues/5882/labels{/name}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/5882/comments","events_url":"https://api.github.com/repos/ceph/ceph/issues/5882/events","html_url":"https://github.com/ceph/ceph/pull/5882","id":105962629,"number":5882,"title":"threads: add thread names","user":{"login":"aiicore","id":12440992,"avatar_url":"https://avatars.githubusercontent.com/u/12440992?v=3","gravatar_id":"","url":"https://api.github.com/users/aiicore","html_url":"https://github.com/aiicore","followers_url":"https://api.github.com/users/aiicore/followers","following_url":"https://api.github.com/users/aiicore/following{/other_user}","gists_url":"https://api.github.com/users/aiicore/gists{/gist_id}","starred_url":"https://api.github.com/users/aiicore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aiicore/subscriptions","organizations_url":"https://api.github.com/users/aiicore/orgs","repos_url":"https://api.github.com/users/aiicore/repos","events_url":"https://api.github.com/users/aiicore/events{/privacy}","received_events_url":"https://api.github.com/users/aiicore/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ceph/ceph/labels/core","name":"core","color":"0052cc"},{"url":"https://api.github.com/repos/ceph/ceph/labels/feature","name":"feature","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"liewegas","id":433031,"avatar_url":"https://avatars.githubusercontent.com/u/433031?v=3","gravatar_id":"","url":"https://api.github.com/users/liewegas","html_url":"https://github.com/liewegas","followers_url":"https://api.github.com/users/liewegas/followers","following_url":"https://api.github.com/users/liewegas/following{/other_user}","gists_url":"https://api.github.com/users/liewegas/gists{/gist_id}","starred_url":"https://api.github.com/users/liewegas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liewegas/subscriptions","organizations_url":"https://api.github.com/users/liewegas/orgs","repos_url":"https://api.github.com/users/liewegas/repos","events_url":"https://api.github.com/users/liewegas/events{/privacy}","received_events_url":"https://api.github.com/users/liewegas/received_events","type":"User","site_admin":false},"milestone":null,"comments":14,"created_at":"2015-09-11T08:03:54Z","updated_at":"2015-12-02T11:13:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/5882","html_url":"https://github.com/ceph/ceph/pull/5882","diff_url":"https://github.com/ceph/ceph/pull/5882.diff","patch_url":"https://github.com/ceph/ceph/pull/5882.patch"},"body":"Adding names to threads simplifies cpu usage realtime tracking e.g. top -H -p <OSD_PID>\r\n\r\nThis commit changes Thread.create() method forcing to pass thread name.\r\n\r\nExample:\r\n```\r\n> pgrep -lf ceph-osd\r\n2300236 /usr/bin/ceph-osd -i 0 --pid-file /var/run/ceph/osd.0.pid -c /etc/ceph/ceph.conf --cluster ceph\r\n...\r\n\r\n> top -H -p 2300236 -b -n 1 \r\n...\r\n    PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND\r\n2300295 root      20   0 1409m 513m  46m S  5.9  0.4   0:00.18 file journal\r\n2300299 root      20   0 1409m 513m  46m S  3.9  0.4   0:01.76 thread pool\r\n2645280 root      20   0 1409m 513m  46m S  3.9  0.4   0:00.02 pipe rader\r\n2300296 root      20   0 1409m 513m  46m S  2.0  0.4   0:00.03 ceph-osd\r\n```\r\n\r\nSigned-off-by: Igor Podoski <igor.podoski@ts.fujitsu.com>"},"comment":{"url":"https://api.github.com/repos/ceph/ceph/issues/comments/161263930","html_url":"https://github.com/ceph/ceph/pull/5882#issuecomment-161263930","issue_url":"https://api.github.com/repos/ceph/ceph/issues/5882","id":161263930,"user":{"login":"loic-bot","id":9638672,"avatar_url":"https://avatars.githubusercontent.com/u/9638672?v=3","gravatar_id":"","url":"https://api.github.com/users/loic-bot","html_url":"https://github.com/loic-bot","followers_url":"https://api.github.com/users/loic-bot/followers","following_url":"https://api.github.com/users/loic-bot/following{/other_user}","gists_url":"https://api.github.com/users/loic-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/loic-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loic-bot/subscriptions","organizations_url":"https://api.github.com/users/loic-bot/orgs","repos_url":"https://api.github.com/users/loic-bot/repos","events_url":"https://api.github.com/users/loic-bot/events{/privacy}","received_events_url":"https://api.github.com/users/loic-bot/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T11:13:46Z","updated_at":"2015-12-02T11:13:46Z","body":"FAILURE: http://jenkins.ceph.dachary.org/job/ceph/9756/\n* FAILURE http://jenkins.ceph.dachary.org/job/ceph/LABELS=centos-7&&x86_64/9756/\n"}}