我剛剛在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