我刚刚在ubuntu 64位服务器上推送我的应用程序(rails)并使用瘦和nginx。64位Ubuntu(亚马逊)上的瘦服务器问题
启动瘦服务器我收到问题后仅仅两分钟后: -
>> Thin web server (v1.5.1 codename Straight Razor)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:3000, CTRL+C to stop
>> Exiting!
/usr/local/rvm/gems/[email protected]/gems/eventmachine-1.0.3/lib/em/pure_ruby.rb:578:in `write_nonblock': Broken pipe (Errno::EPIPE)
from /usr/local/rvm/gems/[email protected]/gems/eventmachine-1.0.3/lib/em/pure_ruby.rb:578:in `eventable_write'
from /usr/local/rvm/gems/[email protected]/gems/eventmachine-1.0.3/lib/em/pure_ruby.rb:368:in `block in crank_selectables'
from /usr/local/rvm/gems/[email protected]/gems/eventmachine-1.0.3/lib/em/pure_ruby.rb:368:in `each'
from /usr/local/rvm/gems/[email protected]/gems/eventmachine-1.0.3/lib/em/pure_ruby.rb:368:in `crank_selectables'
from /usr/local/rvm/gems/[email protected]/gems/eventmachine-1.0.3/lib/em/pure_ruby.rb:324:in `block in run'
from /usr/local/rvm/gems/[email protected]/gems/eventmachine-1.0.3/lib/em/pure_ruby.rb:318:in `loop'
from /usr/local/rvm/gems/[email protected]/gems/eventmachine-1.0.3/lib/em/pure_ruby.rb:318:in `run'
from /usr/local/rvm/gems/[email protected]/gems/eventmachine-1.0.3/lib/em/pure_ruby.rb:62:in `run_machine'
from /usr/local/rvm/gems/[email protected]/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run'
from /usr/local/rvm/gems/[email protected]/gems/thin-1.5.1/lib/thin/backends/base.rb:63:in `start'
from /usr/local/rvm/gems/[email protected]/gems/thin-1.5.1/lib/thin/server.rb:159:in `start'
from /usr/local/rvm/gems/[email protected]/gems/thin-1.5.1/lib/thin/controllers/controller.rb:86:in `start'
from /usr/local/rvm/gems/[email protected]/gems/thin-1.5.1/lib/thin/runner.rb:187:in `run_command'
from /usr/local/rvm/gems/[email protected]/gems/thin-1.5.1/lib/thin/runner.rb:152:in `run!'
from /usr/local/rvm/gems/[email protected]/gems/thin-1.5.1/bin/thin:6:in `<top (required)>'
from /usr/local/rvm/gems/[email protected]/bin/thin:23:in `load'
from /usr/local/rvm/gems/[email protected]/bin/thin:23:in `<main>'
from /usr/local/rvm/gems/[email protected]/bin/ruby_executable_hooks:15:in `eval'
from /usr/local/rvm/gems/[email protected]/bin/ruby_executable_hooks:15:in `<main>'
可有人请帮助我。不要以为是因为交通或网络拥堵。还想问一下什么是破管意味着什么。
您是否向您的服务器发送流量?它看起来像是异步发生的事情,导致你的应用程序崩溃。 – Rico
@Rico ..我看着这个问题,并思考相同..但什么样的流量可以导致应用程序在2分钟内down了 – Catmandu