Click here to Skip to main content
13,152,454 members (37,095 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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/, 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 20:44pm
Updated 15-Feb-13 20:46pm

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.170924.2 | Last Updated 16 Feb 2013
Copyright © CodeProject, 1999-2017
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