{"action":"created","issue":{"url":"https://api.github.com/repos/thumbor/thumbor/issues/516","labels_url":"https://api.github.com/repos/thumbor/thumbor/issues/516/labels{/name}","comments_url":"https://api.github.com/repos/thumbor/thumbor/issues/516/comments","events_url":"https://api.github.com/repos/thumbor/thumbor/issues/516/events","html_url":"https://github.com/thumbor/thumbor/issues/516","id":97252122,"number":516,"title":"Ubuntu + Thumbor using 100% CPU","user":{"login":"igormatkovic","id":2323435,"avatar_url":"https://avatars.githubusercontent.com/u/2323435?v=3","gravatar_id":"","url":"https://api.github.com/users/igormatkovic","html_url":"https://github.com/igormatkovic","followers_url":"https://api.github.com/users/igormatkovic/followers","following_url":"https://api.github.com/users/igormatkovic/following{/other_user}","gists_url":"https://api.github.com/users/igormatkovic/gists{/gist_id}","starred_url":"https://api.github.com/users/igormatkovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igormatkovic/subscriptions","organizations_url":"https://api.github.com/users/igormatkovic/orgs","repos_url":"https://api.github.com/users/igormatkovic/repos","events_url":"https://api.github.com/users/igormatkovic/events{/privacy}","received_events_url":"https://api.github.com/users/igormatkovic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-07-25T20:14:10Z","updated_at":"2015-07-27T14:17:55Z","closed_at":null,"body":"Setup:\r\nDigitalOcean\r\nMachine 1:\r\nUbuntu 14.11\r\nThumbor 5.05\r\n\r\nMachine 2\r\nUbuntu 15.04\r\nThumbor 4.12.2\r\n\r\nBoth machines were with the default config.\r\nOnly thing changed was the Security key.\r\n\r\nsupervisord is starting 2 instances of thumber. And nginx is load balancing them. \r\nThere is nothing else on the machine running.\r\n\r\n\r\nEvery couple of hours. For some reason one of our cores on a 2core machine goes up to 100% and stays that way.\r\n\r\nIf we dont notice the problem after a while the second core will go up to 100%\r\n\r\nAnd then the images will load slowly.\r\n\r\nLooking at logs (debug is enabled) it all looked good.\r\nExcept in the syslog there there are thousands of these:\r\n\r\nJul 24 18:15:23 packer-ubuntu-15-04-amd64 kernel: [41464.159540] thumbor[25784]: segfault at 1ff1b58 ip 00007f4906cf9783 sp 00007fffe096d3c0 error 6 in libc-2.21.so[7f4906c77000+1c0000]\r\n\r\nAny ideas why this is happening.\r\n\r\nhttps://www.dropbox.com/s/ugfvd01vjii8q18/Screenshot%202015-07-25%2021.12.45.png?dl=0\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/thumbor/thumbor/issues/comments/125222183","html_url":"https://github.com/thumbor/thumbor/issues/516#issuecomment-125222183","issue_url":"https://api.github.com/repos/thumbor/thumbor/issues/516","id":125222183,"user":{"login":"igormatkovic","id":2323435,"avatar_url":"https://avatars.githubusercontent.com/u/2323435?v=3","gravatar_id":"","url":"https://api.github.com/users/igormatkovic","html_url":"https://github.com/igormatkovic","followers_url":"https://api.github.com/users/igormatkovic/followers","following_url":"https://api.github.com/users/igormatkovic/following{/other_user}","gists_url":"https://api.github.com/users/igormatkovic/gists{/gist_id}","starred_url":"https://api.github.com/users/igormatkovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igormatkovic/subscriptions","organizations_url":"https://api.github.com/users/igormatkovic/orgs","repos_url":"https://api.github.com/users/igormatkovic/repos","events_url":"https://api.github.com/users/igormatkovic/events{/privacy}","received_events_url":"https://api.github.com/users/igormatkovic/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T14:17:55Z","updated_at":"2015-07-27T14:17:55Z","body":"Not sure what you mean. The IP is pointing to a domain. But all the image URLs we are using are currently working.\r\n\r\nI tested around 2200 images with siege and they all loaded fine.\r\n\r\n\r\n"}}