Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hi,
- Strangely, we are facing a strange issue i.e Workers seems to be shutdown without any known reason.
- 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.
- So let me paste the log here.
- ```
- [2016-02-08 20:28:48] main.INFO: done ID:c45ae46cb0432ab374dafe82bb8793fb {"type":"done","job_id":"c45ae46cb0432ab374dafe82bb8793fb","time":244,"worker":"carbonateapp:22128"} []
- [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"} []
- [2016-02-08 20:32:03] main.INFO: Processing ID:b31d84669dfa6b7eb78a97773abee4fb in mail {"type":"process","worker":"carbonateapp:22128","job_id":"b31d84669dfa6b7eb78a97773abee4fb"} []
- [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"} []
- [2016-02-08 20:33:18] main.INFO: Processing ID:8153f539c53c45940863a239e1f9084b in mail {"type":"process","worker":"carbonateapp:22128","job_id":"8153f539c53c45940863a239e1f9084b"} []
- [2016-02-08 20:33:19] main.INFO: done ID:8153f539c53c45940863a239e1f9084b {"type":"done","job_id":"8153f539c53c45940863a239e1f9084b","time":221,"worker":"carbonateapp:22128"} []
- [2016-02-08 20:33:29] main.INFO: Exiting... {"type":"shutdown","worker":"carbonateapp:22128"} []
- ```
- Apart from this, I have one more question.
- 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 ?
- Thanks for this awesome tool :)
- Waiting to hear from you.
Add Comment
Please, Sign In to add comment