On Nov 23, 10:21 am, sahid <[email protected]> wrote:
>
> My app is cut several times a day and i don't know why... I use
> appstats and all of my requests are OK


Take screen shots of the appstats waterfall chart for the request that
is failing: one showing a successful request, one showing an error.


> in general i use less than 10 RPC by request.


The fewer the better. Make sure you are taking advantage of parallel
api calls where possible.


> I have several type of errors: DeadLineException, Timeout, "Community error 
> (not logged)";


There are two types of DeadlineExceededError:

  google.appengine.runtime.DeadlineExceededError
  google.appengine.runtime.apiproxy_errors.DeadlineExceededError

The first occurs when your request runs longer than 30 seconds in
total, the second when an RPC call, eg. a datastore Put(), takes too
long (the default is 10 seconds).

As you are also getting Timeout errors
(google.appengine.api.datastore_errors.Timeout) I assume it is the
second problem: one or more of your datastore operations is timing
out. You need to figure out which one.

It might be timing out for one of many reasons:

- it is a put() with a parent and you are causing too much contention
for one entity group
- you have many indexed properties which aren't being used, in which
case unindex them
- you have many indexed properties which are required, in which case
you might think about splitting your model and/or using a task to
put()
- Google has installed your app on a poorly machine
- etc.


You need to dig in and get more data.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
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