What's wrong with the HRD App?

192 views
Skip to first unread message

Junyu Chen

unread,
Nov 21, 2011, 9:30:37 AM11/21/11
to google-a...@googlegroups.com

Just a few requests, why so many system error and the latency is so high??

Junyu Chen

unread,
Nov 21, 2011, 9:56:44 AM11/21/11
to google-a...@googlegroups.com
index.png

Simon Knott

unread,
Nov 21, 2011, 10:00:33 AM11/21/11
to google-a...@googlegroups.com
Can you determine what is causing the latency by using AppStats?  MemCache, URLFetch, Datastore?

Posting the overall latencies isn't hugely helpful.

Junyu Chen

unread,
Nov 21, 2011, 10:01:29 AM11/21/11
to google-a...@googlegroups.com
The API call taskqueue.BulkAdd() took too long to respond and was cancelled.
Traceback (most recent call last):
  File "/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1511, in __call__
    rv = self.handle_exception(request, response, e)
  File "/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1505, in __call__
    rv = self.router.dispatch(request, response)
  File "/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1253, in default_dispatcher
    return route.handler_adapter(request, response)
  File "/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1077, in __call__
    return handler.dispatch()
  File "/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 547, in dispatch
    return self.handle_exception(e, self.app.debug)
  File "/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 545, in dispatch
    return method(*args, **kwargs)
  File "/base/python27_runtime/python27_lib/versions/1/google/appengine/api/labs/taskqueue/taskqueue.py", line 717, in add
    return Queue(queue_name).add(self, transactional=transactional)
  File "/base/python27_runtime/python27_lib/versions/1/google/appengine/api/labs/taskqueue/taskqueue.py", line 803, in add
    self.__AddTasks(tasks, transactional)
  File "/base/python27_runtime/python27_lib/versions/1/google/appengine/api/labs/taskqueue/taskqueue.py", line 834, in __AddTasks
    apiproxy_stub_map.MakeSyncCall('taskqueue', 'BulkAdd', request, response)
  File "/base/python27_runtime/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 94, in MakeSyncCall
    return stubmap.MakeSyncCall(service, call, request, response)
  File "/base/python27_runtime/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 308, in MakeSyncCall
    rpc.CheckSuccess()
  File "/base/python27_runtime/python27_lib/versions/1/google/appengine/api/apiproxy_rpc.py", line 133, in CheckSuccess
    raise self.exception
DeadlineExceededError: The API call taskqueue.BulkAdd() took too long to respond and was cancelled.

Junyu Chen

unread,
Nov 21, 2011, 10:12:14 AM11/21/11
to google-a...@googlegroups.com
TaskQueue APIs, I have no problem in 3 other apps with the same code to add a task through TaskQueue API.

and it just happened an hour ago without any change in my code or increase of traffic.

Junyu Chen

unread,
Nov 21, 2011, 10:17:44 AM11/21/11
to google-a...@googlegroups.com
I just disabled TaskQueue API call in this app, looks like the latency back to normal.

Will

unread,
Nov 21, 2011, 11:49:26 AM11/21/11
to google-a...@googlegroups.com
I am having the similar error as Chen's. 35135 'deadlineexceeded'
errors in the past 9 hours, most of them is "The API call

taskqueue.BulkAdd() took too long to respond and was cancelled."

My app only uses task queue when a request is about to time out, so I
guess task queue may not be the source of the problem.

The funny thing is I'm paying for this service interruption that most
likely I'm not responsible for. In the past 9 hours, the usage of
frontend instance hours is 266, while normally it would be 60 ~ 70.

Regards,

Will

> --
> 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/-/Ioh0OXe0EQAJ.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

Reply all
Reply to author
Forward
0 new messages