Click here to Skip to main content
11,795,848 members (77,497 online)
Rate this: bad
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/, 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
Edited 15-Feb-13 20:46pm
(no name)90.6K

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

  Print Answers RSS
0 Maciej Los 350
1 Sergey Alexandrovich Kryukov 326
2 KrunalRohit 239
3 Andy Lanng 236
4 OriginalGriff 230
0 OriginalGriff 1,852
1 Maciej Los 1,465
2 KrunalRohit 1,300
3 CPallini 840
4 Richard MacCutchan 828

Advertise | Privacy | Mobile
Web04 | 2.8.151002.1 | Last Updated 16 Feb 2013
Copyright © CodeProject, 1999-2015
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