Hi,
I've seen this with two different type of queries, both are limited to
1000 entities returned. I've not yet profiled with Appstats.
I will update this issue when i've profiled them.


On Jan 18, 8:47 pm, Brian Quinlan <[email protected]> wrote:
> Hi Sergio,
>
> On Thu, Jan 19, 2012 at 4:46 AM, [email protected]
>
> <[email protected]> wrote:
> > Hi,
> > I'm seeing random DeadlineExceeded errors with python27 and HRD since
> > about a week ago,
> > I do have threadsafe False so it's not the threadsafe latency issue.
> > I can provide the app id off-list.
>
> Without knowing what your application is doing, it is hard to say with
> the problem is. Are these exceptions triggered by any particular query
> pattern? How many datastore calls are you making? What "limit" are you
> using? In a successful request, what does AppStats say about the
> API-call timing for the request?
>
> Cheers,
> Brian
>
>
>
>
>
>
>
> > Here is a (partial) trace
>
> > File "/base/python27_runtime/python27_lib/versions/1/google/appengine/
> > ext/db/__init__.py", line 2084, in fetch
> >    return list(self.run(limit=limit, offset=offset, **kwargs))
> >  File "/base/python27_runtime/python27_lib/versions/1/google/
> > appengine/ext/db/__init__.py", line 2237, in next
> >    return self.__model_class.from_entity(self.__iterator.next())
> >  File "/base/python27_runtime/python27_lib/versions/1/google/
> > appengine/datastore/datastore_query.py", line 2655, in next
> >    next_batch = self.__batcher.next()
> >  File "/base/python27_runtime/python27_lib/versions/1/google/
> > appengine/datastore/datastore_query.py", line 2525, in next
> >    return self.next_batch(self.AT_LEAST_ONE)
> >  File "/base/python27_runtime/python27_lib/versions/1/google/
> > appengine/datastore/datastore_query.py", line 2562, in next_batch
> >    batch = self.__next_batch.get_result()
> >  File "/base/python27_runtime/python27_lib/versions/1/google/
> > appengine/api/apiproxy_stub_map.py", line 592, in get_result
> >    return self.__get_result_hook(self)
> >  File "/base/python27_runtime/python27_lib/versions/1/google/
> > appengine/datastore/datastore_query.py", line 2317, in
> > __query_result_hook
> >    self._conn.check_rpc_success(rpc)
> >  File "/base/python27_runtime/python27_lib/versions/1/google/
> > appengine/datastore/datastore_rpc.py", line 1176, in check_rpc_success
> >    rpc.wait()
> >  File "/base/python27_runtime/python27_lib/versions/1/google/
> > appengine/api/apiproxy_stub_map.py", line 535, in wait
> >    assert self.__rpc.state == apiproxy_rpc.RPC.FINISHING,
> > repr(self.state)
> > DeadlineExceededError
>
> > --
> > 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 
> > athttp://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 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