I'm getting a lot of deadline exceeded errors today - mostly stemming from
regular python initialization (for example, while importing modules):
Here's a stack trace showing one of my python modules (brain_store.py)
failing at "import logging", and the deadline exceeded error shows that
this request was active for 73 seconds!!!
<class 'google.appengine.runtime.DeadlineExceededError'>:
Traceback (most recent call last):
File "/base/data/home/apps/shiprack-test1/r2-2-7.354565090967706700/brain.py",
line 16, in <module>
from brain_store import TrackRecord
File
"/base/data/home/apps/shiprack-test1/r2-2-7.354565090967706700/brain_store.py",
line 1, in <module>
import logging
Could this be because lots of my requests are getting queued up because of
heavy load and the fact that my "Max Instances" is set to 1 (Min Instances
is also 1) ? Under heavy load, this would cause lots of new temporary
instances to get created, and each new instance would take a few hundred ms
to initialize... and if there were many, it could queue up pretty quickly -
but still, 73 seconds? The per-request deadline of 60 seconds for
front-end instances - does that include the time a request sits in a queue
waiting for an instance to be freed up or a new one to be spawned? FYI, my
min and max latency setting is set to Automatic.
Thanks in advance.
--
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.