What problem I am facing:
Gearman is ignoring the new job in high load.
Worker options I am using are:
What could be the problem here ?
> As Gearman doesn't support requeue task for a jobDo you mean requeue on error?
A worker can say that it was unable to complete a job, and the job will go back onto the queue.
Cheers,
-Brian
Ok got . There is no function to tell the server that worker is not able to process job now.
http://www.pal-blog.de/entwicklung/perl/retry-failed-gearman-jobs.html
--
You received this message because you are subscribed to a topic in the Google Groups "Gearman" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gearman/5qISg9rwStw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gearman+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Ok got . There is no function to tell the server that worker is not able to process job now.
http://www.pal-blog.de/entwicklung/perl/retry-failed-gearman-jobs.html
If I understood correctly throwing this error will cause dropping the connection. If my worker's is having 1 -> n relation (one worker processing more than n jobs) this will result in dropping all n jobs.But I want to requeue only one job not all.