{"action":"created","issue":{"url":"https://api.github.com/repos/bmc/daemonize/issues/18","labels_url":"https://api.github.com/repos/bmc/daemonize/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/bmc/daemonize/issues/18/comments","events_url":"https://api.github.com/repos/bmc/daemonize/issues/18/events","html_url":"https://github.com/bmc/daemonize/issues/18","id":110223946,"number":18,"title":"CPU usage spikes to 100%","user":{"login":"ankitsharda","id":13131514,"avatar_url":"https://avatars.githubusercontent.com/u/13131514?v=3","gravatar_id":"","url":"https://api.github.com/users/ankitsharda","html_url":"https://github.com/ankitsharda","followers_url":"https://api.github.com/users/ankitsharda/followers","following_url":"https://api.github.com/users/ankitsharda/following{/other_user}","gists_url":"https://api.github.com/users/ankitsharda/gists{/gist_id}","starred_url":"https://api.github.com/users/ankitsharda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankitsharda/subscriptions","organizations_url":"https://api.github.com/users/ankitsharda/orgs","repos_url":"https://api.github.com/users/ankitsharda/repos","events_url":"https://api.github.com/users/ankitsharda/events{/privacy}","received_events_url":"https://api.github.com/users/ankitsharda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-07T13:18:28Z","updated_at":"2015-10-07T13:52:26Z","closed_at":null,"body":"I am using daemonize to covert binaries (of our own software) to daemons. I've experienced an issue where two of these binaries immediately show 100% of a core usage when they are started using daemonize. When I run them in tmux or in the foreground , they report normal CPU usage. Any ideas on what could be causing this ?\r\n\r\nAnkit"},"comment":{"url":"https://api.github.com/repos/bmc/daemonize/issues/comments/146202020","html_url":"https://github.com/bmc/daemonize/issues/18#issuecomment-146202020","issue_url":"https://api.github.com/repos/bmc/daemonize/issues/18","id":146202020,"user":{"login":"ankitsharda","id":13131514,"avatar_url":"https://avatars.githubusercontent.com/u/13131514?v=3","gravatar_id":"","url":"https://api.github.com/users/ankitsharda","html_url":"https://github.com/ankitsharda","followers_url":"https://api.github.com/users/ankitsharda/followers","following_url":"https://api.github.com/users/ankitsharda/following{/other_user}","gists_url":"https://api.github.com/users/ankitsharda/gists{/gist_id}","starred_url":"https://api.github.com/users/ankitsharda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankitsharda/subscriptions","organizations_url":"https://api.github.com/users/ankitsharda/orgs","repos_url":"https://api.github.com/users/ankitsharda/repos","events_url":"https://api.github.com/users/ankitsharda/events{/privacy}","received_events_url":"https://api.github.com/users/ankitsharda/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T13:52:26Z","updated_at":"2015-10-07T13:52:26Z","body":"Thanks for the amazingly quick reply Brian. \r\nHow do you suggest we go about debugging this ? For starters, I'm going to sit down with one of our developers tomorrow and attach to the above processes in gdb when they are run using daemonize. Any other pointers you think that we should look at ? \r\n\r\n"}}