On Tue, Sep 10, 2013 at 5:14 AM, Ben Smithers <smithers....@googlemail.com>
 wrote:

> Has anyone else observed this behaviour? Does anyone have any suggestions
> for what I am doing wrong?
>
>

Backends are the red headed stepchild of GAE - they exhibit weird behavior
periodically. Did these errors start happening recently, or is this new
code? If you're using the Modules version of backends, can you try using
regular backends (and not defining any modules whatsoever)?

Can you try seeing what an AppStats profile of this request looks like?
Here's the link:
https://developers.google.com/appengine/docs/python/tools/appstats .
Specifically, what I'm looking for is whether the library is hanging during
the connection to GCS, and what the connection information looks like.

If you don't want to install AppStats, you can also try splitting up file
creation and writing to the file: create the file through the GCS library,
write a single character, then close the connection. Sleep for a bit, then
try writing to the file. The problem might isolate itself to a particular
part of the file writing process.

-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to