2007年、サーバ落ち。の4

 本日、AM10:30くらいから30分程度、当サイトへのアクセスが不能になっていました。以下はその時に送られてきたDjangoのエラーメールの転載です。

Traceback (most recent call last):

File "/home/username/root/lib/python2.5/site-packages/django/core/handlers/base.py", line 77, in get_response
response = callback(request, *callback_args, **callback_kwargs)

File "/home/username/django_src/reiare/blog/views.py", line 45, in tag_list
extra_context={'tag': tag, 'list_mode': list_mode}, allow_empty=True, page=page)

File "/home/username/root/lib/python2.5/site-packages/django/views/generic/list_detail.py", line 87, in object_list
return HttpResponse(t.render(c), mimetype=mimetype)

File "/home/username/root/lib/python2.5/site-packages/django/template/__init__.py", line 168, in render
return self.nodelist.render(context)

File "/home/username/root/lib/python2.5/site-packages/django/template/__init__.py", line 705, in render
bits.append(self.render_node(node, context))

File "/home/username/root/lib/python2.5/site-packages/django/template/__init__.py", line 718, in render_node
return(node.render(context))

File "/home/username/root/lib/python2.5/site-packages/django/template/loader_tags.py", line 82, in render
return compiled_parent.render(context)

File "/home/username/root/lib/python2.5/site-packages/django/template/__init__.py", line 168, in render
return self.nodelist.render(context)

File "/home/username/root/lib/python2.5/site-packages/django/template/__init__.py", line 705, in render
bits.append(self.render_node(node, context))

File "/home/username/root/lib/python2.5/site-packages/django/template/__init__.py", line 718, in render_node
return(node.render(context))

File "/home/username/root/lib/python2.5/site-packages/django/template/loader_tags.py", line 82, in render
return compiled_parent.render(context)

File "/home/username/root/lib/python2.5/site-packages/django/template/__init__.py", line 168, in render
return self.nodelist.render(context)

File "/home/username/root/lib/python2.5/site-packages/django/template/__init__.py", line 705, in render
bits.append(self.render_node(node, context))

File "/home/username/root/lib/python2.5/site-packages/django/template/__init__.py", line 718, in render_node
return(node.render(context))

File "/home/username/root/lib/python2.5/site-packages/django/template/loader_tags.py", line 23, in render
result = self.nodelist.render(context)

File "/home/username/root/lib/python2.5/site-packages/django/template/__init__.py", line 705, in render
bits.append(self.render_node(node, context))

File "/home/username/root/lib/python2.5/site-packages/django/template/__init__.py", line 718, in render_node
return(node.render(context))

File "/home/username/root/lib/python2.5/site-packages/django/template/loader_tags.py", line 23, in render
result = self.nodelist.render(context)

File "/home/username/root/lib/python2.5/site-packages/django/template/__init__.py", line 705, in render
bits.append(self.render_node(node, context))

File "/home/username/root/lib/python2.5/site-packages/django/template/__init__.py", line 718, in render_node
return(node.render(context))

File "/home/username/root/lib/python2.5/site-packages/django/template/defaulttags.py", line 209, in render
return self.nodelist_true.render(context)

File "/home/username/root/lib/python2.5/site-packages/django/template/__init__.py", line 705, in render
bits.append(self.render_node(node, context))

File "/home/username/root/lib/python2.5/site-packages/django/template/__init__.py", line 718, in render_node
return(node.render(context))

File "/home/username/root/lib/python2.5/site-packages/django/template/defaulttags.py", line 176, in render
return self.nodelist_false.render(context)

File "/home/username/root/lib/python2.5/site-packages/django/template/__init__.py", line 705, in render
bits.append(self.render_node(node, context))

File "/home/username/root/lib/python2.5/site-packages/django/template/__init__.py", line 718, in render_node
return(node.render(context))

File "/home/username/root/lib/python2.5/site-packages/django/template/defaulttags.py", line 122, in render
nodelist.append(node.render(context))

File "/home/username/root/lib/python2.5/site-packages/django/template/loader_tags.py", line 96, in render
return self.template.render(context)

File "/home/username/root/lib/python2.5/site-packages/django/template/__init__.py", line 168, in render
return self.nodelist.render(context)

File "/home/username/root/lib/python2.5/site-packages/django/template/__init__.py", line 705, in render
bits.append(self.render_node(node, context))

