Hi, I have two questions regarding BlobstoreDownloadHandler and warmups:
app-id: razoss-dock.appengine.com
Question 1 - BlobstoreDownloadHandler:
--------------------------------------
What would you consider "frequently" for error 104, do you have any
suggestion
to reduce the chance users will encounter it?
I see in my log that many requests for files that are being served by a
BlobstoreDownloadHandler fails with the following messages:
Message 1:
Request was aborted after waiting too long to attempt to service your
request.
This may happen sporadically when the App Engine serving cluster is
under
unexpectedly high or uneven load. If you see this message frequently,
please
contact the App Engine team.
Message 2:
E 2011-08-09 17:46:12.951
<class 'google.appengine.runtime.DeadlineExceededError'>:
Traceback (most recent call last):
File
"/base/data/home/apps/razoss-dock/3.352100940511111898/apis/widget_icon.py",
line 227, in main
run_wsgi_app(application)
File
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/util.py",
line 98, in run_wsgi_app
run_bare_wsgi_app(add_wsgi_middleware(application))
File
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/util.py",
line 116, in run_bare_wsgi_app
result = application(env, _start_response)
File
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py",
line 700, in __call__
handler.get(*groups)
File
"/base/data/home/apps/razoss-dock/3.352100940511111898/apis/widget_icon.py",
line 206, in get
.fetch(1)
File
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init__.py",
line 2027, in fetch
raw = raw_query.Get(limit, offset, config=config)
File
"/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore.py",
line 1504, in Get
batch = batcher.next_batch(limit)
File
"/base/python_runtime/python_lib/versions/1/google/appengine/datastore/datastore_query.py",
line 2299, in next_batch
batch = self.__next_batch.get_result()
File
"/base/python_runtime/python_lib/versions/1/google/appengine/api/apiproxy_stub_map.py",
line 592, in get_result
return self.__get_result_hook(self)
File
"/base/python_runtime/python_lib/versions/1/google/appengine/datastore/datastore_query.py",
line 2049, in __query_result_hook
self._conn.check_rpc_success(rpc)
File
"/base/python_runtime/python_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
line 1066, in check_rpc_success
rpc.wait()
File
"/base/python_runtime/python_lib/versions/1/google/appengine/api/apiproxy_stub_map.py",
line 533, in wait
self.__rpc.Wait()
File
"/base/python_runtime/python_lib/versions/1/google/appengine/api/apiproxy_rpc.py",
line 119, in Wait
rpc_completed = self._WaitImpl()
File
"/base/python_runtime/python_lib/versions/1/google/appengine/runtime/apiproxy.py",
line 131, in _WaitImpl
rpc_completed = _apphosting_runtime___python__apiproxy.Wait(self)
W 2011-08-09 17:46:12.952
A serious problem was encountered with the process that handled this
request, causing it to exit. This is likely to cause a new process to be
used for the next request to your application. If you see this message
frequently, you may be throwing exceptions during the initialization of your
application. (Error code 104)
The logs show that in the last 2 days it happened on (UTC):
2011-08-10: 13:26 (2 times), 10:05 (1 time)
2011-08-09: 17:46 (1 time), 10:11 (more then 70 times), ...
Question 2 - warmups:
---------------------
All the requests to /_ah/warmup are end up with 500 error code is this ok?
What can I do to avoid the warning "File referenced by handler not found:
$PYTHON_LIB/error_no_warmup_handler_defined.py"?
Do you count the warmups cpu time in the daily cpu quota?
Is it reasonable to see 23 warmups in one hour?
The full message I receive for all the requests to /_ah/warmup:
0.1.0.3 - - [09/Aug/2011:08:29:48 -0700] "GET /_ah/warmup HTTP/1.1" 500
0 - - "3.352100940511111898.razoss-dock.appspot.com" ms=186 cpu_ms=70
api_cpu_ms=0 cpm_usd=0.001965 loading_request=1
instance=00c61b117cb66c8da608a97ef2f8f4bd8d643a
W 2011-08-09 15:29:48.039
File referenced by handler not found:
$PYTHON_LIB/error_no_warmup_handler_defined.py
I 2011-08-09 15:29:48.039
This request caused a new process to be started for your application,
and thus caused your application code to be loaded for the first time. This
request may thus take longer and use more CPU than a typical request for
your application.
On 2011-08-09 between 14:00-15:00 (UTC), there were 23 warmups (this isn't
unusual):
2011-08-09 14:57:07.863 /_ah/warmup 500 141ms 46cpu_ms 0kb
2011-08-09 14:57:06.394 /_ah/warmup 500 112ms 46cpu_ms 0kb
2011-08-09 14:57:05.596 /_ah/warmup 500 85ms 46cpu_ms 0kb
2011-08-09 14:57:05.224 /_ah/warmup 500 94ms 46cpu_ms 0kb
2011-08-09 14:57:04.487 /_ah/warmup 500 99ms 46cpu_ms 0kb
2011-08-09 14:57:03.354 /_ah/warmup 500 89ms 46cpu_ms 0kb
2011-08-09 14:57:02.268 /_ah/warmup 500 116ms 23cpu_ms 0kb
2011-08-09 14:57:01.177 /_ah/warmup 500 131ms 46cpu_ms 0kb
2011-08-09 14:44:39.120 /_ah/warmup 500 237ms 70cpu_ms 0kb
2011-08-09 14:44:36.900 /_ah/warmup 500 97ms 46cpu_ms 0kb
2011-08-09 14:44:35.792 /_ah/warmup 500 94ms 23cpu_ms 0kb
2011-08-09 14:44:33.709 /_ah/warmup 500 101ms 23cpu_ms 0kb
2011-08-09 14:44:33.385 /_ah/warmup 500 112ms 70cpu_ms 0kb
2011-08-09 14:44:32.622 /_ah/warmup 500 142ms 70cpu_ms 0kb
2011-08-09 14:44:32.355 /_ah/warmup 500 212ms 93cpu_ms 0kb
2011-08-09 14:44:31.430 /_ah/warmup 500 102ms 46cpu_ms 0kb
2011-08-09 14:44:31.179 /_ah/warmup 500 147ms 46cpu_ms 0kb
2011-08-09 14:44:30.341 /_ah/warmup 500 145ms 46cpu_ms 0kb
2011-08-09 14:44:30.030 /_ah/warmup 500 123ms 46cpu_ms 0kb
2011-08-09 14:44:29.261 /_ah/warmup 500 209ms 46cpu_ms 0kb
2011-08-09 14:33:15.235 /_ah/warmup 500 102ms 46cpu_ms 0kb
2011-08-09 14:27:25.566 /_ah/warmup 500 195ms 93cpu_ms 0kb
2011-08-09 14:01:46.566 /_ah/warmup 500 222ms 70cpu_ms 0kb
Thanks in advance
Daniel C.
Skype: theosp333222
Phone: +972 54-8836191
--
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.