javascriptextjs / micolog

Automatically exported from code.google.com/p/micolog
MIT License
0 stars 1 forks source link

偶然性请求处理失败 #33

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. 
使用程序定时(每10分钟)访问micolog某篇文章(文字很短),用以�
��断博客服务是否可用
2. 一天中总有1-2次请求失败发生

What is the expected output? What do you see instead?
页面应该在有效时间内被成功渲染并输出,但却导致了错误��
�A server error occurred.  
Please contact the administrator”.

从GAE应用后台log查到错误信息如下:
---------------------------------
01-21 06:14PM 03.143 /2009/12/15/say-hello-world.html 500 6639ms 545cpu_ms 
20api_cpu_ms 0kb Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; 
JianKongBao Monitor 1.1),gzip(gfe),gzip(gfe)
69.164.192.240 - - [21/Jan/2010:18:14:09 -0800] "GET /2009/12/15/say-hello-
world.html HTTP/1.1" 500 120 - "Mozilla/4.0 (compatible; MSIE 6.0; Windows 
NT 5.1; SV1; JianKongBao Monitor 1.1),gzip(gfe),gzip(gfe)" "dk.bzdk.us"
I 01-21 06:14PM 05.015
module base reloaded
D 01-21 06:14PM 05.016
server_dir:/base/data/home/apps/bzdkus/5.339328046856308881/themes/xuming
I 01-21 06:14PM 05.020
module setting reloaded
D 01-21 06:14PM 05.630
server_dir:/base/data/home/apps/bzdkus/5.339328046856308881/themes/xuming
I 01-21 06:14PM 05.630
/base/data/home/apps/bzdkus/5.339328046856308881
I 01-21 06:14PM 05.662
module base reloaded
E 01-21 06:14PM 09.763
Traceback (most recent call last):
E 01-21 06:14PM 09.763
  File "/base/python_dist/lib/python2.5/wsgiref/handlers.py", line 92, in 
run
E 01-21 06:14PM 09.764
    self.result = application(self.environ, self.start_response)
E 01-21 06:14PM 09.764
  File 
"/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 
497, in __call__
E 01-21 06:14PM 09.764
    handler.initialize(request, response)
E 01-21 06:14PM 09.764
  File "/base/data/home/apps/bzdkus/5.339328046856308881/base.py", line 
320, in initialize
E 01-21 06:14PM 09.764
    'recent_comments':Comment.all().order('-date').fetch(5)
E 01-21 06:14PM 09.764
  File "/base/python_lib/versions/1/google/appengine/ext/db/__init__.py", 
line 1585, in fetch
E 01-21 06:14PM 09.764
    raw = raw_query.Get(limit, offset)
E 01-21 06:14PM 09.765
  File "/base/python_lib/versions/1/google/appengine/api/datastore.py", 
line 1079, in Get
E 01-21 06:14PM 09.765
    prefetch_count=limit)._Get(limit)
E 01-21 06:14PM 09.765
  File "/base/python_lib/versions/1/google/appengine/api/datastore.py", 
line 1016, in _Run
E 01-21 06:14PM 09.765
    raise _ToDatastoreError(err)
E 01-21 06:14PM 09.765
Timeout
---------------------------

What version of the product are you using? On what operating system?
micolog 0.6.01

Please provide any additional information below.

Original issue reported on code.google.com by cn.leoy...@gmail.com on 22 Jan 2010 at 2:23

GoogleCodeExporter commented 8 years ago
请使用0.7版本测试一下

Original comment by coolch...@gmail.com on 1 Feb 2010 at 6:08