File "/home/username/root/lib/python2.5/site-packages/django/template/__init__.py", line 718, in render_node
return(node.render(context))

File "/home/username/root/lib/python2.5/site-packages/django/template/defaulttags.py", line 209, in render
return self.nodelist_true.render(context)

File "/home/username/root/lib/python2.5/site-packages/django/template/__init__.py", line 705, in render
bits.append(self.render_node(node, context))

File "/home/username/root/lib/python2.5/site-packages/django/template/__init__.py", line 718, in render_node
return(node.render(context))

File "/home/username/root/lib/python2.5/site-packages/django/template/defaulttags.py", line 100, in render
len_values = len(values)

File "/home/username/root/lib/python2.5/site-packages/django/db/models/query.py", line 105, in __len__
return len(self._get_data())

File "/home/username/root/lib/python2.5/site-packages/django/db/models/query.py", line 470, in _get_data
self._result_cache = list(self.iterator())

File "/home/username/root/lib/python2.5/site-packages/django/db/models/query.py", line 174, in iterator
select, sql, params = self._get_sql_clause()

File "/home/username/root/lib/python2.5/site-packages/django/db/models/query.py", line 484, in _get_sql_clause
joins2, where2, params2 = self._filters.get_sql(opts)

File "/home/username/root/lib/python2.5/site-packages/django/db/models/query.py", line 648, in get_sql
joins2, where2, params2 = val.get_sql(opts)

File "/home/username/root/lib/python2.5/site-packages/django/db/models/query.py", line 699, in get_sql
return parse_lookup(self.kwargs.items(), opts)

File "/home/username/root/lib/python2.5/site-packages/django/db/models/query.py", line 831, in parse_lookup
joins2, where2, params2 = lookup_inner(path, lookup_type, value, opts, opts.db_table, None)

File "/home/username/root/lib/python2.5/site-packages/django/db/models/query.py", line 938, in lookup_inner
raise TypeError, "Cannot resolve keyword '%s' into field" % name

TypeError: Cannot resolve keyword 'entry' into field

<WSGIRequest
GET:<MultiValueDict: {}>,
POST:<MultiValueDict: {}>,
COOKIES:{},
META:{'DOCUMENT_ROOT': '/home/.pocus/username/reiare.net',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT_ENCODING': 'gzip',
'HTTP_CONNECTION': 'close',
'HTTP_HOST': 'www.web-ya.jp',
'HTTP_USER_AGENT': 'Baiduspider+(+http://www.baidu.com/search/spider_jp.html)',
'PATH': '/bin:/usr/bin:/sbin:/usr/sbin',
'PATH_INFO': '/blog/tag/python/',
'PATH_TRANSLATED': '/home/.pocus/username/reiare.net/blog/tag/python/',
'QUERY_STRING': '',
'REDIRECT_SCRIPT_URI': 'http://www.web-ya.jp/blog/tag/python/',
'REDIRECT_SCRIPT_URL': '/blog/tag/python/',
'REDIRECT_STATUS': '200',
'REDIRECT_URL': '/blog/tag/python/',
'REMOTE_ADDR': '122.152.129.7',
'REMOTE_PORT': '55340',
'REQUEST_METHOD': 'GET',
'REQUEST_URI': '/blog/tag/python/',
'SCRIPT_FILENAME': '/home/.pocus/username/reiare.net/dispatch.fcgi',
'SCRIPT_NAME': '/dispatch.fcgi',
'SCRIPT_URI': 'http://www.web-ya.jp/blog/tag/python/',
'SCRIPT_URL': '/blog/tag/python/',
'SERVER_ADDR': '208.113.192.131',
'SERVER_ADMIN': 'webmaster@reiare.net',
'SERVER_NAME': 'www.web-ya.jp',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '',
'SERVER_SOFTWARE': 'Apache/2.0.54 (Unix) PHP/4.4.4 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.4.2',
'wsgi.errors': <flup.server.fcgi_base.OutputStream object at 0x40470bcc>,
'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x40470b8c>,
'wsgi.multiprocess': False,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>

 なんのこっちゃわからなかったので、プロセスを殺したりtouch dispatch.fcgiとかしていたら収まった。本当はちゃんと原因を追求せねばならないのだが……。

ーー追記:'07/04/24--
 本日未明にも約30分程度同様の障害が出ていた様でエラーメールがたくさん送られてきましたが、勝手に復旧した模様。気にしなくていいのかな。