Highly increased number of instances and app over quota. PLEASE HELP!!!
46 views
Skip to first unread message
Alexandru Farcaş
unread,
Jun 21, 2012, 8:33:24 AM6/21/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-a...@googlegroups.com
We had a short period (~40 minutes) when the number of instances increased from 2-3 to ~30 which caused a very hugh increasion of frontend instance hour cost. There was also a problem with the datastore read operations (10 times higher for this period)
I think that this happened because a task was multiplied >2000 times. This happened to me a long time ago (2, 3 times) when in a few seconds a single task multiplied more than 2000 times and make the same operation (in my case the read operation). I can't find anything from logs because the space is full with com.google.apphosting.api.ApiProxy$OverQuotaException because I had a budget limit on my app (which was reached).
Another unusal thing is that my app has 8 idle instances (normally it has 1-2)
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-a...@googlegroups.com
Hi Alexandru,
It's just a guess, but one possibility is that one of your task keeps
adding another task and then fails, and as a result, you have lots of
similar tasks in your queue. Here are few suggestions to prevent it
from happening.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-a...@googlegroups.com
Hi Takashi,
I will make this changes to my app (named tasks, set retry count to task queue)
I have a task (Task1) which adds another task (Task2) but I am doing this in a transaction, with a retry limit of 10. (It is not self creating task).
Task1 execution code si surrounding by try catch so if it fails it is not recreated (it just logs the error). In this case it shouldn't create so many tasks...
Thanks for the answer, with your advices your situation shouldn't happen.