{"action":"created","issue":{"url":"https://api.github.com/repos/macournoyer/thin/issues/289","labels_url":"https://api.github.com/repos/macournoyer/thin/issues/289/labels{/name}","comments_url":"https://api.github.com/repos/macournoyer/thin/issues/289/comments","events_url":"https://api.github.com/repos/macournoyer/thin/issues/289/events","html_url":"https://github.com/macournoyer/thin/issues/289","id":115244034,"number":289,"title":"SSL issue: can't allocate region","user":{"login":"gonchs","id":125857,"avatar_url":"https://avatars.githubusercontent.com/u/125857?v=3","gravatar_id":"","url":"https://api.github.com/users/gonchs","html_url":"https://github.com/gonchs","followers_url":"https://api.github.com/users/gonchs/followers","following_url":"https://api.github.com/users/gonchs/following{/other_user}","gists_url":"https://api.github.com/users/gonchs/gists{/gist_id}","starred_url":"https://api.github.com/users/gonchs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gonchs/subscriptions","organizations_url":"https://api.github.com/users/gonchs/orgs","repos_url":"https://api.github.com/users/gonchs/repos","events_url":"https://api.github.com/users/gonchs/events{/privacy}","received_events_url":"https://api.github.com/users/gonchs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-05T09:38:28Z","updated_at":"2015-11-05T14:34:27Z","closed_at":"2015-11-05T14:10:10Z","body":"When starting the server on localhost with\r\n\r\n```bundle exec thin start --ssl```\r\n\r\nthe server is unable to process requests, which results in \"Internal server error\"\r\n\r\n```\r\nUsing rack adapter\r\nThin web server (v1.6.4 codename Gob Bluth)\r\nMaximum connections set to 1024\r\nListening on 0.0.0.0:3000, CTRL+C to stop\r\nruby(31701,0x7fff76fae000) malloc: *** mach_vm_map(size=3458764513820545024) failed (error code=3)\r\n*** error: can't allocate region\r\n*** set a breakpoint in malloc_error_break to debug\r\nruby(31701,0x7fff76fae000) malloc: *** mach_vm_map(size=3458764513820545024) failed (error code=3)\r\n*** error: can't allocate region\r\n*** set a breakpoint in malloc_error_break to debug\r\nUnexpected error while processing request: failed to allocate memory\r\n        /Users/sergey/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/eventmachine-1.0.8/lib/em/connection.rb:488:in `get_peer_cert'\r\n        /Users/sergey/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/eventmachine-1.0.8/lib/em/connection.rb:488:in `get_peer_cert'\r\n        /Users/sergey/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/thin-1.6.4/lib/thin/connection.rb:75:in `pre_process'\r\n        /Users/sergey/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/thin-1.6.4/lib/thin/connection.rb:53:in `process'\r\n        /Users/sergey/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/thin-1.6.4/lib/thin/connection.rb:39:in `receive_data'\r\n        /Users/sergey/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/eventmachine-1.0.8/lib/eventmachine.rb:193:in `run_machine'\r\n        /Users/sergey/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/eventmachine-1.0.8/lib/eventmachine.rb:193:in `run'\r\n        /Users/sergey/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/thin-1.6.4/lib/thin/backends/base.rb:73:in `start'\r\n        /Users/sergey/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/thin-1.6.4/lib/thin/server.rb:162:in `start'\r\n        /Users/sergey/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/thin-1.6.4/lib/thin/controllers/controller.rb:87:in `start'\r\n        /Users/sergey/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/thin-1.6.4/lib/thin/runner.rb:200:in `run_command'\r\n        /Users/sergey/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/thin-1.6.4/lib/thin/runner.rb:156:in `run!'\r\n        /Users/sergey/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/thin-1.6.4/bin/thin:6:in `<top (required)>'\r\n        /Users/sergey/.rbenv/versions/2.2.3/bin/thin:23:in `load'\r\n        /Users/sergey/.rbenv/versions/2.2.3/bin/thin:23:in `<main>'\r\n```"},"comment":{"url":"https://api.github.com/repos/macournoyer/thin/issues/comments/154077423","html_url":"https://github.com/macournoyer/thin/issues/289#issuecomment-154077423","issue_url":"https://api.github.com/repos/macournoyer/thin/issues/289","id":154077423,"user":{"login":"gonchs","id":125857,"avatar_url":"https://avatars.githubusercontent.com/u/125857?v=3","gravatar_id":"","url":"https://api.github.com/users/gonchs","html_url":"https://github.com/gonchs","followers_url":"https://api.github.com/users/gonchs/followers","following_url":"https://api.github.com/users/gonchs/following{/other_user}","gists_url":"https://api.github.com/users/gonchs/gists{/gist_id}","starred_url":"https://api.github.com/users/gonchs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gonchs/subscriptions","organizations_url":"https://api.github.com/users/gonchs/orgs","repos_url":"https://api.github.com/users/gonchs/repos","events_url":"https://api.github.com/users/gonchs/events{/privacy}","received_events_url":"https://api.github.com/users/gonchs/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T14:34:27Z","updated_at":"2015-11-05T14:34:27Z","body":"How much memory does it need? This was run in a desktop environment with about 2 GB of free memory left."}}