Code Monkey home page Code Monkey logo

castle's Introduction

image

castle's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

castle's Issues

Server spins out of control when feeds timeout the fetching process and it tries to fetch again

This is what the process list looks like:

$ ps aux | grep ruby
root 2521 0.0 0.0 7940 80 ? Sl Sep24 0:06 /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/ext/apache2/ApplicationPoolServerExecutable 0 /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/bin/passenger-spawn-server /opt/ruby-enterprise/bin/ruby /tmp/passenger.2509
deploy 12714 0.0 0.0 0 0 ? Z 06:22 0:01 [ruby]
deploy 12756 0.0 0.0 56440 4 ? S 06:30 0:01 /opt/ruby-enterprise/bin/ruby /usr/bin/rake feeds:fetch
deploy 12762 0.0 0.0 56440 4 ? S 06:36 0:01 /opt/ruby-enterprise/bin/ruby /usr/bin/rake feeds:fetch
deploy 12772 0.0 0.0 56444 4 ? S 06:42 0:01 /opt/ruby-enterprise/bin/ruby /usr/bin/rake feeds:fetch
deploy 12783 0.0 0.0 56436 4 ? S 06:48 0:01 /opt/ruby-enterprise/bin/ruby /usr/bin/rake feeds:fetch
deploy 12789 0.1 0.0 56444 4 ? S 06:54 0:01 /opt/ruby-enterprise/bin/ruby /usr/bin/rake feeds:fetch
deploy 12805 0.1 0.0 56436 4 ? S 07:00 0:01 /opt/ruby-enterprise/bin/ruby /usr/bin/rake feeds:fetch
deploy 12812 2.9 3.9 54400 21824 ? D 07:06 0:18 /opt/ruby-enterprise/bin/ruby /usr/bin/rake feeds:deliver
deploy 12813 2.6 0.3 53372 2092 ? D 07:06 0:16 /opt/ruby-enterprise/bin/ruby /usr/bin/rake feeds:fetch
deploy 12818 0.5 0.4 56444 2512 ? D 07:12 0:01 /opt/ruby-enterprise/bin/ruby /usr/bin/rake feeds:fetch
deploy 12819 0.5 0.5 56420 2864 ? D 07:12 0:01 /opt/ruby-enterprise/bin/ruby /usr/bin/rake feeds:deliver
deploy 12835 0.0 0.1 1916 592 pts/0 S+ 07:16 0:00 grep ruby

Title error when subscribing

D, [2009-09-28T22:50:20.985621 #32159] DEBUG -- : :sender: +[HIDDEN]
D, [2009-09-28T22:50:20.985757 #32159] DEBUG -- : :sent: Mon Sep 28 22:50:20 -0400 2009
D, [2009-09-28T22:50:20.985885 #32159] DEBUG -- : :received: Mon Sep 28 22:50:20 -0400 2009
D, [2009-09-28T22:50:20.986002 #32159] DEBUG -- : :text: Nacionales
D, [2009-09-28T22:50:20.986164 #32159] DEBUG -- : Processing message with the ping handler
D, [2009-09-28T22:50:20.986326 #32159] DEBUG -- : Processing message with the I love you handler
D, [2009-09-28T22:50:20.986457 #32159] DEBUG -- : Processing message with the remote handler
D, [2009-09-28T22:50:22.235710 #32159] DEBUG -- : Error sending to remote server: There was an error handling the message with handler Message::AddHandler: undefined method title' for nil:NilClass /var/www/castle/releases/20090928233350/app/processors/processor.rb:87:inhandle_command'/var/www/castle/releases/20090928233350/app/processors/processor.rb:82:in each'/var/www/castle/releases/20090928233350/app/processors/processor.rb:82:inhandle_command'/var/www/castle/releases/20090928233350/app/processors/processor.rb:18:in run'/var/www/castle/releases/20090928233350/app/processors/processor.rb:100:inuntil_halted'/var/www/castle/releases/20090928233350/app/processors/processor.rb:99:in catch'/var/www/castle/releases/20090928233350/app/processors/processor.rb:99:inuntil_halted'/var/www/castle/releases/20090928233350/app/processors/processor.rb:15:in run'/var/www/castle/releases/20090928233350/app/controllers/inbox_controller.rb:9:increate'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:1331:in send'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:1331:inperform_action_without_filters'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/filters.rb:617:in call_filters'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/filters.rb:610:inperform_action_without_benchmark'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/benchmarking.rb:68:in perform_action_without_rescue'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/core_ext/benchmark.rb:17:inms'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/core_ext/benchmark.rb:10:in realtime'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/core_ext/benchmark.rb:17:inms'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/benchmarking.rb:68:in perform_action_without_rescue'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:160:inperform_action_without_flash'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/flash.rb:146:in perform_action'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:532:insend'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:532:in process_without_filters'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/filters.rb:606:inprocess'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:391:in process'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:386:incall'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/routing/route_set.rb:437:in call'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:87:indispatch'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:121:in _call'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:130:inbuild_middleware_stack'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:29:in call'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:29:incall'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in cache'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:9:incache'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:28:in call'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:incall'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/vendor/rack-1.0.0-git/lib/rack/head.rb:9:in call'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/vendor/rack-1.0.0-git/lib/rack/methodoverride.rb:24:incall'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/params_parser.rb:15:in call'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/session/cookie_store.rb:93:incall'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/failsafe.rb:26:in call'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/vendor/rack-1.0.0-git/lib/rack/lock.rb:11:incall'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/vendor/rack-1.0.0-git/lib/rack/lock.rb:11:in synchronize'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/vendor/rack-1.0.0-git/lib/rack/lock.rb:11:incall'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:106:in call'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/rack/request_handler.rb:95:inprocess_request'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_request_handler.rb:207:in main_loop'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/railz/application_spawner.rb:378:instart_request_handler'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/railz/application_spawner.rb:336:in handle_spawn_application'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/utils.rb:183:insafe_fork'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/railz/application_spawner.rb:334:in handle_spawn_application'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb:352:insend'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb:352:in main_loop'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb:196:instart_synchronously'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb:163:in start'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/railz/application_spawner.rb:213:instart'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb:262:in spawn_rails_application'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server_collection.rb:126:inlookup_or_add'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb:256:in spawn_rails_application'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server_collection.rb:80:insynchronize'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server_collection.rb:79:in synchronize'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb:255:inspawn_rails_application'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb:154:in spawn_application'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb:287:inhandle_spawn_application'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb:352:in __send__'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb:352:inmain_loop'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/bin/passenger-spawn-server:61
D, [2009-09-28T22:50:22.23

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.