Hey PK,

Apologies if my reply suggested I was discounting everyone's recent 
problems. (Also sorry to learn that my "wasting resources" solution is a 
good standard practice.) I know many posts here are desperate attempts to 
alert G. re:system issues. So many of late it has become hard to know when 
to offer a design suggestion vs. staying quiet so as to let G. receive a 
cleaner signal from the forum. -stevep

On Thursday, December 20, 2012 10:36:53 AM UTC-8, PK wrote:
>
> Yes, Steve this is good suggestion and standard practice but there was a 
> real issue that day that lasted for hours so these loops timed out. 
>
> PK
>
> On Dec 20, 2012, at 10:09 AM, stevep <[email protected] <javascript:>> 
> wrote:
>
> I had some TransientError issues when using queues in iterative loops. The 
> fix (workaround) that has eliminated the issue was to nest the iterative 
> queue command inside a try/except. If there is a transient error, the 
> handler does one time.sleep(0.1) command, and retries. If the error 
> re-occurs, then the g.t. one sleep cycle error handling escalates. (And 
> yes, I really, really hated to do burn up 100 cpu millis, but was 
> desperate. Since TEs were infrequent, the overall resource waste proved de 
> minimus.) To date this has fixed my transient errors. Never have had a TE 
> outside of such loops. As with everything, YMMV. HTH -stevep
>
> On Tuesday, December 18, 2012 10:37:31 AM UTC-8, Scott Gress wrote:
>>
>> Hi all,
>>
>> At the moment I'm getting TransientError exceptions whenever I try to add 
>> a task to a queue in my Python app, using code like:
>>
>> q = Queue('default')
>> q.add(Task(url=url, countdown=countdown))
>>
>> It appears to be happening with every queue, every time--retrying doesn't 
>> help.  Has been going on for at least 30 minutes, and blocking important 
>> activity on my site.  I haven't done any deployments in the last 4 days; it 
>> just started happening on its own.
>>
>> This is happening in both my production app, "premium-prod-hr" and my 
>> staging app "premium-test-hr" on site www.craftlaunch.com.  
>>
>> Anybody else seeing this?  Any suggestions?
>>
>> Thanks,
>>
>> Scott
>>
>>
>>
> -- 
> 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/-/Q0N7sJM88hIJ.
> To post to this group, send email to [email protected]<javascript:>
> .
> To unsubscribe from this group, send email to 
> [email protected] <javascript:>.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>
>

-- 
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/-/4KRMogVPeGgJ.
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.

Reply via email to