What is causing these errors in my Heroku app?

I am getting the following errors when a Heroku worker runs a delayed_job and cannot work out why. The first error seems related to the Evernote gem, even though I don't actually have any code at all which uses it yet in the entire project. All I have is

gem 'evernote', "~> 0.9.0"

in the gemfile.

The second one seems related to the Newrelic Heroku addon, which is an application monitoring service. But it does monitor the application so I have no idea what could be causing the error.

What is causing these errors?

1st

2011-05-11T03:31:22+00:00 heroku[worker.3]: Stopping process with SIGTERM 2011-05-11T03:31:22+00:00 app[worker.3]: rake aborted! 2011-05-11T03:31:22+00:00 app[worker.3]: SIGTERM 2011-05-11T03:31:22+00:00 app[worker.3]: /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in `require' 2011-05-11T03:31:22+00:00 app[worker.3]: /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in `block in require' 2011-05-11T03:31:22+00:00 app[worker.3]: /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:225:in `block in load_dependency' 2011-05-11T03:31:22+00:00 app[worker.3]: /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:591:in `new_constants_in' 2011-05-11T03:31:22+00:00 app[worker.3]: /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:225:in `load_dependency' 2011-05-11T03:31:22+00:00 app[worker.3]: /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in `require' 2011-05-11T03:31:22+00:00 app[worker.3]: /app/.bundle/gems/ruby/1.9.1/gems/evernote-0.9.0/vendor/gen-rb/evernote.rb:5:in `<top (required)>' 2011-05-11T03:31:22+00:00 heroku[worker.3]: Process exited 2011-05-10T20:31:23-07:00 heroku[worker.2]: State changed from up to stopping

2nd

2011-05-11T03:31:25+00:00 heroku[worker.2]: Stopping process with SIGTERM 2011-05-11T03:31:25+00:00 app[worker.2]: rake aborted! 2011-05-11T03:31:25+00:00 app[worker.2]: SIGTERM 2011-05-11T03:31:25+00:00 app[worker.2]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.1/lib/action_controller/caching/pages.rb:38:in `extend' 2011-05-11T03:31:25+00:00 app[worker.2]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.1/lib/action_controller/caching/pages.rb:38:in `<module:Pages>' 2011-05-11T03:31:25+00:00 app[worker.2]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.1/lib/action_controller/caching/pages.rb:37:in `<module:Caching>' 2011-05-11T03:31:25+00:00 app[worker.2]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.1/lib/action_controller/caching/pages.rb:6:in `<module:ActionController>' 2011-05-11T03:31:25+00:00 app[worker.2]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.1/lib/action_controller/caching/pages.rb:5:in `<top (required)>' 2011-05-11T03:31:25+00:00 app[worker.2]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.1/lib/action_controller/caching.rb:60:in `<module:Caching>' 2011-05-11T03:31:25+00:00 app[worker.2]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.1/lib/action_controller/caching.rb:31:in `<module:ActionController>' 2011-05-11T03:31:25+00:00 app[worker.2]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.1/lib/action_controller/caching.rb:5:in `<top (required)>' 2011-05-11T03:31:25+00:00 app[worker.2]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.1/lib/action_controller/base.rb:192:in `<class:Base>' 2011-05-11T03:31:25+00:00 app[worker.2]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.1/lib/action_controller/base.rb:167:in `<module:ActionController>' 2011-05-11T03:31:25+00:00 app[worker.2]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.1/lib/action_controller/base.rb:3:in `<top (required)>' 2011-05-11T03:31:25+00:00 app[worker.2]: /app/vendor/plugins/rpm/lib/new_relic/control/frameworks/rails.rb:127:in `install_shim' 2011-05-11T03:31:25+00:00 app[worker.2]: /app/vendor/plugins/rpm/lib/new_relic/control.rb:137:in `init_plugin' 2011-05-11T03:31:25+00:00 app[worker.2]: /app/vendor/plugins/rpm/init.rb:26:in `block in <class:Plugin>' 2011-05-11T03:31:25+00:00 app[worker.2]: /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.1/lib/rails/plugin.rb:81:in `eval' 2011-05-11T03:31:25+00:00 app[worker.2]: /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.1/lib/rails/plugin.rb:81:in `block in <class:Plugin>' 2011-05-11T03:31:25+00:00 app[worker.2]: /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.1/lib/rails/initializable.rb:25:in `instance_exec' 2011-05-11T03:31:25+00:00 app[worker.2]: /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.1/lib/rails/initializable.rb:25:in `run' 2011-05-11T03:31:25+00:00 app[worker.2]: /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.1/lib/rails/initializable.rb:50:in `block in run_initializers' 2011-05-11T03:31:25+00:00 app[worker.2]: /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.1/lib/rails/initializable.rb:49:in `each' 2011-05-11T03:31:25+00:00 app[worker.2]: /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.1/lib/rails/initializable.rb:49:in `run_initializers' 2011-05-11T03:31:25+00:00 app[worker.2]: /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.1/lib/rails/application.rb:134:in `initialize!' 2011-05-11T03:31:25+00:00 app[worker.2]: /app/config/environment.rb:5:in `<top (required)>' 2011-05-11T03:31:25+00:00 app[worker.2]: /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:225:in `block in load_dependency' 2011-05-11T03:31:25+00:00 app[worker.2]: /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in `require' 2011-05-11T03:31:25+00:00 app[worker.2]: /usr/ruby1.9.2/lib/ruby/1.9.1/rake.rb:588:in `invoke_with_call_chain' 2011-05-11T03:31:25+00:00 app[worker.2]: /usr/ruby1.9.2/lib/ruby/1.9.1/rake.rb:2041:in `invoke_task' 2011-05-11T03:31:25+00:00 heroku[worker.2]: Process exited

EDIT:

Here is the stack info:

Stack: bamboo-mri-1.9.2

EDIT 2:

Here is another one:

2011-05-19T02:07:07+00:00 app[worker.1]: "success - end" 2011-05-19T02:07:07+00:00 app[worker.1]: [Worker(host:9c66d1f3-82a1-4489-b20b-b8460a467223 pid:1)] Mixpanel completed after 1.7464 2011-05-19T02:07:07+00:00 app[worker.1]: [Worker(host:9c66d1f3-82a1-4489-b20b-b8460a467223 pid:1)] 2 jobs processed at 0.1720 j/s, 0 failed ... 2011-05-19T02:07:07+00:00 app[worker.3]: rake aborted! 2011-05-19T02:07:07+00:00 app[worker.3]: SIGTERM 2011-05-19T02:07:07+00:00 app[worker.3]: /app/.bundle/gems/ruby/1.9.1/gems/builder-2.1.2/lib/blankslate.rb:107:in `append_features' 2011-05-19T02:07:07+00:00 app[worker.3]: /app/.bundle/gems/ruby/1.9.1/gems/devise-1.1.5/lib/devise/orm/active_record.rb:35:in `include' 2011-05-19T02:07:07+00:00 app[worker.3]: /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.1/lib/rails/engine.rb:200:in `block in <class:Engine>' 2011-05-19T02:07:07+00:00 heroku[worker.3]: Process exited 2011-05-18T19:07:08-07:00 heroku[worker.2]: State changed from created to starting 2011-05-19T02:07:08+00:00 app[worker.2]: [Worker(host:df710df0-7b32-42b7-b477-b810485b5dc7 pid:1)] RPM Monitoring DJ worker host:df710df0-7b32-42b7-b477-b810485b5dc7 pid:1 2011-05-19T02:07:08+00:00 app[worker.2]: Starting the New Relic Agent. 2011-05-19T02:07:08+00:00 app[worker.2]: [Worker(host:df710df0-7b32-42b7-b477-b810485b5dc7 pid:1)] Starting job worker 2011-05-19T02:07:09+00:00 heroku[worker.2]: Stopping process with SIGTERM 2011-05-19T02:07:09+00:00 app[worker.2]: [Worker(host:df710df0-7b32-42b7-b477-b810485b5dc7 pid:1)] Exiting... 2011-05-19T02:07:11+00:00 heroku[worker.2]: Starting process with command: `rake jobs:work` 2011-05-19T02:07:14+00:00 heroku[worker.2]: Process exited 2011-05-19T02:07:20+00:00 app[worker.2]: [Worker(host:5d665233-0dc4-4151-aab2-a64b7656df07 pid:1)] RPM Monitoring DJ worker host:5d665233-0dc4-4151-aab2-a64b7656df07 pid:1 2011-05-19T02:07:20+00:00 app[worker.2]: Starting the New Relic Agent. 2011-05-19T02:07:20+00:00 app[worker.2]: [Worker(host:5d665233-0dc4-4151-aab2-a64b7656df07 pid:1)] Starting job worker

-------------Problems Reply------------

The only time I've ever got the message "Stopping process with SIGTERM" has been when I have terminated the process manually - eg when I was running script/server and then hit CTRL-C

This is an operating system message saying that the process was terminated by somebody on purpose. It is not an internal failure.

I suggest you have a chat with the heroku people about whether your process was doing something silly and they terminated it.

from heroku help:

R12 - Exit timeout

A process failed to exit within 10 seconds of being sent a SIGTERM indicating that it should stop. The process is sent SIGKILL to force an exit.

See: https://devcenter.heroku.com/articles/error-codes#r12__exit_timeout

Seems you need more quickly code.

Category:ruby on rails Views:0 Time:2011-05-11

Related post

  • No Cedar supported app detected error in Sinatra Heroku app 2012-01-11

    Seems like everything worked fine when I pushed to Heroku as shown below. Then I run into an error on the latter while following Heroku's Docs: http://devcenter.heroku.com/articles/ruby#install_the_heroku_commandline_client -----> Heroku receiving

  • displaying errors in rails app. page 500 on heroku apps 2010-02-15

    I am deploying an app on Heroku. Though the experience of deploying is good but I am having pain in fixing stuff. Very first thing is that autoincrement IDs are all messed up between heroku db and my db. So before deploy I have to delete all data fro

  • App throws error when on Heroku 2011-12-14

    I get an error after deploying my app to Heroku. Locally it works fine. I'm using Sinatra and the Wordnik API. Here's the code: require 'rubygems' require 'sinatra' require 'haml' require 'json' require 'wordnik' Wordnik.configure do |config| config.

  • Errors Pushing to Heroku (node.js) 2012-02-19

    When I push a default express app to heroku I get the following error. I've ensured I am up to date with heroku-toolbelt etc but it appears to be an error from the heroku side? Has anyone seen this? It pushes alright and works as expected but I suspe

  • Heroku app breaks when adding Amazon Simple Storage Service (aws-s3) 2011-03-28

    My app works on Heroku until I add "gem 'aws-s3', :require => 'aws/s3'" to the gemfile. (I've also tried it with only the first part). As soon as I add this and try to "heroku rake db:migrate" I get this error "rake aborted! no such file to load -

  • Cloned Heroku app not working remotely 2011-06-22

    I wanted to create another cloned version of my existing heroku app on heroku. For that i cloned it to my local machine then create a new heroku app and push the code to the newly created app. I also pulled the db from the prev similar app and pushed

  • Deploying 2 different heroku apps with same git repository 2011-10-10

    I'm trying to create 2 different heroku apps using the same code with the same git repository. App1 is created in heroku by my friend and i'm not a collaborator and app2 is the branch of the same git repository that i'm trying to deploy. Is this poss

  • rails: Breaking Heroku app while trying to add AWS S3 and carrierwave 2012-01-14

    Update: it's really weird. I made a new app quickly and actually uploaded a file, but then I realized I had forgot to change storage :file to storage :fog. When I made that change to storage :fog, this new app broke github.com/MikeOnRails/s3 How coul

  • Heroku app doesn't work when create with the heroku CLI 2012-03-29

    I did heroku create and pushed a working rails app to the server. Everything seems fine, but when I go to the webpage I get an error. I even tried pushing up the same code for another heroku app I have that works, and I get the same error. Normally I

  • How to link a folder with an existing Heroku app with mercurial 2012-04-06

    I have an existing Django app on Bitbucket and I'm able to deploy to Heroku whith hg-git. Whenever i want to run some heroku command inside my app folder i get the following errors: $ heroku ps ! No app specified. ! Run this command from an app folde

  • Heroku app not loading pictures properly 2012-04-27

    I'm having issues loading up pictures on my Heroku app. It's driving me nuts. I have a page with 5 pics on it. It loads up perfectly fine on my local host, but when I try opening up the app on Heroku, only 2 of the 5 images load correctly. For the re

  • Error reporting from Flex app 2009-07-18

    I have a Flex 3 app which I want to instrument to report errors generated by the app to a server via simple HTTPService call. My idea is to wrap all the methods in try ... catch blocks which then pass the Error object to the reportError() function (w

  • Error 500 on Google App Engine out of nothing 2010-02-02

    I got Error 500 on Google App Engine out nothing. http://oladic.appspot.com/ - this got error. The same code runs flawlessly at: http://blogthere.appspot.com/ and http://912.latest.oladic.appspot.com/ How could this be? --------------Solutions-------

  • Why are my basic Heroku apps taking two seconds to load? 2010-04-09

    I created two very simple Heroku apps to test out the service, but it's often taking several seconds to load the page when I first visit them: Cropify - Basic Sinatra App (on github) Textile2HTML - Even more basic Sinatra App (on github) All I did wa

  • How can I pull an existing heroku app to new location for development? 2010-05-07

    I currently have the latest version of my code on another computer that I want to develop from (Home computer and laptop for when I'm out and about) I set up heroku for my app on my laptop. Now I need to associate my code on my desktop so that I can

  • Heroku app fails to start - `require': no such file to load - sinatratestapp (LoadError) 2010-10-20

    I'm trying to get my Heroku app to run using the bamboo-mri-1.9.2 stack. Of course it's running fine locally on Ruby 1.9.2. But when on production it crashes during the startup on executing config.ru which looks like this: require 'sinatratestapp' ru

  • How can I setup a system where I am warned when my Heroku app has more than certain amount of delayed_jobs queued? 2011-03-12

    I use Delayed Jobs a lot in my Heroku app. I'd like to setup some kind of alert when there's a certain amount waiting to be processed, so that I can increase the amount of workers to minimise the wait time for my users. Has anyone done this before? -

  • How to reset Heroku app and re-commit everything? 2011-05-23

    I'm building an application which I'm also testing in Heroku. I ran into some problem today and had to rollback one commit in my local git repo, but Heroku now won't recognize my changes saying that "everything is up to date". So, running git push he

  • Google Spreadsheet Script problem - Error: Service Times Out: Apps Script 2011-06-10

    I've been trying to whip up a quick google script to count rsvps for the invite response spreadsheet for a wedding. The script worked perfectly for a week as new entries were added to the spreadsheet, then suddenly stopped working with the following

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.079 (s). 11 q(s)