ghostbusters2015 / juksun

A platform for community discussion. Free, open, simple.
http://www.discourse.org
GNU General Public License v2.0
0 stars 0 forks source link

구글클라우드 (대만 및 미국서버)의 네트워크 속도 문제인가? #3

Closed devkook closed 9 years ago

devkook commented 9 years ago

아니면 discourse 가 무겁거나 rails 에서 dev 모드로 떠서 ? thin 이라 하는 서버가 느린 ?

devkook commented 9 years ago

네트워크는 못쓸 정도는 아님

diginori@min  ~  ping juksun.co2rocket.com PING juksun.co2rocket.com (104.155.221.156): 56 data bytes 64 bytes from 104.155.221.156: icmp_seq=0 ttl=43 time=76.523 ms 64 bytes from 104.155.221.156: icmp_seq=1 ttl=43 time=81.618 ms 64 bytes from 104.155.221.156: icmp_seq=2 ttl=43 time=80.756 ms 64 bytes from 104.155.221.156: icmp_seq=3 ttl=43 time=81.641 ms 64 bytes from 104.155.221.156: icmp_seq=4 ttl=43 time=81.308 ms 64 bytes from 104.155.221.156: icmp_seq=5 ttl=43 time=76.805 ms ^C --- juksun.co2rocket.com ping statistics --- 6 packets transmitted, 6 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 76.523/79.775/81.641/2.221 ms diginori@min  ~  ping chost.co2rocket.com ping: cannot resolve chost.co2rocket.com: Unknown host ✘ diginori@min  ~  ping ghost.co2rocket.com PING ghost.co2rocket.com (104.155.221.182): 56 data bytes 64 bytes from 104.155.221.182: icmp_seq=0 ttl=43 time=77.599 ms 64 bytes from 104.155.221.182: icmp_seq=1 ttl=43 time=82.863 ms 64 bytes from 104.155.221.182: icmp_seq=2 ttl=43 time=77.520 ms 64 bytes from 104.155.221.182: icmp_seq=3 ttl=43 time=79.959 ms 64 bytes from 104.155.221.182: icmp_seq=4 ttl=43 time=82.594 ms

devkook commented 9 years ago

sudo python -m SimpleHTTPServer 80 띄워서 접속도 나쁘진 않음

devkook commented 9 years ago

https://github.com/discourse/discourse/blob/master/docs/INSTALL-ubuntu.md 에 따라 v1.1.3 릴리즈 버전을 받아서 설정 진행

devkook commented 9 years ago

discourse@ghostbusters-vm:/var/www/discourse$ createdb discourse_prod discourse@ghostbusters-vm:/var/www/discourse$ RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production bundle exec rake db:migrate rake aborted! PG::Error: fe_sendauth: no password supplied

devkook commented 9 years ago

https://meta.discourse.org/t/cant-precompile-assets-some-authentication-problem/16454/3

devkook commented 9 years ago

Started GET "/" for 61.98.67.90 at 2014-12-14 04:30:44 +0000 Started GET "/uploads/stylesheet-cache/desktop_b356451e68af71b2114d94d3de4f09bda58fa901.css" for 61.98.67.90 at 2014-12-14 04:30:44 +0000

ActionController::RoutingError (No route matches [GET] "/uploads/stylesheet-cache/desktop_b356451e68af71b2114d94d3de4f09bda58fa901.css"): config/initializers/quiet_logger.rb:10:in call_with_quiet_assets' config/initializers/silence_logger.rb:26:incall'

Processing by ExceptionsController#not_found as HTML Rendered exceptions/not_found.html.erb within layouts/no_js (5.4ms) Rendered common/_special_font_face.html.erb (0.5ms) Rendered common/_discourse_stylesheet.html.erb (0.3ms) Rendered layouts/_head.html.erb (1.4ms) Rendered text template (0.0ms) Completed 404 Not Found in 12ms (Views: 0.4ms | ActiveRecord: 2.5ms)

ActionController::RoutingError (No route matches [GET] "/assets/preload_store-31920d126dff3ac164899b889fbc135a.js"): config/initializers/quiet_logger.rb:10:in call_with_quiet_assets' config/initializers/silence_logger.rb:26:incall' 0:44 +0000 ActionController::RoutingError (No route matches [GET] "/assets/locales/en-50438eacabf380f1646c35b851a48271.js"): config/initializers/quiet_logger.rb:10:in call_with_quiet_assets' config/initializers/silence_logger.rb:26:incall' ActionController::RoutingError (No route matches [GET] "/assets/vendor-d1c1bafe4684dc862b35732938452627.js"): config/initializers/quiet_logger.rb:10:in call_with_quiet_assets' config/initializers/silence_logger.rb:26:incall' ActionController::RoutingError (No route matches [GET] "/assets/application-a8a976004e9076a306f5fcf888b5a8c6.js"): config/initializers/quiet_logger.rb:10:in call_with_quiet_assets' config/initializers/silence_logger.rb:26:incall' ActionController::RoutingError (No route matches [GET] "/assets/browser-update-e5b2d49ad4dfcda24c7a03853a374a97.js"): config/initializers/quiet_logger.rb:10:in call_with_quiet_assets' config/initializers/silence_logger.rb:26:incall'

devkook commented 9 years ago

http://ghost.co2rocket.com 로 향상된 속도록 접속 가능