Just checked the app engine console to alarmingly find over 20k tasks sitting in the task queue and 25 instances running. Our app normally runs on 4-5 instances. I paused the tasks queue, so I could investigate. I found that the tasks were making calls to the Google Calendar API and throwing "DeadlineExceededError: ApplicationError: 5" exception presumably UrlFetch is timing out when communicating with the API. Regardless of this, there still should not be that many tasks, so I purged the queue and started the job again and sat there watching the tasks spawn - 1, 2, 3, 4, 5 all the way to about 20 tasks then suddenly 13,000 of them. Clearly this is incorrect. My app does not contain code to spawn that many tasks in such little time.
What is going on here? Why is App Engine reporting so many tasks? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/8sfyiYFqmM0J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
