{"action":"created","issue":{"url":"https://api.github.com/repos/vsivsi/meteor-job-collection/issues/167","repository_url":"https://api.github.com/repos/vsivsi/meteor-job-collection","labels_url":"https://api.github.com/repos/vsivsi/meteor-job-collection/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/vsivsi/meteor-job-collection/issues/167/comments","events_url":"https://api.github.com/repos/vsivsi/meteor-job-collection/issues/167/events","html_url":"https://github.com/vsivsi/meteor-job-collection/issues/167","id":145269483,"number":167,"title":"workers hanging forever","user":{"login":"greatramu","id":1813188,"avatar_url":"https://avatars.githubusercontent.com/u/1813188?v=3","gravatar_id":"","url":"https://api.github.com/users/greatramu","html_url":"https://github.com/greatramu","followers_url":"https://api.github.com/users/greatramu/followers","following_url":"https://api.github.com/users/greatramu/following{/other_user}","gists_url":"https://api.github.com/users/greatramu/gists{/gist_id}","starred_url":"https://api.github.com/users/greatramu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greatramu/subscriptions","organizations_url":"https://api.github.com/users/greatramu/orgs","repos_url":"https://api.github.com/users/greatramu/repos","events_url":"https://api.github.com/users/greatramu/events{/privacy}","received_events_url":"https://api.github.com/users/greatramu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vsivsi/meteor-job-collection/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-01T19:52:10Z","updated_at":"2016-04-01T21:58:18Z","closed_at":null,"body":"hello Vaughn, Thanks for the excellent package. We are finding the jobs collection and the files collection extremely helpful in our project. Am using the jobs for handling thumbnail generation, with code heavily inspired with your thumbnail demo program. \r\n\r\nThe problem is, in some trivial cases fc.upsertStream in a job worker never calls the callback. The worker callback and job.done() are being called in this callback of the fc.upsertStream. So whenever there is such case, the worker goes in a limbo state and there is no way to get back the worker back to the pool. Am using the jc.processJobs()  with a concurrency of 4. If we have 4 such cases, ll the 4 workers are blocked and basically our job queue stops. \r\n\r\nI tried two ways => manual cancel + restart and timeout on jobqueue . Both do not work as the job reaches \"ready\" state, but there are no workers available to process them (the workers are still waiting for the callback in the previous job run instance). The only restart the server to kill all these zombie workers.\r\n\r\nI would really appreciate if you can show some pointers for the fix. Thanks!"},"comment":{"url":"https://api.github.com/repos/vsivsi/meteor-job-collection/issues/comments/204584027","html_url":"https://github.com/vsivsi/meteor-job-collection/issues/167#issuecomment-204584027","issue_url":"https://api.github.com/repos/vsivsi/meteor-job-collection/issues/167","id":204584027,"user":{"login":"vsivsi","id":428642,"avatar_url":"https://avatars.githubusercontent.com/u/428642?v=3","gravatar_id":"","url":"https://api.github.com/users/vsivsi","html_url":"https://github.com/vsivsi","followers_url":"https://api.github.com/users/vsivsi/followers","following_url":"https://api.github.com/users/vsivsi/following{/other_user}","gists_url":"https://api.github.com/users/vsivsi/gists{/gist_id}","starred_url":"https://api.github.com/users/vsivsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsivsi/subscriptions","organizations_url":"https://api.github.com/users/vsivsi/orgs","repos_url":"https://api.github.com/users/vsivsi/repos","events_url":"https://api.github.com/users/vsivsi/events{/privacy}","received_events_url":"https://api.github.com/users/vsivsi/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T21:58:18Z","updated_at":"2016-04-01T21:58:18Z","body":"See also: \r\n\r\nhttps://github.com/vsivsi/meteor-job-collection/issues/164\r\nhttps://github.com/vsivsi/meteor-job-collection/issues/158\r\n"}}