The issue is that I've seen sky-high latencies *without* the app engine even trying to spin other instances! Just right now I captured this screenshot from the management console: http://i42.tinypic.com/bhzyf7.png The above screenshot is not normal! BTW, around the same time I took the screenshot I got a 500-Internel server error accessing the app engine dashboard at appspot.com. Most of the time I've got ~ 0.2 QPS and 100-200ms latencies that's why I have just one idle instance.
On Dec 5, 9:43 pm, "Brandon Wirtz" <[email protected]> wrote: > Allow more than one idle instance. How long is your spin-up? If you get 8 > simultaneous requests and each request takes 1 second, and your spin up time > is 5 seconds, then you will have time outs with the settings you describe. > > Consider running full auto for 24 hours and then clamping down. Also > consider reading the tuning guides published on other threads. > > > > > > > > -----Original Message----- > From: [email protected] > > [mailto:[email protected]] On Behalf Of > [email protected] > Sent: Monday, December 05, 2011 11:15 AM > To: Google App Engine > Subject: [google-appengine] DeadlineExceededError on HRD and sky-high > latency (python27+threadsafe) > > Hi! > I've successfully migrated from master-slave to hdd with python 27 and > threadsafe however I've been getting sporadically a few deadline exceeded > errors (bellow stack trace excerpt). > > I also have configured min idle requests to automatic and maximum to 1 and > pending latency to 800ms, I've observed on occasion latencies of up to > 63000(!!!)ms and without app engine spinning extra instances to serve > requests. > > Any thoughts? I can provide app-id off-list if someone from google wants to > have a look. > > Thanks! > > File "/base/python27_runtime/python27_lib/versions/1/google/appengine/ > ext/db/__init__.py", line 3588, in __get__ > instance = get(reference_id) > File "/base/python27_runtime/python27_lib/versions/1/google/ > appengine/ext/db/__init__.py", line 1515, in get > return get_async(keys, **kwargs).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_rpc.py", line 1437, in __get_hook > entities = rpc.user_data(entities) > File "/base/python27_runtime/python27_lib/versions/1/google/ > appengine/api/datastore.py", line 623, in local_extra_hook > return extra_hook(result) > File "/base/python27_runtime/python27_lib/versions/1/google/ > appengine/ext/db/__init__.py", line 1485, in extra_hook > model = cls1.from_entity(entity) > File "/base/python27_runtime/python27_lib/versions/1/google/ > appengine/ext/db/__init__.py", line 1419, in from_entity > return cls(None, _from_entity=entity, **entity_values) > File "/base/python27_runtime/python27_lib/versions/1/google/ > appengine/ext/db/__init__.py", line 1800, in __init__ > super(Expando, self).__init__(parent, key_name, _app, **kwds) > File "/base/python27_runtime/python27_lib/versions/1/google/ > appengine/ext/db/__init__.py", line 945, in __init__ > prop.__set__(self, value) > File "/base/python27_runtime/python27_lib/versions/1/google/ > appengine/ext/db/__init__.py", line 600, in __set__ > setattr(model_instance, self._attr_name(), value) > File "/base/python27_runtime/python27_lib/versions/1/google/ > appengine/ext/db/__init__.py", line 1826, in __setattr__ > check_reserved_word(key) > File "/base/python27_runtime/python27_lib/versions/1/google/ > appengine/ext/db/__init__.py", line 300, in check_reserved_word > if datastore_types.RESERVED_PROPERTY_NAME.match(attr_name): > 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.
