Hi all,
We are suffering an intermittent (or non-consistent or non-systematic) issue affecting tasks that should be executed in a dynamic backend, but that some reason in certain moments they are never executed. Basically we have a cron job which identifies certain heavy activities that need to be executed. The cron job sends these activities as tasks to a queue as a mean to have them executed in an ordered way in a dynamic backend. The problem is that sometimes the tasks are never executed and the backend gets stuck or zombie. In the backend logs we see no evidence at all of the tasks (the actual request doesn't get recorded), even though according to the tasks queues console there should some of them running. As this has a huge impact on the reliability of our application, we have managed to identify programmatically when this situation comes up and so we could try to resolve it. Unfortunately, even though we purge the queues (also tried deleting the tasks one by one), the tasks which are supposed to be running keep the backend in the zombie state. The only solution we have found is to manually stop and start the backend through the console. Only when we do this we see in the backend logs error messages related to the tasks that were supposed to be running (please see the attached image): "Process terminated because the backend took too long to shutdown." As you may understand this has a huge impact for us. We need a 100% reliability that the tasks being sent to the queue are going to be executed. We can't afford to monitor the system all day and restart manually the backend when this issue comes up.
We are on Java and M/S. Have you ever faced something similar? Any ideas or suggestions to get rid of this issue? We already opened a ticket for this (https://code.google.com/p/googleappengine/issues/detail?id=10011), but no answer at all so far.Hope you can help us. Many thanks, Luis
Basically we have a cron job which identifies certain heavy activities that need to be executed. The cron job sends these activities as tasks to a queue as a mean to have them executed in an ordered way in a dynamic backend.
The problem is that sometimes the tasks are never executed and the backend gets stuck or zombie. In the backend logs we see no evidence at all of the tasks (the actual request doesn't get recorded), even though according to the tasks queues console there should some of them running.
We are on Java and M/S. Have you ever faced something similar? Any ideas or suggestions to get rid of this issue?
<queue>
<name>scheduledReportsQueue</name>
<rate>50/m</rate>
<bucket-size>100</bucket-size>
<max-concurrent-requests>2</max-concurrent-requests>
<retry-parameters>
<task-retry-limit>2</task-retry-limit>
<task-age-limit>1h</task-age-limit>
</retry-parameters>
</queue>
--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/nMTnpLQiPEI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.
Haven't had the chance to download the log files yet. But in the console, there is no sign at all about these tasks in the backend log files. Only when we shut down the backend we see those commented errors.
We are moving to HRD in the coming weeks. Hope the issue disappears after the migration.