Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Rails
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.
Posted 15-Feb-13 21:44pm
Edited 15-Feb-13 21:46pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 16 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100