{"action":"opened","issue":{"url":"https://api.github.com/repos/julianduque/beaglebone-io/issues/19","labels_url":"https://api.github.com/repos/julianduque/beaglebone-io/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/julianduque/beaglebone-io/issues/19/comments","events_url":"https://api.github.com/repos/julianduque/beaglebone-io/issues/19/events","html_url":"https://github.com/julianduque/beaglebone-io/issues/19","id":101786868,"number":19,"title":"Beaglebone Black high CPU usage","user":{"login":"mariobrizuela","id":13818244,"avatar_url":"https://avatars.githubusercontent.com/u/13818244?v=3","gravatar_id":"","url":"https://api.github.com/users/mariobrizuela","html_url":"https://github.com/mariobrizuela","followers_url":"https://api.github.com/users/mariobrizuela/followers","following_url":"https://api.github.com/users/mariobrizuela/following{/other_user}","gists_url":"https://api.github.com/users/mariobrizuela/gists{/gist_id}","starred_url":"https://api.github.com/users/mariobrizuela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariobrizuela/subscriptions","organizations_url":"https://api.github.com/users/mariobrizuela/orgs","repos_url":"https://api.github.com/users/mariobrizuela/repos","events_url":"https://api.github.com/users/mariobrizuela/events{/privacy}","received_events_url":"https://api.github.com/users/mariobrizuela/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-19T01:41:29Z","updated_at":"2015-08-19T01:41:29Z","closed_at":null,"body":"I just got my BBB to migrate a node project that I made for the Galileo Gen 2. Once I got my project running I noticed a very high cpu load, more than 2.0. Then I started to isolate the cause by stripping off the code until I get just the following code running;\r\n\r\nvar BeagleBone = require('beaglebone-io');\r\nvar board = new BeagleBone();\r\nboard.on('ready', function () {\r\n  this.digitalWrite(13, this.HIGH);\r\n});\r\n\r\nJust the code above give me the following results;\r\n\r\ntop - 18:35:18 up 49 min,  2 users,  load average: 1.27, 1.44, 1.14\r\n\r\nThe node process was using around 98% of cpu. I'm running on Debian 3.8.13 and node v0.10.38. I haven't seen this problem reported by other beaglebone-io users, One interesting thing is that also galileo-io is showing the same behaviour in my Galileo Gen 2, but in this case the cpu load stays around 0.4, which is also pretty high.\r\n\r\n"}}