그래서 Delayed : : 작업을 잠깐 동안 실사에 돌리고 있습니다. 내가 작업을 변경 한 것마다지연 : :: Job, Monit 및 메모리 오류
나는 것 (생산 ENV 마음에있는 모든 사용자)
- 에서 [스크립트] (사용 재시작 지연 작업 http://wiki.github.com/tobi 내가`레이크 작업을 사용하여
- 명확한 작업을 사용)/delayed_job /로서의 데몬 실행-delayedworker : clear` 또한
, 내가 MONIT 실행, 나는 MONIT를 중지 스크립트를 다시 시작하고 한 한 그 순서대로 몬닛을 시작 했어. 아직 주사위는 없어.
어쨌든, 우리 모두는 오래된 작업을 메모리에서 없애기 위해 작업 대기열을 정리합니다. 그 단계는 필요하지 않을 수 있습니다 내 애플 리케이션에서 그것은 상처를주지 않습니다.
그러나 이러한 단계를 사용하여 최근에 새 작업 코드가 어떤 이유로 재설정되지 않았습니다. 난 내 job_runner.log 파일을 볼 때 내가 스크립트를
*** below you find the most recent exception thrown, this will be likely (but not certainly) the exception that made the applicati
on exit abnormally ***
#<SystemExit: exit>*** below you find all exception objects found in memory, some of them may have been thrown in your application, others may just be in memory because they are standard exceptions ***
#<NoMemoryError: failed to allocate memory>
#<SystemStackError: stack level too deep>
#<fatal: exception reentered>
#<LoadError: no such file to load -- rubygems/defaults/operating_system>
#<LoadError: no such file to load -- daemons>
#<NameError: uninitialized constant Rails::Plugin::HoptoadNotifier>
#<Errno::ENOENT: No such file or directory - /var/rails/wigify/tmp/pids/job_runner.pid>
#<SystemExit: exit>
를 다시 시작할 때 난 내가 무슨 일이 일어나고 있는지 모르겠어요이 오류가 발생합니다. 스택 수준이 너무 깊어서 코드에서 오는 것입니까? 전에했던 것처럼 모든 통합 테스트가 통과됩니다.
내 조각에 메모리 문제가 있습니까? free
은 내가 평균 할 때 300MB가 있다고 알려주지 만?
누가 형제를 도울 수 있습니까?