Click here to Skip to main content
15,884,473 members

In linode production Delayed jobs gets stopped after sometime

GeekRakesh asked:

Open original thread
I am using delayed_jobs 3.0 gem for email notification in my rails3 app. It is deployed on linode using nginx+capistrano. My linode config is RAM of 512MB and storage space of 24GB. In that two instances are running.

Delayed jobs of second instance is giving the problem. After sometime it gets shutdown and needs manually restart. There are no errors on Production.log and delayed_jobs.log. When I issue command "free -m", it shows the result as: total used free shared buffers cached Mem: 496 415 80 0 5 45 -/+ buffers/cache: 364 131 Swap: 255 130 125


After DJ dies the log files indicate nothing. running: ./script/delayed_job status gives: /config/environment.rb:11: warning: already initialized constant VERIFY_PEER pid-file for killed process 2983 found (/home/deployer/../tmp/pids/delayed_job.pid), deleting. delayed_job: no instances running. Can u suggest the solution and way to debug it.


I am not able to find out the reason of it getting down and please suggest me the possible solution.
Tags: Rails

Plain Text
ASM
ASP
ASP.NET
BASIC
BAT
C#
C++
COBOL
CoffeeScript
CSS
Dart
dbase
F#
FORTRAN
HTML
Java
Javascript
Kotlin
Lua
MIDL
MSIL
ObjectiveC
Pascal
PERL
PHP
PowerShell
Python
Razor
Ruby
Scala
Shell
SLN
SQL
Swift
T4
Terminal
TypeScript
VB
VBScript
XML
YAML

Preview



When answering a question please:
  1. Read the question carefully.
  2. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  3. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
  4. Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question.
Let's work to help developers, not make them feel stupid.
Please note that all posts will be submitted under the http://www.codeproject.com/info/cpol10.aspx.



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900