AkashSaikia

CakeResue workers getting shutdown

Feb 8th, 2016
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.33 KB | None | 0 0
  1. Hi,
  2. Strangely, we are facing a strange issue i.e Workers seems to be shutdown without any known reason.
  3.  
  4. We are sure that after any deployment is made, we restart the workers [ as per previous asked question]. I am also sure that any manual command was not run to stop the workers.
  5. So let me paste the log here.
  6.  
  7. ```
  8. [2016-02-08 20:28:48] main.INFO: done ID:c45ae46cb0432ab374dafe82bb8793fb {"type":"done","job_id":"c45ae46cb0432ab374dafe82bb8793fb","time":244,"worker":"carbonateapp:22128"} []
  9. [2016-02-08 20:32:03] main.INFO: got {"queue":"mail","id":"b31d84669dfa6b7eb78a97773abee4fb","class":"EmailSenderShell","args":[["forgetPasswordEmail",{"id":"248"}]]} {"type":"got","args":"[object] (Resque_Job: {\"queue\":\"mail\",\"id\":\"b31d84669dfa6b7eb78a97773abee4fb\",\"class\":\"EmailSenderShell\",\"args\":[[\"forgetPasswordEmail\",{\"id\":\"248\"}]]})","worker":"carbonateapp:22128"} []
  10. [2016-02-08 20:32:03] main.INFO: Processing ID:b31d84669dfa6b7eb78a97773abee4fb in mail {"type":"process","worker":"carbonateapp:22128","job_id":"b31d84669dfa6b7eb78a97773abee4fb"} []
  11. [2016-02-08 20:33:18] main.INFO: got {"queue":"mail","id":"8153f539c53c45940863a239e1f9084b","class":"EmailSenderShell","args":[["promotionEmail",{"id":"34","authorName":"Super User","authorEmail":"admin@sodainmind.com","userId":"1"}]]} {"type":"got","args":"[object] (Resque_Job: {\"queue\":\"mail\",\"id\":\"8153f539c53c45940863a239e1f9084b\",\"class\":\"EmailSenderShell\",\"args\":[[\"promotionEmail\",{\"id\":\"34\",\"authorName\":\"Super User\",\"authorEmail\":\"admin@sodainmind.com\",\"userId\":\"1\"}]]})","worker":"carbonateapp:22128"} []
  12. [2016-02-08 20:33:18] main.INFO: Processing ID:8153f539c53c45940863a239e1f9084b in mail {"type":"process","worker":"carbonateapp:22128","job_id":"8153f539c53c45940863a239e1f9084b"} []
  13. [2016-02-08 20:33:19] main.INFO: done ID:8153f539c53c45940863a239e1f9084b {"type":"done","job_id":"8153f539c53c45940863a239e1f9084b","time":221,"worker":"carbonateapp:22128"} []
  14. [2016-02-08 20:33:29] main.INFO: Exiting... {"type":"shutdown","worker":"carbonateapp:22128"} []
  15.  
  16.  
  17. ```
  18.  
  19. Apart from this, I have one more question.
  20. How to make sure even if the workers stop working, we can restart it ? Can you give me a pointer or link so that I can have another script to make sure the workers work ?
  21.  
  22. Thanks for this awesome tool :)
  23. Waiting to hear from you.
Add Comment
Please, Sign In to add comment